STL debugging with GDB 4.18/egcs 1.1
Daniel Berlin
dberlin@msn.com
Thu May 27 13:23:00 GMT 1999
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.
More information about the Gdb
mailing list