summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2021-09-29 19:38:09 -0700
committerJim Ingham <jingham@apple.com>2021-09-29 19:38:09 -0700
commit2303391d1f543f4e57f9ed0fc68bad2d4cf890dc (patch)
tree9bf5a8e31f90c14601678f678bcc1778860df30a /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent3bf3b96629e8dfc55d01ba0cb05ca01a467017fa (diff)
Make "process attach -c" work correctly, and add a test for it.
The issue here was that we were not updating the interpreter's execution context when calling HandleCommand to continue the process. Since we had just created the process, it wasn't in the interpreter's execution context so HandleCommand failed at CheckRequirements. The patch fixes that by passing the process execution context directly to HandleCommand. Differential Revision: https://reviews.llvm.org/D110787
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions