]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb, btrace: set wait status to ignore if nothing is moving
authorMarkus Metzger <markus.t.metzger@intel.com>
Wed, 21 Feb 2024 17:06:41 +0000 (17:06 +0000)
committerMarkus Metzger <markus.t.metzger@intel.com>
Mon, 3 Nov 2025 06:28:35 +0000 (06:28 +0000)
commit921838d6db313817bf9eb625452dd7de67c627cb
tree1ab08f57c7862ab706253bf9ca63c574818811bb
parent522ff727b63e7cbcd0538e09d9ae1132e5e72586
gdb, btrace: set wait status to ignore if nothing is moving

When record_btrace::wait() is called and no threads are moving, we set the
wait status to no_resumed.  Change that to ignore.

This helps with enabling per-inferior run-control for the record btrace
target as it avoids breaking out of do_target_wait() too early with
no_resumed when there would have been an event on another thread.
gdb/record-btrace.c