[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #99736)

via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 22 13:52:27 PDT 2024


================
@@ -3281,7 +3288,11 @@ Status Process::PrivateResume() {
             "Process::PrivateResume PreResumeActions failed, not resuming.");
       } else {
         m_mod_id.BumpResumeID();
-        error = DoResume();
+        if (direction == eRunForward) {
+          error = DoResume();
----------------
jimingham wrote:

What do we get out of the asymmetry between all the other resume methods that take a direction, and the doResume methods that don't?  It just looks awkward to my eyes.

https://github.com/llvm/llvm-project/pull/99736


More information about the lldb-commits mailing list