[lldb-dev] Global lldbinit file?
Ted Woodward
ted.woodward at codeaurora.org
Wed Jan 28 09:40:14 PST 2015
When LLDB launches, it will read ~/.lldbinit (and possibly other variants of
that, like ~/.lldbinit-Xcode).
In my Hexagon LLDB installation, I want LLDB to always load a global
lldbinit file. Currently I do this by having lldb be a wrapper script that
calls lldb with -o, but I'd like to eliminate the wrapper script, since
wrapper batch files cause problems with ctrl-c handling on Windows. I use
this to load a python file with utilities in it, like one to get the TLB
info from the target. It sends a qXfer command to the remote GDB server to
download an XML file, parses it, and prints the info from it. These
utilities need to load for all users.
Do we have a global lldbinit file, or should I add code to load
Host::GetProgramFileSpec()/lldbinit?
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a
Linux Foundation Collaborative Project
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150128/15f265c0/attachment.html>
More information about the lldb-dev
mailing list