struct target_waitstatus pending_follow;
/* True if this thread has been explicitly requested to stop. */
- int stop_requested = 0;
+ bool stop_requested = false;
/* The initiating frame of a nexting operation, used for deciding
which exceptions to intercept. If it is null_frame_id no
all-stop mode, we will only get one stop event --- it's undefined
which thread will report the event. */
set_stop_requested (current_inferior ()->process_target (),
- ptid, 1);
+ ptid, true);
}
/* See inferior.h. */
/* The user may have had the main thread held stopped in the
previous image (e.g., schedlock on, or non-stop). Release
it now. */
- th->stop_requested = 0;
+ th->stop_requested = false;
update_breakpoints_after_exec ();
tp->control.step_stack_frame_id = null_frame_id;
tp->control.step_over_calls = STEP_OVER_UNDEBUGGABLE;
tp->control.step_start_function = nullptr;
- tp->stop_requested = 0;
+ tp->stop_requested = false;
tp->control.stop_step = 0;
if (t == nullptr)
t = add_thread (event.target, event.ptid);
- t->stop_requested = 0;
+ t->stop_requested = false;
t->set_executing (false);
t->set_resumed (false);
t->control.may_range_step = 0;
infrun_debug_printf (" %s executing, need stop",
t->ptid.to_string ().c_str ());
target_stop (t->ptid);
- t->stop_requested = 1;
+ t->stop_requested = true;
}
else
{