freebsd-dev/gnu/usr.bin/gdb/libgdb
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
..
fbsd-threads.c When grabbing registers for an lwp, fake the inferior's pid using the 2005-01-11 14:53:16 +00:00
Makefile Source changes to allow building a cross-debugger. Move solib.c and 2004-12-05 06:59:01 +00:00