Mail Archives: djgpp-workers/2002/03/04/08:32:50
Eli Zaretskii wrote:
>
> On Sun, 3 Mar 2002, CBFalconer wrote:
>
> > I suspect the present debuggers only need the sz and data
> > offsets. data and ohead will normally be the same, unless guard
> > areas are above the data area.
>
> That depends on what you include in the ``debuggers'' notion. Some
> facilities offered by malldbg.c allow to watch all allocations and
> deallocations, print reports about aloocated and free memory, etc. If
> your interface allows to do similar things, it would be great.
It allows full access to the quiescent status, including the free
memory chains. From any allocated memory it can follow the chains
to all contiguous memory (which are broken by any unexpected
sbrk). It does NOT allow inserting 'callbacks' in the malloc,
free, realloc calls, although I can conceive of that being
feasible. Any such would involve additional overhead. The
existing stuff is purely passive.
--
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net)
Available for consulting/temporary embedded and systems.
(Remove "XXXX" from reply address. yahoo works unmodified)
mailto:uce AT ftc DOT gov (for spambots to harvest)
- Raw text -