aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-04-05 07:25:10 -0600
committerTom Tromey <tromey@adacore.com>2022-04-05 08:28:22 -0600
commit4815d6125ec580cc02a1094d61b8c9d1cc83c0a1 (patch)
treea3acbccdc30dc6f9d8b03138a37a048e01a93b86
parentb8b5466f0dd1c993015a767f1fe4f294f79b494f (diff)
downloadgdb-4815d6125ec580cc02a1094d61b8c9d1cc83c0a1.zip
gdb-4815d6125ec580cc02a1094d61b8c9d1cc83c0a1.tar.gz
gdb-4815d6125ec580cc02a1094d61b8c9d1cc83c0a1.tar.bz2
Don't call init_thread_list in windows-nat.c
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.
-rw-r--r--gdb/windows-nat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 44c1950..646ddda 100644
--- 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 ();
}