--- Sergey Matveychuk <[EMAIL PROTECTED]> wrote:
> > documentation). I haven't tried the GDB/Bochs/GRUB combo myself but you
> should
> > be able to debug GRUB with symbols through GDB.
> 
> Thanks for advice. I'll try it.

For this kind of debugging, it is better to use the grub shell rather than the
native version, because that is much faster and safer.

For example, you can assign a file to a drive like this:
grub> device (fd0) /dir/file

Then, you can read (fd0) as usual. You can even attach gdb in the same way as
you debug ordinary programs.

> I'd like to ask is there any size limit for stage1_5 and stage2?

Yes. Take a look at the memory map in the manual and the script "size_test" in
the directory "stage2".

Okuji


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

Reply via email to