Problem debugging statically linked c++ program with GDB 6.0

Bob Rossi
Fri Apr 2 15:16:00 GMT 2004

On Fri, Apr 02, 2004 at 04:47:55PM +0200, Holger Sesterhenn wrote:
> Hi,
> > Because of this, I have added the snippet below to my .gdbinit file
> [...]
> > This seems to work ok, even though it's not the perfect solution.
> > For some reason calling the length() function never seems to crash for
> > me.
> Thank you for the quick response but unfortunately this does not work
> for me either.
> Looks like there is a general problem calling methods. 'call a.c_str()'
> crashes, too!

Interesting, why doesn't my solution work?

Bob Rossi

More information about the Gdb mailing list