This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Incorrect GDB backtrace for pthreads
- From: Daniel Jacobowitz <drow at false dot org>
- To: zoka <zoran at microtrol dot com dot au>
- Cc: gdb at sourceware dot org
- Date: Thu, 13 Sep 2007 10:58:54 -0400
- Subject: Re: Incorrect GDB backtrace for pthreads
- References: <12654909.post@talk.nabble.com>
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