Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KQONY-0006KB-CM for mharc-grub-devel@gnu.org; Tue, 05 Aug 2008 11:23:16 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQONW-0006HQ-A7 for grub-devel@gnu.org; Tue, 05 Aug 2008 11:23:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQONS-0006BR-7M for grub-devel@gnu.org; Tue, 05 Aug 2008 11:23:11 -0400 Received: from [199.232.76.173] (port=41509 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQONR-0006Ay-SW for grub-devel@gnu.org; Tue, 05 Aug 2008 11:23:09 -0400 Received: from moutng.kundenserver.de ([212.227.126.183]:58220) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQONR-0007uh-Gp for grub-devel@gnu.org; Tue, 05 Aug 2008 11:23:09 -0400 Received: from [85.180.54.43] (e180054043.adsl.alicedsl.de [85.180.54.43]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1KQONL2WcB-0004jF; Tue, 05 Aug 2008 17:23:06 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: <20080805081134.2cbe1366@gibibit.com> References: <20080805074229.3e5862c5@gibibit.com> <1217948757.20298.20.camel@fz.local> <20080805081134.2cbe1366@gibibit.com> Content-Type: text/plain Date: Tue, 05 Aug 2008 17:23:11 +0200 Message-Id: <1217949791.20298.29.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/RnqTpbSZ8QcYhnJA3hVNEK++jCaYZIuStt87 IOX59FDyDI5xEYCk3wEQUUw9ttlPKevZuvbGVXb2gq4j+7Bcss JCkFvwqWG6WndmMsoCnIXOYvwgrjZVP 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:23:14 -0000 Am Dienstag, den 05.08.2008, 08:11 -0700 schrieb Colin D Bennett: > > Interesting. Well, I think I used the 'load_all_modules' function > instead of just 'load_modules'. And IIRC, I first used the GRUB legacy > floppy image that was provided to chainload GRUB 2 over QEMU's built-in > tftp, but I think that directly booting GRUB 2 in QEMU for debugging > did not work... I'll have to try it again to verify that. > The gdb-macros patch on his fedora page[0] has only load_modules where the help text of it says it loads all symbols. I didn't try the chainload grub2 with tftp way. I have used directly a grub2 floppy img for that and it did work for the functions not in a module. I didn't make anything special, just recompiled grub2 with that page, we both updated, and CFLAGS="-O0 -g3" and then created the grub2_floppy.img [0] http://fedorapeople.org/~lkundrak/grub2/