This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Problem debugging statically linked c++ program with GDB 6.0
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