[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Make gdb debugging a bit less painful

From: Bean
Subject: Re: [PATCH] Make gdb debugging a bit less painful
Date: Fri, 18 Apr 2008 23:38:48 +0800

On Fri, Apr 18, 2008 at 11:16 PM, Pavel Roskin <address@hidden> 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.
>  "exit" in open firmware based systems would probably mean returning
>  control to open firmware.
>  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".


The would be nice, but we don't know if grub has overwritten the
memory occupied by the original boot environment, so exit might have
unexpected result.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]