This is an archive of the discontinued LLVM Phabricator instance.

[lldb/Plugins] Clean-up ScriptedProcess python script (NFC)
ClosedPublic

Authored by mib on Feb 9 2022, 4:24 PM.

Details

Summary

This patch removes the my_scripted_process.py blueprint since it's not
used anymore.

The patch also updates the base ScriptedProcess and ScriptedThread
initializers to automatically initialize convinience variables, to
access debugger from the ScriptedProcess, access the SBProcess and
ScriptedProcess object from a ScriptedThread instance.

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>

Diff Detail

Event Timeline

mib requested review of this revision.Feb 9 2022, 4:24 PM
mib created this revision.
JDevlieghere accepted this revision.Feb 10 2022, 10:13 AM

LGTM

lldb/examples/python/scripted_process/scripted_process.py
264

Unrelated?

This revision is now accepted and ready to land.Feb 10 2022, 10:13 AM
This revision was automatically updated to reflect the committed changes.