www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/14/03:36:51

Date: Fri, 14 Sep 2001 10:25:41 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Eric Rudd <rudd AT cyberoptics DOT com>
Message-Id: <1438-Fri14Sep2001102541+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <3BA1292B.C593DFD8@cyberoptics.com> (message from Eric Rudd on
Thu, 13 Sep 2001 16:46:19 -0500)
Subject: Re: Heap structure
References: <3BA1292B DOT C593DFD8 AT cyberoptics DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Eric Rudd <rudd AT cyberoptics DOT com>
> Organization: CyberOptics
> Date: Thu, 13 Sep 2001 16:46:19 -0500
> 
> I would like to write a subroutine that walks the heap and checks its
> integrity, so that I can isolate the bug.  Another correspondent to
> c.o.m.d. was interested in writing a heap-checker some time ago, but I
> haven't heard any more about it.

This has been done already for the next DJGPP version.  Check out the
file malloc.c and (the new) files malldbg.c and xmalloc.h from the CVS
(http://www.delorie.com/djgpp/cvs.html), and use them.  If you find
some functionality missing from there, please feel free to add it ;-)

Oh, and check out the new malloc.txh as well: it documents the new
functions and the new features of the old functions.

- Raw text -


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