diff options
author | Tom Tromey <tromey@adacore.com> | 2022-04-05 07:25:10 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-04-05 08:28:22 -0600 |
commit | 4815d6125ec580cc02a1094d61b8c9d1cc83c0a1 (patch) | |
tree | a3acbccdc30dc6f9d8b03138a37a048e01a93b86 | |
parent | b8b5466f0dd1c993015a767f1fe4f294f79b494f (diff) | |
download | gdb-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.c | 1 |
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 (); } |