[Lldb-commits] [PATCH] D71801: [lldb/Lua] Make lldb.debugger et al available to Lua

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 9 00:06:53 PST 2020


labath accepted this revision.
labath added a comment.
This revision is now accepted and ready to land.

Thanks for your patience. Looks fine to me, just remove the dead code..



================
Comment at: lldb/source/Plugins/ScriptInterpreter/Lua/Lua.cpp:29-38
+
+llvm::Error Lua::EnterSession(user_id_t debugger_id) {
+  const char *fmt_str =
+      "lldb.debugger = lldb.SBDebugger.FindDebuggerWithID({0}); "
+      "lldb.target = lldb.debugger:GetSelectedTarget(); "
+      "lldb.process = lldb.target:GetProcess(); "
+      "lldb.thread = lldb.process:GetSelectedThread(); "
----------------
This should be dead code now, right?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71801/new/

https://reviews.llvm.org/D71801





More information about the lldb-commits mailing list