Received: from list by lists.gnu.org with archive (Exim 4.71) id 1S5D6I-00024S-Cg for mharc-grub-devel@gnu.org; Wed, 07 Mar 2012 04:24:02 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5Ci7-0005C7-Kn for grub-devel@gnu.org; Wed, 07 Mar 2012 03:59:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5Chz-0004EO-Qk for grub-devel@gnu.org; Wed, 07 Mar 2012 03:59:03 -0500 Received: from nm14.bullet.mail.sp2.yahoo.com ([98.139.91.84]:26733) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1S5Chz-00049g-Dl for grub-devel@gnu.org; Wed, 07 Mar 2012 03:58:55 -0500 Received: from [98.139.91.70] by nm14.bullet.mail.sp2.yahoo.com with NNFMP; 07 Mar 2012 08:58:53 -0000 Received: from [72.30.22.202] by tm10.bullet.mail.sp2.yahoo.com with NNFMP; 07 Mar 2012 08:58:53 -0000 Received: from [127.0.0.1] by omp1064.mail.sp2.yahoo.com with NNFMP; 07 Mar 2012 08:58:53 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 162433.40120.bm@omp1064.mail.sp2.yahoo.com Received: (qmail 13058 invoked by uid 60001); 7 Mar 2012 08:58:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1331110732; bh=O3zptorJ3dA0xT9R6fH9kZtax3YxHIL+9cWALlSEmEs=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=yKAdxLGjRVbPTJdz5SJGY1V7fRt6XWWd6ovL4cTl7DBa4euaQyJGRnk2LFokHg7lHwTW3A2jfEedqdpWo3Pqzly9sbpkXhi+1A7Zt6O9gSJ9jUUjPiLKiXM4mya64yYy/muLo6mke7D6ApFyLz+2qYukkRZX8M515mnAdVNv9cM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=0PpQw7AePYOVAwcBOmO8usRS/c7xs80/04g2e085AW76E+KZaV7ZR+8RuKzpIOzjllbTxGI5DuebCo2OV7Sx34gMg6ClrcqVSK+CbAdxuaZwCW8FQkItwG7bK+6FYSw0ACWF3/51XMSYHk8N3HyAGvpTQ+EGYS4jBcSkVo/1DRU=; X-YMail-OSG: F5nI6LYVM1kIiMLE49qHOnoxsy7OwU71x3WTfdjkrxWjMXa nY5GlHln453d7zEymanvUd9vx7cao8aDFlTXbz8wc1V3vvDGv2ANa_2qTz3W dLcsHyISfpcLbEk83O7EFgimX40r7OrD1EtyBSq.neyDdvTtSr45wdvRbpmC JrjEWXUHj0WuKIRhhqM_BDcd_mx.9iZZDDB48FoEBsdmAJ3xYT6k4xCUKb5B 606T5pY2e9WTETOPFQKqE8bRCttmVZWUpU6HoVA1SiM5V4bUx2IP2HMv.s0i Me66hQ0cxBMaX7ebMhF0yBtA_lBmbdYaB8SKwLWOZVXbA4I_6jmqeNZ_7z5b ZUE03f4qzX5uzV7YkMvQ757Ch5jGwzLliJfiSiJ4kYxrJsN2FAL2fsxOQOfe sDkCehOe6z8GrMSUjH6kp3fU- Received: from [94.177.41.178] by web46316.mail.sp1.yahoo.com via HTTP; Wed, 07 Mar 2012 00:58:52 PST X-Mailer: YahooMailWebService/0.8.116.338427 Message-ID: <1331110732.11278.YahooMailNeo@web46316.mail.sp1.yahoo.com> Date: Wed, 7 Mar 2012 00:58:52 -0800 (PST) From: Razvan Raschitor Subject: GRUB debug To: "grub-devel@gnu.org" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="238981999-439804499-1331110732=:11278" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 98.139.91.84 X-Mailman-Approved-At: Wed, 07 Mar 2012 04:24:00 -0500 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2012 08:59:12 -0000 --238981999-439804499-1331110732=:11278 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello,=0A=0A=A0 =A0 I'm not sure is this is the right place to ask, but her= e it is. I want to lean how to develop a grub module. First step for me is = to try to debug. I've tried this on the existing module : hello.=A0=0AThe p= roblem is that I don't manage to do this. I've searched all over the web fo= r tutorials, but they are all outdated ( I found some patches that=A0suppos= ed to enable debug).=A0=0AWhat I did is compile the last grub 2 build, and = then I build a bootable image that=A0contains=A0the hello.mod that I compil= ed. I tried to put a break at a certain line from GDB, but it doesn't work.= =A0=0AI loaded the symbols from hello.module, and I want to break when the = hello message is displayed.=A0=0AIs there any tutorial that will help be fi= gure out how to debug? Can you help me? --238981999-439804499-1331110732=:11278 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hello= ,

    I'm not sure= is this is the right place to ask, but here it is. I want to lean how to d= evelop a grub module. First step for me is to try to debug. I've tried this= on the existing module : hello. 
The problem is that I don't man= age to do this. I've searched all over the web for tutorials, but they are = all outdated ( I found some patches that supposed to enable debug). 
What I did is compile the last grub 2 build, and then= I build a bootable image that contains the hello.mod that I comp= iled. I tried to put a break at a certain line from GDB, but it doesn't wor= k. 
I loaded the symbols from hello.module, an= d I want to break when the hello message is displayed.