summaryrefslogtreecommitdiff
path: root/gdb/go32-nat.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-07-29 08:06:28 +0000
committerEli Zaretskii <eliz@gnu.org>2001-07-29 08:06:28 +0000
commitc2552179d6c8c5f2ceca4a772d88da152a5f6e64 (patch)
tree52c50731bd87e12b8992536c2510b65dc32fc63a /gdb/go32-nat.c
parent20e331f046b7b4729e286a79d074098f84b263cc (diff)
downloadgdb-c2552179d6c8c5f2ceca4a772d88da152a5f6e64.tar.gz
* go32-nat.c (get_cr3): Temporary disable support for page tables
in UMBs, as it is incomplete.
Diffstat (limited to 'gdb/go32-nat.c')
-rw-r--r--gdb/go32-nat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
index b2828ebaf44..2cf3e29379f 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 fully 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;