]> 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, 26 May 2025 07:01:14 +0000 (07:01 +0000)
commitc925bff8251b1d669ee8dad2cd9688555eadb8df
tree75caebc8feb25e8dfbfcc0f59a8c383227edf487
parent5f5d5a516531acbdcf4baa41033ebbaa83d7dbbf
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