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:
Tankut Baris Aktemur
2025-01-09 12:54:25 +01:00
parent a55875bd18
commit 956bbb5581
3 changed files with 6 additions and 6 deletions

View File

@@ -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. */