Re: Best way to debug/test Bootloader+OS
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QcPZttp5+S6ywL1ThBI0bPMz8zGM/wPQ6aBE+pZsHYX2d8tnqD4qVomkHeGwH30RD9qjGHJsqfyC9m6p0GnN5hxAeOsEYMVB2dhjMXdKUQmGHgGVMX//qm7OQQ3kl0a005UPrcn0D/zvnBSIEoy7EaYSeW1a98glhOqNJfGnNB0= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h4qKCmqqcxCKy1Wtta4G2tmI0RM1I9N4XS5GPgt1bHCgTkbzJzJmaLsap1afJTj4CyRiNQj1msncZaq6YUkg2UT4BHSg7i/SwytO6kWTAEQITm+MKt8+pY9YkfAQ7WJX3MBvL9QV3X3FiEDE4sB8sKYdFgRKd1PWL2vb3fvtcio= 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 <chromox@gmail.com> 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/openspecies%40gmail.com
This email sent to openspecies@gmail.com
-- http://openspecies.googlepages.com/gpgkey.txt On 9/4/07, Jeffrey Portman <chromox@gmail.com> 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/openspecies%40gmail.com
This email sent to openspecies@gmail.com
-- http://openspecies.googlepages.com/gpgkey.txt _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
mm w