[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grub_machine_set_prefix, --enable-mm-debug
From: |
Yoshinori K. Okuji |
Subject: |
Re: grub_machine_set_prefix, --enable-mm-debug |
Date: |
Wed, 26 Apr 2006 11:22:03 +0200 |
User-agent: |
KMail/1.8.2 |
On Wednesday 26 April 2006 10:57, Marco Gerards wrote:
> "Yoshinori K. Okuji" <address@hidden> writes:
> > On Wednesday 26 April 2006 01:22, Hollis Blanchard wrote:
> >> Is there a reason not to use the runtime debugging infrastructure we
> >> have? Most of that is "intensive" as well...
> >
> > What do you mean by "the runtime debugging infrastructure"? If you mean
> > grub_dprintf, it is not enough, since you cannot embed file names and
> > line numbers where the functions are called.
>
> IIRC this is being done automatically. Or do I misunderstand
> something?
Yes. My point is that I want to embed such information into where
malloc/realloc/memalign/free is called, but not grub_dprintf is called. If
you use grub_dprintf, you must embed grub_dprintf into so many places
manually. My way does not require such rewriting.
Okuji