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.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/target.c')
-rw-r--r-- | gdb/target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c index a5c92a8..ddf10c2 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -4286,7 +4286,7 @@ target_async (bool enable) /* See target.h. */ void -target_thread_events (int enable) +target_thread_events (bool enable) { current_inferior ()->top_target ()->thread_events (enable); } |