[lldb-dev] How to get SBTarget before AttachToProcessWithID?

Jeffrey Tan via lldb-dev lldb-dev at lists.llvm.org
Fri Jan 29 21:42:48 PST 2016


Normally if you want to attach to a process you only have the pid/name of
the process. How do you get SBTarget? Am I supposed to call
SBDebugger.CreateTargetWithFileAndArch() against a dummy executable? Why do
we require a dummy SBTarget before attaching? This seems to be a wrong
design to me... Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160129/751a3e8c/attachment.html>

More information about the lldb-dev mailing list