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/target.h | |
parent | 6d267250a9b32e365eaf2d9a9f7f04b9719ca374 (diff) | |
download | fsf-binutils-gdb-2db17c87bd67099921ae78f90f839122041f284a.zip fsf-binutils-gdb-2db17c87bd67099921ae78f90f839122041f284a.tar.gz fsf-binutils-gdb-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/target.h')
-rw-r--r-- | gdb/target.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/target.h b/gdb/target.h index 394e377..81de4a6 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -755,7 +755,7 @@ struct target_ops potential optimization is missed. */ virtual bool has_pending_events () TARGET_DEFAULT_RETURN (false); - virtual void thread_events (int) + virtual void thread_events (bool) TARGET_DEFAULT_IGNORE (); /* Returns true if the target supports setting thread options OPTIONS, false otherwise. */ @@ -1920,7 +1920,7 @@ extern bool target_is_async_p (); extern void target_async (bool enable); /* Enables/disables thread create and exit events. */ -extern void target_thread_events (int enable); +extern void target_thread_events (bool enable); /* Returns true if the target supports setting thread options OPTIONS. */ |