forked from Imagelibrary/binutils-gdb
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:
@@ -279,7 +279,7 @@ struct simple_pid_list
|
||||
static struct simple_pid_list *stopped_pids;
|
||||
|
||||
/* Whether target_thread_events is in effect. */
|
||||
static int report_thread_events;
|
||||
static bool report_thread_events;
|
||||
|
||||
static int kill_lwp (int lwpid, int signo);
|
||||
|
||||
@@ -4618,7 +4618,7 @@ linux_nat_target::fileio_unlink (struct inferior *inf, const char *filename,
|
||||
/* Implementation of the to_thread_events method. */
|
||||
|
||||
void
|
||||
linux_nat_target::thread_events (int enable)
|
||||
linux_nat_target::thread_events (bool enable)
|
||||
{
|
||||
report_thread_events = enable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user