From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LepyI-0000b5-9N for mharc-grub-devel@gnu.org; Wed, 04 Mar 2009 07:13:10 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LepyG-0000aT-AD for grub-devel@gnu.org; Wed, 04 Mar 2009 07:13:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LepyC-0000Yu-AU for grub-devel@gnu.org; Wed, 04 Mar 2009 07:13:07 -0500 Received: from [199.232.76.173] (port=44693 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LepyC-0000Yo-1D for grub-devel@gnu.org; Wed, 04 Mar 2009 07:13:04 -0500 Received: from mta-out.inet.fi ([195.156.147.13]:57966 helo=jenni2.inet.fi) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LepyB-0000E7-Jh for grub-devel@gnu.org; Wed, 04 Mar 2009 07:13:03 -0500 Received: from [192.168.1.102] (84.248.105.254) by jenni2.inet.fi (8.5.014) id 49ACEB21001027B9 for grub-devel@gnu.org; Wed, 4 Mar 2009 14:13:03 +0200 Message-ID: <49AE704C.3090304@nic.fi> Date: Wed, 04 Mar 2009 14:13:00 +0200 From: =?ISO-8859-1?Q?Vesa_J=E4=E4skel=E4inen?= User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: grub-devel@gnu.org References: <20090304.011221.191351907.davem@davemloft.net> <49AE6D2F.1030402@nic.fi> <20090304.040301.90693487.davem@davemloft.net> In-Reply-To: <20090304.040301.90693487.davem@davemloft.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: Quoted-Printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [PATCH]: Strip boot block built objects. 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, 04 Mar 2009 12:13:08 -0000 David Miller wrote: > From: Vesa J=E4=E4skel=E4inen > Date: Wed, 04 Mar 2009 13:59:43 +0200 >=20 >> David Miller wrote: >>> In order for the boot block images for sparc to work properly, >>> we have to strip them out before doing the objcopy. >>> >>> This is harmless on i386-pc and some other future grub >>> targets might need this too, so do it universally. >> Please have a look at mail from me with subject "qemu + gdb >> debugging..." on 22.2.2009 17:34. >=20 > My patch only strips information for the foo.img boot block > images built in the grub tree. >=20 > Your debugging hacks are only for the rest of the grub kernel > and don't even come close to touching the areas I am interested > in and changing. Ok. Just wanted to inform you about that. If there is existing debug image that matches quite nicely to boot image then it is easier to debug as code matches quite nicely to assembly. It is much nicer to debug when debugger can follow actual code lines. Anyway. Idea there was that strip was not used, but objcopy was used to generate matching image.