delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/04/02/00:26:47

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <9804020521.AA13706@clio.rice.edu>
Subject: Re: Auto-symified traceback
To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
Date: Wed, 1 Apr 1998 23:21:03 -0600 (CST)
Cc: george DOT foot AT merton DOT oxford DOT ac DOT uk, Martin DOT Stromberg AT lu DOT erisoft DOT se,
djgpp-workers AT delorie DOT com
In-Reply-To: <Pine.SUN.3.91.980401111252.2919E-100000@is> from "Eli Zaretskii" at Apr 1, 98 11:17:37 am

> Reading them is not the problem.  The real problem is how to recreate the 
> memory layout which was in effect when the program crashed.  Charles once 
> explained that this might be very hard in some cases.  Charles, could you 
> please elaborate?

I'd really rather not :-)

In a nutshell, we can do it reliably with unixy sbrk(), sometimes with
non-move sbrk().

If memory were not contiguous you could write an error message and/or do a
partial dump, which might or might not be useful.

And never until someone wants it bad enough to make it happen.

- Raw text -


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