diff options
author | Tom Tromey <tromey@adacore.com> | 2021-10-04 13:13:48 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2021-10-04 13:14:49 -0600 |
commit | e133de4984cef9acb32fd756c607aa2fa1d090fb (patch) | |
tree | 4ac82b729630f0eae678421aa4e93b47c1e93d66 | |
parent | 77252bf26e98bda49baffc2657bd99143e1c7626 (diff) | |
download | gdb-e133de4984cef9acb32fd756c607aa2fa1d090fb.zip gdb-e133de4984cef9acb32fd756c607aa2fa1d090fb.tar.gz gdb-e133de4984cef9acb32fd756c607aa2fa1d090fb.tar.bz2 |
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.
-rw-r--r-- | gdb/windows-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |