Mail Archives: djgpp-workers/2002/03/05/00:45:52
On Mon, 4 Mar 2002, CBFalconer wrote:
> > The calls to such hooks could be via function pointers, only if they
> > are non-NULL. If they are set to NULL by default, the overhead is
> > just a simple test.
>
> It is not necessary IMO. Any such can be done by inserting and
> calling custom routines, without worrying about interfering with
> initialization etc.
Features such as those in malldbg.c cannot be implemented that way, since
they are meant to be used by ordinary users, not source code hackers.
For example, how do you implement a feature that shows a report of
allocated and free blocks?
- Raw text -