Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JtfC4-00083e-LD for mharc-grub-devel@gnu.org; Wed, 07 May 2008 04:40:08 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JtfC1-00081d-5i for grub-devel@gnu.org; Wed, 07 May 2008 04:40:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JtfBz-000817-Kc for grub-devel@gnu.org; Wed, 07 May 2008 04:40:04 -0400 Received: from [199.232.76.173] (port=44933 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtfBz-00080y-BG for grub-devel@gnu.org; Wed, 07 May 2008 04:40:03 -0400 Received: from [92.240.234.41] (helo=norkia.kexik.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jteqw-00012P-Rs for grub-devel@gnu.org; Wed, 07 May 2008 04:18:19 -0400 Received: from [172.31.2.158] (hell.lan [89.102.4.189]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: lkundrak@v3.sk) by norkia.kexik.net (Postfix) with ESMTP id A863B70CD8 for ; Wed, 7 May 2008 10:18:15 +0200 (CEST) From: Lubomir Rintel To: The development of GRUB 2 In-Reply-To: <20080506150233.GC23773@thorin> References: <1209647545.3433.14.camel@localhost.localdomain> <20080506150233.GC23773@thorin> Content-Type: text/plain Date: Wed, 07 May 2008 10:17:20 +0200 Message-Id: <1210148240.2773.96.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: [PATCH] Remote GDB debugging stub (for i386) 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, 07 May 2008 08:40:06 -0000 On Tue, 2008-05-06 at 17:02 +0200, Robert Millan wrote: > On Thu, May 01, 2008 at 03:12:25PM +0200, Lubomir Rintel wrote: > > --- grub2/gdb/cstub.c 1970-01-01 01:00:00.000000000 +0100 > > +++ grub2-gdb/gdb/cstub.c 2008-05-01 10:57:57.000000000 +0200 > > @@ -0,0 +1,362 @@ > > +/* cstub.c - machine independent portion of remote GDB stub */ > > +/* > > + * Copyright (C) 2006 Lubomir Kundrak > > Please put the FSF in copyright notice (since copyright is being assigned). > > Also acknowledge whatever copyright/license notice there was in code copied > from gdb (though if it was public domain, I think you can skip the latter). Done. > Please update to GPL 3. I suggest you copy the whole blob since there are > improvements in the last paragraph. Done > > /* The size of the first region which won't be compressed. */ > > -#define GRUB_KERNEL_MACHINE_RAW_SIZE 0x4A0 > > +#define GRUB_KERNEL_MACHINE_RAW_SIZE 0x4BC > > What caused this? Any way we can have this dynamically calculated? Described in the changelog. No idea how could it be calculated, I just remember Okuji suggesting number that value to me when I was trouble loading IDT. -- Lubomir Rintel (Was: Kundrak) http://v3.sk/~lkundrak/