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: Lubomir Kundrak
Subject: Re: [PATCH] Make gdb debugging a bit less painful
Date: Fri, 18 Apr 2008 15:58:55 +0200

On Fri, 2008-04-18 at 13:32 +0200, Robert Millan wrote:
> On Thu, Apr 17, 2008 at 10:21:14PM -0400, Pavel Roskin wrote:
> > Quoting Robert Millan <address@hidden>:
> > 
> > >Now that I think of it, is there any reason for doing all the cmain()
> > >cruft before grub_main() ?  Getting to grub_main() only requires a working
> > >stack, which we have, and grub_main() inmediately returns control back to
> > >architecture-specific code in grub_machine_init().
> > >
> > >So why not move from:
> > >
> > >  _start -> cmain -> grub_main
> > >
> > >to:
> > >
> > >  _start -> grub_main -> grub_machine_init -> cmain
> > >
> > >?
> > 
> > I think it would be great.  We should try to make the code for  
> > different architectures more uniform to simplify maintenance.
> 
> Here.  Unfortunately I can't test it as I have no ieee1275 at hand currently.
> 
> Anyone?

I have an OLPC XO machine borrowed now. I will test that this evening.

-- 
Lubomir Kundrak (Red Hat Security Response Team)





reply via email to

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