ruby/misc/lldb_rb/lldb_interface.py
Matt Valentine-House c7862c68eb [ci skip] Move rp helper to new LLDB format
For now, the old function still exists as `old_rp`, in order to debug
issues with this command.
2023-03-17 20:04:43 +00:00

9 lines
304 B
Python

class LLDBInterface:
def build_environment(self, debugger):
self.debugger = debugger
self.target = debugger.GetSelectedTarget()
self.process = self.target.GetProcess()
self.thread = self.process.GetSelectedThread()
self.frame = self.thread.GetSelectedFrame()