diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-02-04 13:35:09 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-02-04 13:35:09 -0500 |
commit | 85d3ad8e0b44832e7726d20eaf456051b5262b43 (patch) | |
tree | 85eaa26ec2c6bb430a82e4a4e3c98296246a935d /gdb/sparc-sol2-nat.c | |
parent | baa8575b29fe83e158e203485d4d019621c0d245 (diff) | |
download | gdb-85d3ad8e0b44832e7726d20eaf456051b5262b43.zip gdb-85d3ad8e0b44832e7726d20eaf456051b5262b43.tar.gz gdb-85d3ad8e0b44832e7726d20eaf456051b5262b43.tar.bz2 |
gdb: make record-btrace clear event handler in wait
For the same reason explained in the previous patch (which was for the
remote target), move clearing of the async event handler of the
record-btrace target to the wait method.
The record-btrace target already re-sets its async event handler in its
wait method, so that part doesn't need to be changed:
/* In async mode, we need to announce further events. */
if (target_is_async_p ())
record_btrace_maybe_mark_async_event (moving, no_history);
gdb/ChangeLog:
* record-btrace.c (record_btrace_handle_async_inferior_event):
Don't clear async event handler.
(record_btrace_target::wait): Clear async event handler at
beginning.
Change-Id: Ib32087a81bf94f1b884a938c8167ac8bbe09e362
Diffstat (limited to 'gdb/sparc-sol2-nat.c')
0 files changed, 0 insertions, 0 deletions