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

_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to