[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: Pavel Roskin
Subject: Re: [PATCH] Make gdb debugging a bit less painful
Date: Thu, 17 Apr 2008 22:21:14 -0400
User-agent: Internet Messaging Program (IMP) H3 (4.1.4)

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


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

Pavel Roskin

reply via email to

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