aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 48ecd36..c95d420 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -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;
}