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>
This commit is contained in:
Tom Tromey
2024-05-27 14:12:33 -06:00
parent 6d267250a9
commit 2db17c87bd
7 changed files with 16 additions and 16 deletions

View File

@@ -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);