[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
RE: bin/30756: gdb not usable for live debugging of threaded programs
The following reply was made to PR bin/30756; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost,
Thomas Klausner <wiz%NetBSD.org@localhost>
Subject: RE: bin/30756: gdb not usable for live debugging of threaded programs
Date: Mon, 19 Apr 2010 15:24:09 -0400
On Apr 19, 7:05pm, Paul_Koning%Dell.com@localhost ("Paul Koning") wrote:
-- Subject: RE: bin/30756: gdb not usable for live debugging of threaded prog
| The fix for kern/43128 adds the missing kernel bits for GDB to support
| threaded program debugging. The other part needed is changes to GDB
| Attached is a patch that does this, tested on i386 against the GDB 6.5
| sources that are in NetBSD 5.0. I intend to submit this to the GDB
| project as well but was asked to provide a patch against the GDB rev
| that is currently in NetBSD.
| There is a patched mipsnbsd-nat.c as well as common and i386 specific
| files, but I did not make the build file changes for that so that file
| is untested. I also did not look at any other platforms. The changes
| should be straightforward using the mips and i386 examples as the
| starting point, but since I have no way to test them I did not want to
| attempt changes for any other targets.
| Comments appreciated.
Looks good to me.
Main Index |
Thread Index |