From: Christopher Faylor Date: Sun, 23 Jan 2005 05:09:46 +0000 (+0000) Subject: * win32-nat.c: Update copyright year. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=059198c19dcb28433fe4d1da6f00ae8f15faa52f;p=binutils-gdb.git * win32-nat.c: Update copyright year. (child_init_thread_list): Set thread linked list point to NULL so that it won't be reused after clearing. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1ca68e250f2..5f592885dd8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2005-01-23 Christopher Faylor + + * win32-nat.c: Update copyright year. + (child_init_thread_list): Set thread linked list point to NULL so that + it won't be reused after clearing. + 2005-01-21 Mark Kettenis * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index 62a3e7cda1a..6063ab10b69 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-nat.c @@ -1,6 +1,6 @@ /* Target-vector operations for controlling win32 child processes, for GDB. - Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 + Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. Contributed by Cygnus Solutions, A Red Hat Company. @@ -300,6 +300,7 @@ child_init_thread_list (void) (void) CloseHandle (here->h); xfree (here); } + thread_head.next = NULL; } /* Delete a thread from the list of threads */ diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 62a3e7cda1a..6063ab10b69 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -1,6 +1,6 @@ /* Target-vector operations for controlling win32 child processes, for GDB. - Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 + Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. Contributed by Cygnus Solutions, A Red Hat Company. @@ -300,6 +300,7 @@ child_init_thread_list (void) (void) CloseHandle (here->h); xfree (here); } + thread_head.next = NULL; } /* Delete a thread from the list of threads */