From a3b9cbb3390a75eb4f190cd4133c0efa025b91af Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 29 Jul 2001 08:06:28 +0000 Subject: [PATCH] * go32-nat.c (get_cr3): Temporary disable support for page tables in UMBs, as it is incomplete. --- gdb/ChangeLog | 3 +++ gdb/go32-nat.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0c59dbe3468..cc048667a36 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2001-07-29 Eli Zaretskii + * 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..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; -- 2.30.2