Howdy,

Given a function x with the following organization:

int func(char *foo)
{
     int a,b,c;
     return 1;
}

Is there an easy way to attach to a process and determine the address of 
the variable b? I am aware that mdb is not a source level debugger, but I 
thought I would ask in case there was a way to snag this info (I am 
currently using visual inspection of the ::dis output to find the info I 
need).

Thanks for any insight,
- Ryan
--
UNIX Administrator
http://daemons.net/~matty

Reply via email to