This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Debugging classes.
On Fri, 1 Oct 2010 15:07:05 -0300
John Coppens <john@jcoppens.com> wrote:
> Cannot access memory at address 0xb7
>
Gdb has problems visualizing values with optimizing on (-O2 in my
case). Solutions:
- Switch optimizing off, or
- Use a previous 'this', when it was still valid
Thanks to the #gdb IRC channel, I received suggestions that gdb 4.5.x
has some of these problems solved.
Cheers,
John