www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/12/10/17:43:44

Date: Sun, 8 Dec 1996 19:48:28 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Robert Hoehne <robert DOT hoehne AT mathematik DOT tu-chemnitz DOT de>
cc: DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: Re: Bad return value when debugging
In-Reply-To: <Pine.HPP.3.95.961205194800.2153C-100000@newton.mathematik.tu-chemnitz.de>
Message-ID: <Pine.SUN.3.91.961208193905.3884B-100000@is>
MIME-Version: 1.0

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?

- Raw text -


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