projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77252bf
)
Minor boolean fix in windows-nat.c
author
Tom Tromey
<tromey@adacore.com>
Mon, 4 Oct 2021 19:13:48 +0000
(13:13 -0600)
committer
Tom Tromey
<tromey@adacore.com>
Mon, 4 Oct 2021 19:14:49 +0000
(13:14 -0600)
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
patch
|
blob
|
history
diff --git
a/gdb/windows-nat.c
b/gdb/windows-nat.c
index a052efe654ce4e6fc9e4f37bdc2d6a8fc31c3863..736b794fc82306fca955cc1dfc5ea9c4e69d7f85 100644
(file)
--- 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;
}