This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: breakpoint for accessing memory location
> Date: Tue, 24 Oct 2006 08:57:09 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Jim Blandy <jimb@codesourcery.com>, rodney.bates@wichita.edu,
> gdb@sourceware.org
> >
> > Does the debug info tell us enough to do that?
>
> Sometimes, but not reliably.
If so, I don't think GDB can do better than we do now, since only the
compiler knows the true scope of a variable. Right?
> Another problem with watchpoints is that we don't support any kind of
> location lists for local variables
Again, does the debug info include such location lists?