delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/17/02:58:10

Date: Thu, 17 Mar 1994 08:40:16 +0100
From: terra AT diku DOT dk
To: dj AT ctron DOT com (DJ Delorie)
Subject: patch: breakpoints triggered by debugger
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

Hello!

This is a patch to "djgpp\go32\extdebug.c".

Applying this patch will allow my full screen debugger to really
use data read breakpoints.

The patch makes sure that the debugger itself is run with no 
breakpoints set.

Please indicate whether you will install it in the standard
distribution.

Morten Welinder
terra AT diku DOT dk


*** sec\extdebug.c	Sat Feb 19 18:10:24 1994
--- extdebug.c	Wed Mar 16 18:17:40 1994
***************
*** 270,275 ****
--- 270,276 ----
        if (use_DPMI)
          clear_break_DPMI();
        memcpy(ext_debug_info.dr, dr, 32);
+       dr[7] = 0;
        if(event_queue != NULL) {			/* disable events */
          old_enable = event_queue->evq_enable;
          event_queue->evq_enable = 0;

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019