I debug a small application with mdb, I wanna watch the address and value of a 
variable.
The define of this variable is:
char a_ch[100];
I have added -g flag at build time.
But a mdb error occur:
# mdb -p 1321
> a_ch/W
mdb: failed to dereference symbol: unknown symbol name

Another error is:
> ::ps
mdb: invalid command '::ps': unknown dcmd name

Could u help me please, thanks!
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to