summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/binutils/gdb/i386/freebsd-nat.c4
-rw-r--r--gnu/usr.bin/gdb/gdb/freebsd-nat.c4
-rw-r--r--sys/amd64/amd64/machdep.c6
-rw-r--r--sys/i386/i386/machdep.c6
4 files changed, 10 insertions, 10 deletions
diff --git a/gnu/usr.bin/binutils/gdb/i386/freebsd-nat.c b/gnu/usr.bin/binutils/gdb/i386/freebsd-nat.c
index 15c9c08..cdbb60a 100644
--- a/gnu/usr.bin/binutils/gdb/i386/freebsd-nat.c
+++ b/gnu/usr.bin/binutils/gdb/i386/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).
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).
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index a0fcd58..fe858cc 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.190 1996/05/10 19:28:44 wollman Exp $
+ * $Id: machdep.c,v 1.191 1996/05/18 03:36:07 dyson Exp $
*/
#include "npx.h"
@@ -937,7 +937,7 @@ boot(howto)
if (howto & RB_DUMP) {
if (!cold) {
savectx(&dumppcb);
- dumppcb.pcb_ptd = rcr3();
+ dumppcb.pcb_cr3 = rcr3();
dumpsys();
}
@@ -1646,7 +1646,7 @@ init386(first)
/* setup proc 0's pcb */
proc0.p_addr->u_pcb.pcb_flags = 0;
- proc0.p_addr->u_pcb.pcb_ptd = IdlePTD;
+ proc0.p_addr->u_pcb.pcb_cr3 = IdlePTD;
}
/*
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index a0fcd58..fe858cc 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.190 1996/05/10 19:28:44 wollman Exp $
+ * $Id: machdep.c,v 1.191 1996/05/18 03:36:07 dyson Exp $
*/
#include "npx.h"
@@ -937,7 +937,7 @@ boot(howto)
if (howto & RB_DUMP) {
if (!cold) {
savectx(&dumppcb);
- dumppcb.pcb_ptd = rcr3();
+ dumppcb.pcb_cr3 = rcr3();
dumpsys();
}
@@ -1646,7 +1646,7 @@ init386(first)
/* setup proc 0's pcb */
proc0.p_addr->u_pcb.pcb_flags = 0;
- proc0.p_addr->u_pcb.pcb_ptd = IdlePTD;
+ proc0.p_addr->u_pcb.pcb_cr3 = IdlePTD;
}
/*
OpenPOWER on IntegriCloud