Re: lldb equivalent to gdb 'set pathname-substitutions'?
Re: lldb equivalent to gdb 'set pathname-substitutions'?
- Subject: Re: lldb equivalent to gdb 'set pathname-substitutions'?
- From: Jason Molenda <email@hidden>
- Date: Thu, 25 Oct 2012 21:40:12 -0700
The equivalent in lldb is
(lldb) settings set target.source-map /buildbot/path /my/path
There is one known bug with target.source-map -- if you've searched for a source file in your current debug session and it was not found, lldb caches the negative lookup so after adding the source-map entry lldb won't show the source file for that debug session.
There is no direct equivalent to gdb's "directory" command yet.
I've updated http://lldb.llvm.org/lldb-gdb.html with this example (at the bottom of the page).
Jason
On Oct 25, 2012, at 11:45 AM, Sean McBride <email@hidden> wrote:
> Hi all,
>
> What's the lldb equivalent to gdb's:
>
> (gdb) set pathname-substitutions /buildbot/path /my/path
>
> I have libraries built by a buildbot where the source paths are different than my local paths, and lldb won't show me source.
>
> Thanks,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng email@hidden
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users 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.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden