Re: Best way to debug/test Bootloader+OS
Re: Best way to debug/test Bootloader+OS
- Subject: Re: Best way to debug/test Bootloader+OS
- From: "mm w" <email@hidden>
- Date: Tue, 4 Sep 2007 14:16:36 +0200
Hi Jeffrey,
if you want test debug implement a kernel you need a victim/slave machine
you should read the Chapter 6, of MacOSX internal "vmdarwin",
there is no kgdb on XNU, use ddb, kdp tools.
> wondering what tools other developers use to test and debug their ...
ddb,
kdp,
gdb
http://developer.apple.com/hardwaredrivers/download/kerneldebugkits/
and maybe one day Dtrace (the same under FreeBSD (ask John B.))
> kernels and bootloaders. I have thought about VMs but the only way I
> can think of getting a VM to load a kernel and bootloader is to make
> it into a bootable CD but I cannot find any software for doing so on
> Mac OS X. If anyone has any suggestions that would be great.
configuring your victim/slave machine
Apple EFI bootloader
Platform Expert
you should take a look at the Charles Gray's project called Darbat
there are many information about Mac OSX internal bootloader processus
or you can also discover it yourself, there is no "best way"
only one because it's the life
Cheers !
On 9/4/07, Jeffrey Portman <email@hidden> wrote:
> I am in the process of implementing a kernel from scratch. And I was
> wondering what tools other developers use to test and debug their
> kernels and bootloaders. I have thought about VMs but the only way I
> can think of getting a VM to load a kernel and bootloader is to make
> it into a bootable CD but I cannot find any software for doing so on
> Mac OS X. If anyone has any suggestions that would be great.
> Thanks.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-kernel mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
--
http://openspecies.googlepages.com/gpgkey.txt
On 9/4/07, Jeffrey Portman <email@hidden> wrote:
> I am in the process of implementing a kernel from scratch. And I was
> wondering what tools other developers use to test and debug their
> kernels and bootloaders. I have thought about VMs but the only way I
> can think of getting a VM to load a kernel and bootloader is to make
> it into a bootable CD but I cannot find any software for doing so on
> Mac OS X. If anyone has any suggestions that would be great.
> Thanks.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-kernel mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
--
http://openspecies.googlepages.com/gpgkey.txt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden