Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KQO6r-0005gn-Fs for mharc-grub-devel@gnu.org; Tue, 05 Aug 2008 11:06:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQO6p-0005eN-3V for grub-devel@gnu.org; Tue, 05 Aug 2008 11:05:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQO6n-0005bK-Fx for grub-devel@gnu.org; Tue, 05 Aug 2008 11:05:58 -0400 Received: from [199.232.76.173] (port=38951 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQO6m-0005bA-UM for grub-devel@gnu.org; Tue, 05 Aug 2008 11:05:57 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:51848) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQO6m-0004Z8-EP for grub-devel@gnu.org; Tue, 05 Aug 2008 11:05:56 -0400 Received: from [85.180.54.43] (e180054043.adsl.alicedsl.de [85.180.54.43]) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis) id 0ML21M-1KQO6g1Fua-0000t8; Tue, 05 Aug 2008 17:05:53 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: <20080805074229.3e5862c5@gibibit.com> References: <20080805074229.3e5862c5@gibibit.com> Content-Type: text/plain Date: Tue, 05 Aug 2008 17:05:57 +0200 Message-Id: <1217948757.20298.20.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/MCRdq9XeOr784fa1iDKf2r1eA/DsjHcIdN5k WeTQWrbBQwe2pmU+uSMQ1IwUYP2XNXvGyg5vTgQjPO/Vlw1meh chhxHFvKyMSA6jwlZjeaX2gaWm7zPRY X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) Subject: Re: [PATCH][RFC] gdb support in GRUB build system 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: Tue, 05 Aug 2008 15:06:00 -0000 Am Dienstag, den 05.08.2008, 07:42 -0700 schrieb Colin D Bennett: > I following the GRUB 2 gdb debugging instructions this week and I was > successful in using QEMU and gdb to debug GRUB. I wondered if we could > make this a bit easier -- primarily by making GRUB's build system > generate the '.elf' files with full symbol info without requiring a > patch. Attached is a patch against GRUB 2 trunk (this is the one > from the GRUB 2 debugging guide, just fixed to apply on the latest > GRUB sources). > Well I already brought this wiki page up on here, but nobody really cared about updating this. I even did the same as you updateing that patch to current SVN ;) See here: http://lists.gnu.org/archive/html/grub-devel/2008-07/msg00585.html http://lists.gnu.org/archive/html/grub-devel/2008-08/msg00037.html > Let me know what you all think. Thanks! Thanks that at least you try to that GDB + Qemu stuff easier. Even with the patches from Lubomir from May I wasn't able to get the symbols of the loaded modules. I have used that load_modules function which is in the new gdb-macro patch but it didn't work. And the gdb-stub didn't apply and I was unsure if it was safe to just adjust the values in the header file which was changed. I think I'm not that good in this stuff to get it working, so it's very nice that you want to do it now :)