Re: Is there a command to recursively search for kernel source in lldb
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com target.source-map should work the way you're imagining already. The first name ("/BuildRoot/Library/Caches/" etc) is substituted in the debug information for the second name that you provide. You can provide a less specific remapping. I'm not sure about pointing the debugger at xnu-4903.221.2 sources when you're debugging a xnu-4903.240.8 kernel - are there many differences in the source code? It seems like it could be confusing.
On May 8, 2019, at 11:30 AM, Prokash Sinha <prokash@garlic.com> wrote:
Hi All,
Instead of —
settings append target.source-map /BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4903.240.8/bsd/kern ~/xnu_srcs/xnu_src/xnu-4903.221.2/bsd/kern
Is it possible to do like -
settings append target.source-map /BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4903.240.8/bsd ~/xnu_srcs/xnu_src/xnu-4903.221.2/bsd
So all the source could be resolved from symbols ???
Thanks, Prokash _______________________________________________ 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: https://lists.apple.com/mailman/options/darwin-kernel/jmolenda%40apple.com
This email sent to jmolenda@apple.com
_______________________________________________ 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: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jason Molenda