[Lldb-commits] [PATCH] D81810: LLDB step-instruction gets stuck on jump to self
Sebastian Ă–sterlund via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 16 08:49:32 PDT 2020
sirmc added a comment.
Yes, I wasn't sure what the exact semantics were for step-inst for LLDB. I think the issue is not mainly the mimicking of GDB behavior, but rather that it is inconvenient for some use-cases.
To give some context on why I propose this change: the current behavior is pretty cumbersome when doing automated testing with LLDB of unknown/ generated programs. For example making use of the Python API, AFAIK, there is no interface where you can run a bounded number of instructions if `lldb.SBThread.StepInstruction` is not guaranteed to return (the current hack around it would be run this in a separate thread with a timeout).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81810/new/
https://reviews.llvm.org/D81810
More information about the lldb-commits
mailing list