diff options
author | Tom Tromey <tromey@adacore.com> | 2022-07-19 13:07:32 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-07-22 11:06:51 -0600 |
commit | 4a570176b4031de847c2b6067798d67006c1e8f5 (patch) | |
tree | 3f1009c5c1767ccced9adb134a16308e15c4c044 /gdb/record-full.c | |
parent | 36da255e7c6a37b17492361d91001e23263c05c6 (diff) | |
download | binutils-gdb-4a570176b4031de847c2b6067798d67006c1e8f5.tar.gz |
Change target_ops::async to accept bool
This changes the parameter of target_ops::async from int to bool.
Regression tested on x86-64 Fedora 34.
Diffstat (limited to 'gdb/record-full.c')
-rw-r--r-- | gdb/record-full.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/record-full.c b/gdb/record-full.c index 38e021529c7..48b92281fe6 100644 --- a/gdb/record-full.c +++ b/gdb/record-full.c @@ -223,7 +223,7 @@ public: strata stratum () const override { return record_stratum; } void close () override; - void async (int) override; + void async (bool) override; ptid_t wait (ptid_t, struct target_waitstatus *, target_wait_flags) override; bool stopped_by_watchpoint () override; bool stopped_data_address (CORE_ADDR *) override; @@ -1017,7 +1017,7 @@ record_full_base_target::close () /* "async" target method. */ void -record_full_base_target::async (int enable) +record_full_base_target::async (bool enable) { if (enable) mark_async_event_handler (record_full_async_inferior_event_token); |