Subject: Re: bin/30143: gdb does not work with threaded programs
To: None <nathanw@netbsd.org, gnats-admin@netbsd.org,>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: netbsd-bugs
Date: 05/05/2005 21:29:01
The following reply was made to PR kern/30143; it has been noted by GNATS.

From: "Nathan J. Williams" <nathanw@wasabisystems.com>
To: gnats-bugs@NetBSD.org
Cc: armihu@utu.fi
Subject: Re: bin/30143: gdb does not work with threaded programs
Date: 05 May 2005 17:28:22 -0400

 armihu@utu.fi writes:
 
 > >Description:
 > gdb does not work with threaded programs. At least trying to get a
 > stack trace from a core dump does not work, but fails with something
 > like this:
 > 
 > #0  0x080486fe in test (x=Cannot access memory at address 0xbfbfe810
 
 From looking at this on my system, I think this is a problem with the
 core-dumping code. Can you send me the output of "ls -l test.core" and
 "readelf -a test.core"? I believe the offsets given in the header are
 larget than the file itself, and I am investigating why.
 
         - Nathan