This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: value of local variable stored in register
On Feb 5, 2008 8:17 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> > (gdb) info address x
> > Symbol "x" is a variable with complex or multiple locations (DWARF2).
>
> That's a bad misfeature. How about displaying all the possible
> locations, if we cannot say which one is used at the time the command
> is issued?
I agree. Yes, that's reasonable. It entails filling in
loclist_describe_location and locexpr_describe_location.