grub-devel
[Top][All Lists]
Advanced

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

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


From: Pavel Roskin
Subject: Re: [PATCH] Make gdb debugging a bit less painful
Date: Fri, 18 Apr 2008 11:16:43 -0400

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".

-- 
Regards,
Pavel Roskin




reply via email to

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