This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Incorrect GDB backtrace for pthreads


On Thu, Sep 13, 2007 at 07:39:05AM -0700, zoka wrote:
> Starting program: /home/zoka/gdb/threads
> Failed to read a valid object file image from memory.

> #0  0xffffe410 in ?? ()                          # backtrace incorrect

This is a kernel bug.

> (gdb) info threads                                # GDB knows no threads ?!

It sounds like either shared library debugging doesn't work on your
system, or thread debugging doesn't.  ld.so and libpthread.so are
probably stripped.  They need a symbol table for GDB to work.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]