]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* win32-nat.c: Update copyright year.
authorChristopher Faylor <me+cygwin@cgf.cx>
Sun, 23 Jan 2005 05:09:46 +0000 (05:09 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Sun, 23 Jan 2005 05:09:46 +0000 (05:09 +0000)
(child_init_thread_list): Set thread linked list point to NULL so that it won't
be reused after clearing.

gdb/ChangeLog
gdb/win32-nat.c
gdb/windows-nat.c

index 1ca68e250f2be1749a1223314e4ea70801d1d4f7..5f592885dd833ae1ff8ed0a70a8d4ce03ea28012 100644 (file)
@@ -1,3 +1,9 @@
+2005-01-23  Christopher Faylor  <cgf@timesys.com>
+
+       * 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  <kettenis@gnu.org>
 
        * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
index 62a3e7cda1acb68695b8c2500151c3a4d67f4311..6063ab10b693fafc41e91dd5a9c8f8c332e39456 100644 (file)
@@ -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 */
index 62a3e7cda1acb68695b8c2500151c3a4d67f4311..6063ab10b693fafc41e91dd5a9c8f8c332e39456 100644 (file)
@@ -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 */