www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/12/30/14:53:36

Sender: root AT delorie DOT com
Message-ID: <386BB485.CF8B011@inti.gov.ar>
Date: Thu, 30 Dec 1999 16:37:41 -0300
From: salvador <salvador AT inti DOT gov DOT ar>
Organization: INTI
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.38 i686)
X-Accept-Language: es-AR, en, es
MIME-Version: 1.0
To: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
CC: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com
Subject: Re: GDB, DOS 6.22, CWSDPMI and Interrupts
References: <9912301605 DOT AA15338 AT clio DOT rice DOT edu>
Reply-To: djgpp-workers AT delorie DOT com

Charles Sandmann wrote:

> > Until the problem is solved in dbgcom.c, a work-around would be to
> > insert __asm__("sti") at the beginning of `main' and after each
>
> Actually, I think a better fix would be to modify DBGCOM to always
> enable interrupts on the stack before the IRET ...  That's probably
> not exactly right either but it's probably a lot closer!

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?
Currently I added some enable() in my code to be able to debug it while using
CWSDPMI.

SET

--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
                    set AT ieee DOT org set-soft AT bigfoot DOT com
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013



- Raw text -


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