From e133de4984cef9acb32fd756c607aa2fa1d090fb Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 4 Oct 2021 13:13:48 -0600 Subject: 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. --- gdb/windows-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/windows-nat.c') diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index a052efe..736b794 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; } -- cgit v1.1