From: Tom Tromey Date: Mon, 4 Oct 2021 19:13:48 +0000 (-0600) Subject: Minor boolean fix in windows-nat.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e133de4984cef9acb32fd756c607aa2fa1d090fb;p=binutils-gdb.git Minor boolean fix in windows-nat.c I noticed a spot in windows-nat.c that used '1' rather than the more appropriate 'true'. This patch fixes it. --- diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index a052efe654c..736b794fc82 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -1492,7 +1492,7 @@ windows_nat_target::get_windows_debug_event (int pid, ptid_t ptid (current_event.dwProcessId, thread_id); windows_thread_info *th = thread_rec (ptid, INVALIDATE_CONTEXT); - th->reload_context = 1; + th->reload_context = true; return thread_id; }