delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/12/30/15:23:55

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <9912302004.AA15575@clio.rice.edu>
Subject: Re: GDB, DOS 6.22, CWSDPMI and Interrupts
To: salvador AT inti DOT gov DOT ar
Date: Thu, 30 Dec 1999 14:04:23 -0600 (CST)
Cc: eliz AT is DOT elta DOT co DOT il, djgpp-workers AT delorie DOT com
In-Reply-To: <386BB485.CF8B011@inti.gov.ar> from "salvador" at Dec 30, 99 04:37:41 pm
X-Mailer: ELM [version 2.4 PL20]
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> I don't know anything about the dbgcom.c code, so perhaps that's imposible: What
> about saving the state of the interrupts flag at the beginning of the hook and
> restoring it before IRET? is that posible?

That is what the original intent of some of that code is - to have the IRET 
instruction restore the state.  Since CWSDPMI should be able to restore the
flag since it's at IOPL=3, maybe it's a CWSDPMI bug, maybe a logic bug in
dbgcom.c.

- Raw text -


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