forked from Imagelibrary/binutils-gdb
gdb: boolify thread_info's 'stop_requested' field
Boolify the field. The 'set_stop_requested' function was already taking a bool parameter, whose value is assigned to the field. Approved-By: Andrew Burgess <aburgess@redhat.com>
This commit is contained in:
@@ -2880,7 +2880,7 @@ stop_current_target_threads_ns (ptid_t ptid)
|
||||
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. */
|
||||
|
||||
Reference in New Issue
Block a user