This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug corefiles/8210] Linux core files should use linux-thread-db.c
- From: "pedro at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 6 Aug 2010 14:34:11 -0000
- Subject: [Bug corefiles/8210] Linux core files should use linux-thread-db.c
- References: <20030302031800.8210.ac131313@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From pedro at codesourcery dot com 2010-08-06 14:34 -------
I played with this last weekend, wrote couple of patches, and got it working. I
needed to tweak bfd to make it possible to get at the pid of the core (well, the
pid of the process core was dumped from), as libthread_db nowadays ignores
threads whose process id doesn't match ps_getpid, and gdb is currently using
the fake pid of 1 on linux cores, which obviously doesn't match. I'll post
the patches soon.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at sourceware dot|pedro at codesourcery dot
|org |com
http://sourceware.org/bugzilla/show_bug.cgi?id=8210
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.