From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FYgDp-0005z2-S9 for mharc-grub-devel@gnu.org; Wed, 26 Apr 2006 05:22:09 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYgDn-0005yY-Uq for grub-devel@gnu.org; Wed, 26 Apr 2006 05:22:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYgDm-0005xo-8p for grub-devel@gnu.org; Wed, 26 Apr 2006 05:22:07 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYgDm-0005xl-0E for grub-devel@gnu.org; Wed, 26 Apr 2006 05:22:06 -0400 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FYgGQ-0003cW-DV for grub-devel@gnu.org; Wed, 26 Apr 2006 05:24:50 -0400 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id 43A333C822E29 for ; Wed, 26 Apr 2006 12:41:21 +0200 (CEST) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 693B33C822E28 for ; Wed, 26 Apr 2006 12:41:20 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Wed, 26 Apr 2006 11:22:03 +0200 User-Agent: KMail/1.8.2 References: <200604261049.23173.okuji@gnu.org> <87psj4ogsw.fsf@xs4all.nl> In-Reply-To: <87psj4ogsw.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604261122.03442.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.355850, version=0.17.2 Subject: Re: grub_machine_set_prefix, --enable-mm-debug X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 09:22:08 -0000 On Wednesday 26 April 2006 10:57, Marco Gerards wrote: > "Yoshinori K. Okuji" 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