This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
RE: STL debugging with GDB 4.18/egcs 1.1
- To: "Andi Kleen" <ak@muc.de>,<gdb@sourceware.cygnus.com>
- Subject: RE: STL debugging with GDB 4.18/egcs 1.1
- From: "Daniel Berlin" <dberlin@msn.com>
- Date: Thu, 27 May 1999 16:26:41 -0400
Either a fixed bug in EGCS that hasn't made it into gdb (I know that quite a
few mangling bugs have been fixed in the past few months) because of
libiberty synchronization, or the reverse.
1.If it was a mangling bug that has since been fixed, you need a newer egcs.
2. If it is a demangling bug, you need to link with a newer libiberty.
It's more likely 1 than 2.
>
>
>
> I'm trying to debug a program that uses the STL with gdb
> 4.18/egcs 1.1.2-12
> on a RedHat 6.0 system. Unfortunately gdb does not seem to be able
> to decipher the STL identifiers:
>
> (gdb) p this->old[nr]
> Internal: Cannot demangle mangled name
> `__vc__Ct6vector2ZQ24Proc3valZt24__default_alloc_template2b1i0Ui'.
>
>
> Is there any way to solve that problem?
>
>
> Thanks,
>
> -Andi
>
>
>
> --
> This is like TV. I don't like TV.