Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1E5ruo-0002rF-9V for mharc-grub-devel@gnu.org; Thu, 18 Aug 2005 17:27:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E5ruD-0002fW-FL for grub-devel@gnu.org; Thu, 18 Aug 2005 17:26:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E5ru6-0002dF-Jp for grub-devel@gnu.org; Thu, 18 Aug 2005 17:26:27 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E5ru6-0002bl-Aa for grub-devel@gnu.org; Thu, 18 Aug 2005 17:26:26 -0400 Received: from [130.104.239.239] (helo=sprbodj.inma.ucl.ac.be) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E5s3e-0005VL-NG for grub-devel@gnu.org; Thu, 18 Aug 2005 17:36:18 -0400 Received: from [192.168.0.20] (unknown [213.213.238.70]) by sprbodj.inma.ucl.ac.be (Postfix) with ESMTP id 4BF3619C80F2 for ; Thu, 18 Aug 2005 23:19:42 +0200 (CEST) Message-ID: <4304FB6C.1020600@inma.ucl.ac.be> Date: Thu, 18 Aug 2005 23:19:40 +0200 From: Vincent Guffens User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) X-Accept-Language: en MIME-Version: 1.0 To: The development of GRUB 2 References: <4304EE23.7010206@inma.ucl.ac.be> <87zmrf7yji.fsf@student.han.nl> In-Reply-To: <87zmrf7yji.fsf@student.han.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-ucl-inma-MailScanner-Information: Please contact the ISP for more information X-ucl-inma-MailScanner: Found to be clean X-MailScanner-From: guffens@inma.ucl.ac.be Subject: Re: backtrace support 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: Thu, 18 Aug 2005 21:26:38 -0000 Marco Gerards wrote: > Vincent Guffens writes: > > Hi Vincent, > > >>After having searched for the reason of the unaligned pointer caused >>by the nested functions bug, I thought that it could be interesting to >>have a backtrace in grub. It would be triggered in grub_fatal and >>would print the last few function calls that triggered the problem. > > > Neat! I would like to have this in GRUB2 for debugging. If Okuji > likes it too and you can send in a Changelog entry as well, I will > proofread the patch so it can be applied ASAP. cool ! I will wait a little bit for your comments and those from Okuji as there are a few changes I made that I'm not sure if they are very clean, especially those in genmk.rb. I used some "cat config.h" and maybe there are some better ways. Also, I did not mention that the debuging symbol list is somehow redundant with the already existing symbol list but that way, it does not modify anything if the backtrace support is not compiled in. Should the Changelog entries be included in the patch or is it generated with the cvs log and it should then be sent in the mail body ?