Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MHZ2V-0001jY-AN for mharc-grub-devel@gnu.org; Fri, 19 Jun 2009 04:01:35 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MHZ2T-0001i1-SA for grub-devel@gnu.org; Fri, 19 Jun 2009 04:01:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHZ2P-0001g0-6P for grub-devel@gnu.org; Fri, 19 Jun 2009 04:01:33 -0400 Received: from [199.232.76.173] (port=36279 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHZ2P-0001fx-3g for grub-devel@gnu.org; Fri, 19 Jun 2009 04:01:29 -0400 Received: from mail-px0-f176.google.com ([209.85.216.176]:64655) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MHZ2O-0005Wg-Ff for grub-devel@gnu.org; Fri, 19 Jun 2009 04:01:28 -0400 Received: by pxi6 with SMTP id 6so1749475pxi.14 for ; Fri, 19 Jun 2009 01:01:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=hPCETkf3OyjtvCIjXzFiRoizUoMjRWwy6LSY5VDj8ZM=; b=MIj3+YyQ2CBNVRLM4OzYLFJQPKdjW/VM56hW6qwrFhbr65MH+2Z9wAT/fuGTjbBo1o 5DsWUIcTd/8eoAJsyyU0KfWyvx+ce++EMZH6Fj/UBZDwqA6yJKMZqdV5+MI8ZZfD2fmG lk44jOnDrwuMtqzoG62WxNb4efR0RB20IuDFA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ajxndBaPqEpVaI/DuhVUiKr11mNFXi2Wagh7WAlmH40Fuczp66qDpHALZEqa0mMeLa rbxW7fipC6EtJDBlkfBC8ucptDvxArlff66ytrM52bDdRnBZ/h+deT0OSNeAWswZBDj8 Nt5pATknzUMWEcbUUZYTKckZeINMHCjiPYZoQ= MIME-Version: 1.0 Received: by 10.142.222.19 with SMTP id u19mr1304044wfg.317.1245398487367; Fri, 19 Jun 2009 01:01:27 -0700 (PDT) Date: Fri, 19 Jun 2009 10:01:27 +0200 Message-ID: From: jeff jeff To: grub-devel@gnu.org Content-Type: multipart/alternative; boundary=000e0cd14586717fa3046caeee11 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: grub2 debugging with gdb 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: Fri, 19 Jun 2009 08:01:34 -0000 --000e0cd14586717fa3046caeee11 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit hi i need to add a few commands/modules to grub2 for our systems. i am trying to debug grub2 with gdb to ease the development cycle. for that purpose i have followed this excellent doc http://v3.sk/~lkundrak/grub2-gdb/howto.html after i applied the procedure described in the note, for some reason i can't establish a connection between the testbed system and the gdb host over serial.after i type "break" on the testbed target and i try to connect to the remote target on the host, nothing happens. i wonder if i correctly built grub2 with the gdb stub patch. in fact i had trouble applying it as i am not sure on what version of grub2 it should be applied. i had to fix several hunks.. the thing is i am new to grub2. my understanding is that version grub 1.96 is grub2. (i have tried to research the web and couldnt get a clear statement at what version grub2 is starting. i was thinking that there should be a 2.0 version somewhere..). 1.96 is the version i have used to apply the patch, as i only had a few hunks to fix after applying the patch as compared to the latest version i got from the svn repo. could you plse tell me what grub2 version i should be using? also i can see that there exists several version of the gdb-stubs patch. could someone plse tell me where is the right one to use? thx a lot for the help -jf --000e0cd14586717fa3046caeee11 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable hi
i need to add a few commands/modules to grub2 for our systems.
i= am trying to debug grub2 with gdb to ease the development cycle. for that = purpose i have followed this excellent doc
http://v3.sk/~lkundrak/grub2-gdb/howto.html<= br>
after i applied the procedure described in the note, for some reason i = can't establish a connection between the testbed system and the gdb hos= t over serial.after i type "break" on the testbed target and i tr= y to connect to the remote target on the host, nothing happens.

i wonder if i correctly built grub2 with the gdb stub patch. in fact i = had trouble applying it as i am not sure on what version of grub2 it should= be applied. i had to fix several hunks..

the thing is i am new to g= rub2. my understanding is that version grub 1.96 is grub2.=A0 (i have tried= to research the web and couldnt get a clear statement at what version grub= 2 is starting. i was thinking that there should be a 2.0 version somewhere.= .). 1.96 is the version i have used to apply the patch, as i only had a few= hunks to fix after applying the patch as compared to the latest version i = got from the svn repo.

could you plse tell me what grub2 version i should be using? also i can= see that there exists several version of the gdb-stubs patch. could someon= e plse tell me where is the right one to use?

thx a lot for the help=
-jf




--000e0cd14586717fa3046caeee11--