summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gdb
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-06-08 11:03:19 +0000
committerbde <bde@FreeBSD.org>1996-06-08 11:03:19 +0000
commit1a917672fbe4e5fa2aabb88ed66e0d54c9cb4f02 (patch)
treec5c3afe6bdce3dfbb19588158ca8776693313233 /gnu/usr.bin/gdb
parentfb2da8f1bf40deec102194a8ad9a8afe01147e37 (diff)
downloadFreeBSD-src-1a917672fbe4e5fa2aabb88ed66e0d54c9cb4f02.zip
FreeBSD-src-1a917672fbe4e5fa2aabb88ed66e0d54c9cb4f02.tar.gz
Stop using the alias `pcb_ptd' for `pcb_tcc.tss_cr3'. Use the (existing)
alias `pcb_cr3' instead. That is still one alias too many, but is convenient for me since I've replaced the tss in the pcb by a few scalar variables in the pcb.
Diffstat (limited to 'gnu/usr.bin/gdb')
-rw-r--r--gnu/usr.bin/gdb/gdb/freebsd-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/gdb/gdb/freebsd-nat.c b/gnu/usr.bin/gdb/gdb/freebsd-nat.c
index 15c9c08..cdbb60a 100644
--- a/gnu/usr.bin/gdb/gdb/freebsd-nat.c
+++ b/gnu/usr.bin/gdb/gdb/freebsd-nat.c
@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: freebsd-nat.c,v 1.8 1996/05/02 09:42:45 phk Exp $
+ $Id: freebsd-nat.c,v 1.9 1996/05/02 13:08:51 phk Exp $
*/
#include <sys/types.h>
@@ -521,7 +521,7 @@ CORE_ADDR addr;
PTD = kvtophys(fd, ksym_lookup("PTD"));
current_ptd = PTD;
} else
- current_ptd = pcb.pcb_ptd;
+ current_ptd = pcb.pcb_cr3;
/*
* Read the first-level page table (ptd).
OpenPOWER on IntegriCloud