Question in regards to debugging programs that use libstdc++-v3...(exceptions & gdb)

Ulrich Drepper drepper@redhat.com
Tue Jun 27 09:24:00 GMT 2000


"George T. Talbot" <george@moberg.com> writes:

> (gdb) bt
> #0  0x4029076e in pthread_handle_sigrestart (sig=32, ctx={gs = 0, __gsh = 0,
>       fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 0,
>       edi = 3202285892, esi = 1078558464, ebp = 3202285828, esp = 3202285800,
>       ebx = 3202285892, edx = 3202350760, ecx = 8, eax = 4294967292,

This normally means the wrong thread is shown.  Do you have a very
recent gdb with thread support (those using libthread_db)?  Gdb 5
should work.  Of course you also need a recent system.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libstdc++ mailing list