[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FreeBSD5
From: |
Yoshinori Okuji |
Subject: |
Re: FreeBSD5 |
Date: |
Wed, 24 Sep 2003 08:19:26 +0100 (BST) |
--- Sergey Matveychuk <address@hidden> 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