value of local variable stored in register
Jim Blandy
jimb@red-bean.com
Tue Feb 5 19:42:00 GMT 2008
On Feb 4, 2008 12:31 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> (gdb) info address c
>
> This will show where the variable c is stored. If it says it's in a
> register, print the value of that register.
The output of 'info address' isn't very helpful if c has a non-trivial
DWARF location expression. I've been intending to fix this for quite
some time now, but have never gotten around to it. :(
More information about the Gdb
mailing list