Problem debugging statically linked c++ program with GDB 6.0

Holger Sesterhenn
Fri Apr 2 14:48:00 GMT 2004


> 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!

Best Regards,

Holger Sesterhenn

More information about the Gdb mailing list