summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-07-29 08:21:32 +0000
committerEli Zaretskii <eliz@gnu.org>2001-07-29 08:21:32 +0000
commita3a6e2924f196b8c8342dff3a679b8689c45afe0 (patch)
treeb9975c5630b898ebd19149ef94cebfbc7b75c4a1
parent22b089e625f66921a8199a117007c8c712519037 (diff)
downloadgdb-a3a6e2924f196b8c8342dff3a679b8689c45afe0.tar.gz
* go32-nat.c (get_cr3): Temporary disable support for page tables
in UMBs, as it is incomplete.
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/go32-nat.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 741377a1387..513c026fc03 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2001-07-29 Eli Zaretskii <eliz@is.elta.co.il>
+ * go32-nat.c (get_cr3): Temporary disable support for page tables
+ in UMBs, as it is incomplete.
+
Support for stepping through longjmp in DJGPP programs:
* config/i386/tm-go32.h (JB_ELEMENT_SIZE, JB_PC): New macros.
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
index b2828ebaf44..c801c07c2e4 100644
--- a/gdb/go32-nat.c
+++ b/gdb/go32-nat.c
@@ -1703,6 +1703,7 @@ get_cr3 (void)
cr3 = _farnspeekl (taskbase + 0x1c) & ~0xfff;
if (cr3 > 0xfffff)
{
+#if 0 /* not fullly supported yet */
/* The Page Directory is in UMBs. In that case, CWSDPMI puts
the first Page Table right below the Page Directory. Thus,
the first Page Table's entry for its own address and the Page
@@ -1723,6 +1724,7 @@ get_cr3 (void)
break;
}
}
+#endif
if (cr3 > 0xfffff)
cr3 = 0;