[lldb-dev] canonical way to incorporate an lldb option

Todd Fiala tfiala at google.com
Tue Jul 15 10:51:52 PDT 2014


Ah okay.  Thanks, Jim!

Abid, thanks for pointing me to settings.

-Todd


On Tue, Jul 15, 2014 at 10:31 AM, <jingham at apple.com> wrote:

> "process launch" and "platform process launch" support a --plugin option.
>  Set that to gdb-remote to tell the process you want to launch the remote
> not the built-in process on Linux.  On platforms that support both
> debugserver & llgs (i.e. someday soon OSX) you would need a setting for
> which remote agent to launch.  But since llgs is the only option on linux,
> you could just hard-code it to use that.
>
> Jim
>
> > On Jul 14, 2014, at 7:43 PM, Todd Fiala <todd.fiala at gmail.com> wrote:
> >
> > Hey all,
> >
> > Let's say I have an option I'd like to expose at runtime.  For example,
> I'm about to start experimenting with having Linux use llgs under the hood
> for local debugging, much like MacOSX/Darwin local debugging.  I won't want
> this on all the time (at least not yet) for Linux, and I'd like to toggle
> it between runs.  Finally, I'd like to be able to set it in an .lldbinit
> file or something similar.
> >
> > What's the standard way to add a switch like this?  Is it, in effect, a
> platform option that I use a command for?
> >
> > Thanks for any guidance!
> > --
> > -Todd
> > _______________________________________________
> > lldb-dev mailing list
> > lldb-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>



-- 
Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140715/777beb55/attachment.html>


More information about the lldb-dev mailing list