• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: lldb equivalent to gdb 'set pathname-substitutions'?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >lldb equivalent to gdb 'set pathname-substitutions'? (From: Sean McBride <email@hidden>)

  • Prev by Date: restrospector
  • Next by Date: Re: Something I don't understand about Resource Byte-swapping
  • Previous by thread: lldb equivalent to gdb 'set pathname-substitutions'?
  • Next by thread: Object not being drawn in Cmd + N window. Why?
  • Index(es):
    • Date
    • Thread