freebsd-nq/gnu/usr.bin/gdb
Peter Edwards ad93bc4a36 When grabbing registers for an lwp, fake the inferior's pid using the
lwp ID before invoking the underlying target operation.

For corefiles, we rely on gdb internals to do this, and it uses the
pid as an index, rather than the lwpid, so previously, backtraces
for multithreaded core files wasn't working correctly. For processes,
we currently use ptrace directly, so fixup that code to also use
the pid directly.

Discussed With: marcel, davidxu
MFC After: 4 days
2005-01-11 14:53:16 +00:00
..
arch Source changes to allow building a cross-debugger. Move solib.c and 2004-12-05 06:59:01 +00:00
doc Update to readline 5.0 2004-10-18 10:13:24 +00:00
gdb Makefile (only) changes to allow building a cross debugger. 2004-11-30 05:12:37 +00:00
gdbtui Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
kgdb Makefile (only) changes to allow building a cross debugger. 2004-11-30 05:12:37 +00:00
libgdb When grabbing registers for an lwp, fake the inferior's pid using the 2005-01-11 14:53:16 +00:00
Makefile Hook kgdb into the build. 2004-07-25 05:32:50 +00:00
Makefile.inc Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00