Re: Setting up GDB
Re: Setting up GDB
- Subject: Re: Setting up GDB
- From: Prokash Sinha <email@hidden>
- Date: Tue, 31 Mar 2015 10:07:40 -0700
On a further note, I could not build XNU on 10.8 VM. Installing XCODE (the respective version, I think is 4.4 ) could not be installed, may be I need to look at it again. But for now, I can have debugger connections going on 10.10, 10.9, and 10.8. For 10.8, I have the respective Kernel Debug Kits mounted on both 10.8 VM target and on Host.
Now for com.apple.Boot.plist -
<key>Kernel</key> <string>mach_kernel</string>
would it work if I replace the mach_kernel with full path name of the debug kernel like the following
<key>Kernel</key> <string>/Volumes/KernelDebugKit/DEBUG_Kernel/mach_kernel</string>
Also is there some kinda symbol server for the release versions of OSX kernel(s) ?
Thanks, Pro
On Mar 30, 2015, at 4:45 PM, Prokash Sinha < email@hidden> wrote: It’s all vas, having snapshots at nearest past is the quickest way to get back what I want.
Finally I got debugger connection going on using 10.9, and no explicit nvram boot-args changes. the plist file does it. The most important part you gave me is 0x40 that takes care of the ARP related hand-shake, w/o that I never had a connection success.
Thanks much Phil!
Pro On Mar 30, 2015, at 6:55 AM, Phil Jordan < email@hidden> wrote: You can always boot into the recovery partition or an OSX installer disc and edit the com.apple.Boot.plist from the command line.
phil
|
_______________________________________________
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