Re: Is there a command to recursively search for kernel source in lldb
Re: Is there a command to recursively search for kernel source in lldb
- Subject: Re: Is there a command to recursively search for kernel source in lldb
- From: Jason Molenda <email@hidden>
- Date: Thu, 16 May 2019 16:18:11 -0700
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 <email@hidden> 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 (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
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