freebsd-dev/gnu/usr.bin/binutils/gdb/i386
Bruce Evans 04822660a1 Removed `kstack' and associated mistranslations in kvtophys().
Correct translations would have been null.  However, kstack was
the top of the kernel stack instead of the base of the kernel stack
like it was when the kernel exported it, so the area above the
kernel stack was mistranslated and the kernel stack was not
translated.  This bug was depended on to compensate for the wrong
value of kstack - to read the pcb, instead of just using the address
of the pcb, we used the mistranslated address of kstack, which
happened to be the same (curpcb = kstack - 0x2000).

This area is simpler than it used to be now that the kernel stack
address is per-process.  The code still seems to be more complicated
than necessary - the `found_pcb == 0' case seems to be unused.
1998-01-19 14:27:41 +00:00
..
freebsd-nat.c Implemented "info float" for core files. 1997-11-23 09:18:18 +00:00
kvm-fbsd.c Removed `kstack' and associated mistranslations in kvtophys(). 1998-01-19 14:27:41 +00:00
nm.h Attempt to patch up gdb so that it has a chance of working with the new 1997-04-07 08:08:20 +00:00
tm.h Don't override FRAME_CHAIN(). If the current frame is valid, then 1998-01-18 12:35:48 +00:00
version.c changes required in the gdb directory for making gdb 1997-01-15 22:37:09 +00:00
xm.h changes required in the gdb directory for making gdb 1997-01-15 22:37:09 +00:00