Browse Source

* go32-nat.c (get_cr3): Temporary disable support for page tables

in UMBs, as it is incomplete.
binutils-2_12-branch
Eli Zaretskii 25 years ago
parent
commit
a3b9cbb339
  1. 3
      gdb/ChangeLog
  2. 2
      gdb/go32-nat.c

3
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.

2
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;

Loading…
Cancel
Save