expected behavior of GNU/Linux gcore and corefiles

Andrew Cagney ac131313@redhat.com
Sun Mar 2 20:15:00 GMT 2003


Dig dig, this has come up before.  Up until this change:

> 2002-01-04  Daniel Jacobowitz  <drow@mvista.com>
> 
>         * thread-db.c (thread_db_new_objfile): Do not enable thread_db
>         for core files.
> 

GDB was barfing when trying to load the thread DB.  Looking back through 
that thread, part of the problem appears to have stemed from GDB 
thinking that the GNU/Linux core file contained threads instead of LWPs :-(

Andrew

http://sources.redhat.com/ml/gdb-patches/2002-01/msg00017.html
http://sources.redhat.com/ml/gdb-patches/2001-12/msg00345.html



More information about the Gdb mailing list