]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
btrace: clear thread stopped state when stopping replaying
authorMarkus Metzger <markus.t.metzger@intel.com>
Tue, 12 Aug 2025 12:33:48 +0000 (12:33 +0000)
committerMarkus Metzger <markus.t.metzger@intel.com>
Mon, 3 Nov 2025 06:27:17 +0000 (06:27 +0000)
commitadd41f3be2942f5bb0477ce124167b3ff8c151d9
tree4ef215aea5bd8cc2014a7bd1904d5039794b3bdf
parent9a8c16ee84879c8f1abbc7d9b8f85a27d74288c1
btrace: clear thread stopped state when stopping replaying

When we stop replaying a thread, it moves to the end of its execution
history.  It retains its state from when it was replaying, though, so a
subsequent 'info program' command would show wrong information.

Clear all execution state used by the 'info program' command.
gdb/record-btrace.c
gdb/testsuite/gdb.btrace/step.exp