Mail Archives: djgpp-workers/1999/12/30/14:53:36
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 -