Mail Archives: djgpp-workers/2002/10/23/03:07:53
Eli Zaretskii wrote:
> On Tue, 22 Oct 2002, CBFalconer wrote:
>
> > I still have to go for the .h files, nor have I looked for
> > malloc.txh.
>
> I'd really recommend to read malloc.txh before anything else, it
> will probably make many things clear.
>
> > Another useful thing would be an example of a
> > debugging package using all this.
>
> malldbg.c is such an example.
>
... snip ...
> >
> > How is that different from an external intercept (see the sample
> > xmalloc call above)? It is perfectly free to collect statistics
> > on the count of calls and the count of NULL returns.
>
> Maybe it isn't, I don't know. But the internal hooks are inherently
> more flexible since they can allow access to internal variables of
> the functions they hook.
Offhand I can't think of a single internal variable I would want
to expose, nor of any use for such exposure.
--
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!
- Raw text -