diff options
author | Tom Tromey <tom@tromey.com> | 2024-05-27 14:12:33 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-05-28 09:54:48 -0600 |
commit | 2db17c87bd67099921ae78f90f839122041f284a (patch) | |
tree | a424480c3de089a4f7ad6746b3190a1dcc1a3c36 /gdb/amd-dbgapi-target.c | |
parent | 6d267250a9b32e365eaf2d9a9f7f04b9719ca374 (diff) | |
download | binutils-2db17c87bd67099921ae78f90f839122041f284a.zip binutils-2db17c87bd67099921ae78f90f839122041f284a.tar.gz binutils-2db17c87bd67099921ae78f90f839122041f284a.tar.bz2 |
Use bool in thread_events
This changes target_ops::thread_events and target_thread_events to use
'bool'. The callers were already doing this.
Tested by rebuilding.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/amd-dbgapi-target.c')
-rw-r--r-- | gdb/amd-dbgapi-target.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/amd-dbgapi-target.c b/gdb/amd-dbgapi-target.c index fcde6d2..073270f 100644 --- a/gdb/amd-dbgapi-target.c +++ b/gdb/amd-dbgapi-target.c @@ -269,7 +269,7 @@ struct amd_dbgapi_target final : public target_ops struct gdbarch *thread_architecture (ptid_t) override; - void thread_events (int enable) override; + void thread_events (bool enable) override; std::string pid_to_str (ptid_t ptid) override; @@ -1805,7 +1805,7 @@ amd_dbgapi_target::thread_architecture (ptid_t ptid) } void -amd_dbgapi_target::thread_events (int enable) +amd_dbgapi_target::thread_events (bool enable) { m_report_thread_events = enable; beneath ()->thread_events (enable); |