From 4815d6125ec580cc02a1094d61b8c9d1cc83c0a1 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 5 Apr 2022 07:25:10 -0600 Subject: [PATCH] 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. --- gdb/windows-nat.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 44c1950ace9..646ddda7328 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 (); } -- 2.30.2