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

Abid, Hafiz Hafiz_Abid at mentor.com
Tue Jul 15 02:43:36 PDT 2014


Probably you can use ‘settings’. Try ‘help settings’ for more information.

Regards,
Abid

From: lldb-dev-bounces at cs.uiuc.edu [mailto:lldb-dev-bounces at cs.uiuc.edu] On Behalf Of Todd Fiala
Sent: 15 July 2014 03:44
To: lldb-dev at cs.uiuc.edu
Subject: [lldb-dev] canonical way to incorporate an lldb option

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140715/cdd54e2f/attachment.html>


More information about the lldb-dev mailing list