Skip to content

Commit 8ace82c

Browse files
debugx: save/restore exc 0d/0e on entry/exit debugger
1 parent bad967f commit 8ace82c

File tree

3 files changed

+192
-128
lines changed

3 files changed

+192
-128
lines changed

DEBUG.TXT

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,10 +794,15 @@
794794
Sometimes Q may not work to exit protected-mode, then one can try
795795
to forcably terminate the debuggee with the command variant QQ.
796796

797-
If a second video adapter is available, DEBUGX may be told to display
797+
If a second video adapter is available, DEBUGX may be told to display
798798
its output to that device via the /2 cmdline option. This gives DEBUGX
799799
the ability to debug graphics applications.
800800

801+
The HX PE loader DPMILD32 may set pages of code sections to readonly
802+
if certain conditions are met. This reliably prevents DEBUGX from setting
803+
its breakpoints. There should exist an option to make DPMILD32 not modify
804+
those page attributes - see the docs supplied with DPMILD32 for details.
805+
801806

802807
9. Installing and Initializing DebugB
803808
-------------------------------------

HISTORY.TXT

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@
261261
intercepted protected-mode int 21h and refuses to quit.
262262
- another variant - DEBUGXV - may be created. It allows to flip video
263263
screen between debugger and debuggee.
264-
2.00 [30 November 2022]
264+
2.00 [3 December 2022]
265265
- ensure the correct video page is used when debugger has to display
266266
something if the InDOS flag is set AND page swapping is active.
267267
- DEBUGX: hook into protected-mode debug interface Int 41h and make
@@ -292,3 +292,4 @@
292292
converted to selectors during initial switch to protected-mode.
293293
- DEBUGX fix, m cmd: '$' qualifier for the source address segment was
294294
rejected.
295+
- DEBUGX: exceptions 0dh/0eh are set/reset on debugger entry/exit.

0 commit comments

Comments
 (0)