Date: Sun, 8 Dec 1996 19:48:28 +0200 (IST) From: Eli Zaretskii To: Robert Hoehne cc: DJGPP workers Subject: Re: Bad return value when debugging In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 5 Dec 1996, Robert Hoehne wrote: > Ok. I have looked in the two files and think the problem is when the > debuggee exits, this is hooked in dbgcom.c. Then there is a call to > (Oh please forgive me, I have not the exact functions here) > __djgpp_save_exception_registers(). Until this point I can follow, > but after a look in the assembler file (exceptn.s) I gave up, > becuase I couldn't understand it in all details, I don't consider myself much of an assembly guru, but it seems quite straightforward: it just copies the registers to `exception_state', or so it seems. What is the value that ends up in `a_tss.tss_eax' in `go32_wait' (on go32targ.c) when the child exits?