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:
b8b5466
)
Don't call init_thread_list in windows-nat.c
author
Tom Tromey
<tromey@adacore.com>
Tue, 5 Apr 2022 13:25:10 +0000
(07:25 -0600)
committer
Tom Tromey
<tromey@adacore.com>
Tue, 5 Apr 2022 14:28:22 +0000
(08:28 -0600)
I don't think there's any need to call init_thread_list in
windows-nat.c. This patch removes it. I tested this using the
internal AdaCore test suite on Windows, which FWIW does include some
multi-threaded inferiors.
gdb/windows-nat.c
patch
|
blob
|
history
diff --git
a/gdb/windows-nat.c
b/gdb/windows-nat.c
index 44c1950ace9055e3727094c8cef998f3b72909a5..646ddda7328fd0e7367006520bf5084687a7605d 100644
(file)
--- a/
gdb/windows-nat.c
+++ b/
gdb/windows-nat.c
@@
-401,7
+401,6
@@
static void
windows_init_thread_list (void)
{
DEBUG_EVENTS ("called");
- init_thread_list ();
thread_list.clear ();
}