gdb was unable to obtain backtraces of pure threads. Change the 'proc'
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 10 Mar 2004 23:26:45 +0000 (23:26 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 10 Mar 2004 23:26:45 +0000 (23:26 +0000)
commitb9c4a728f7c873666c609027aa4eca11fdb4aac6
tree45dc352d792e5ebc0bc0924e547b8be838801b7c
parentadfb836ff3f2fb8b34f4a3edb7687131d54d75ec
gdb was unable to obtain backtraces of pure threads.  Change the 'proc'
command to take either a pid or a thread pointer (no longer a proc pointer),
and add hacks to calculate the stack pointer and frame pointer for switched
out pure threads (which do not use the PCB structure).
gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c