Debugging classes.

John Coppens john@jcoppens.com
Fri Oct 1 19:28:00 GMT 2010


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



More information about the Gdb mailing list