diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e06f59c45ba..69af942bc75 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-11-14 Tom Tromey + + * infrun.c (fetch_inferior_event): Use "bool" for should_stop. + 2020-11-14 Tom Tromey * opencl-lang.c (opencl_component_ref): Make "comps" const. diff --git a/gdb/infrun.c b/gdb/infrun.c index 990f40aa626..2e5e837452d 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3914,7 +3914,7 @@ fetch_inferior_event () if (!ecs->wait_some_more) { struct inferior *inf = find_inferior_ptid (ecs->target, ecs->ptid); - int should_stop = 1; + bool should_stop = true; struct thread_info *thr = ecs->event_thread; delete_just_stopped_threads_infrun_breakpoints ();