[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: Robert Millan
Subject: Re: [PATCH] Make gdb debugging a bit less painful
Date: Fri, 18 Apr 2008 13:32:59 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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.


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 /.)

Attachment: cmain.diff
Description: Text Data

reply via email to

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