All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] Make gdb debugging a bit less painful
Date: Fri, 18 Apr 2008 17:36:52 +0200	[thread overview]
Message-ID: <20080418153652.GA6790@thorin> (raw)
In-Reply-To: <1208531803.12403.13.camel@dv>

On Fri, Apr 18, 2008 at 11:16:43AM -0400, Pavel Roskin wrote:
> 
> On Fri, 2008-04-18 at 14:13 +0200, Robert Millan wrote:
> > On Fri, Apr 18, 2008 at 01:32:59PM +0200, Robert Millan wrote:
> > > -	jmp EXT_C(cmain)
> > > +	jmp EXT_C(grub_main)
> > 
> > Or maybe that should be a "call" instead..
> 
> Only if there is any chance of return, and we can handle it.

Well, Lubomir suggested that you need that return address for gdb.  Is that
correct?

> "exit" in open firmware based systems would probably mean returning
> control to open firmware.

Note that our ieee1275 exit is implemented via interrupt, which I believe
has equivalent effect.  We don't need the return address for that, in this
case.

> By the way, it would be nice to have "exit" in both grub for PC and
> grub-emu, and not only in the rescue mode.  "exit" on PC means returning
> control to BIOS so it can try another boot device.  "exit" in grub-emu
> means exit, of course.  I have to use "reboot" now (which should not
> exit, but rather restart grub-emu, if it belongs to grub-emu at all) or
> "rescue" followed by "exit".

Agreed.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)



  reply	other threads:[~2008-04-18 15:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-14 22:30 [PATCH] Make gdb debugging a bit less painful Lubomir Kundrak
2008-04-15 13:21 ` Robert Millan
2008-04-15 13:38 ` Robert Millan
2008-04-17 11:53   ` Lubomir Kundrak
2008-04-17 20:11     ` Robert Millan
2008-04-18  2:21       ` Pavel Roskin
2008-04-18 11:32         ` Robert Millan
2008-04-18 12:13           ` Robert Millan
2008-04-18 15:16             ` Pavel Roskin
2008-04-18 15:36               ` Robert Millan [this message]
2008-04-18 15:38               ` Bean
2008-04-18 15:45                 ` Robert Millan
2008-04-18 13:58           ` Lubomir Kundrak
2008-04-18 15:54           ` Robert Millan
2008-04-15 19:01 ` Pavel Roskin
2008-04-17 11:54   ` Lubomir Kundrak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080418153652.GA6790@thorin \
    --to=rmh@aybabtu.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.