bug-grub
[Top][All Lists]
Advanced

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

Re: "grub" command works, but GRUB boot loader hangs


From: OKUJI Yoshinori
Subject: Re: "grub" command works, but GRUB boot loader hangs
Date: Wed, 08 Aug 2001 15:36:47 +0900

Low level programming is not so special. Consider how to debug an
ordinary (high level) program. Probably your program has calls for
system services, such as "fork", but do you need to know what "fork"
does exactly?

Debugging is, IMO, a general process, whether the target is high level
or low level. First of all, you find out which piece of code is the
cause. To do that, insert printf! Then, you will see when and where
your program stops. In assembly code, that's rather difficult without
knowledge on assembly programming, but mostly you can combine C code
with assembly code, if your purpose is to print out some debug
messages.

Anyway, take a look at the source code first. The code of GRUB is not
so difficult to understand (I hope so...)

Okuji



reply via email to

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