diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2005-01-23 05:09:46 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2005-01-23 05:09:46 +0000 |
commit | 059198c19dcb28433fe4d1da6f00ae8f15faa52f (patch) | |
tree | 8a503869e6eaeffd47ef4d87b0a6e2302d62be8d /gdb/win32-nat.c | |
parent | 955b4dd3ac2b3478f1128539c4827e80a8c10002 (diff) | |
download | gdb-059198c19dcb28433fe4d1da6f00ae8f15faa52f.zip gdb-059198c19dcb28433fe4d1da6f00ae8f15faa52f.tar.gz gdb-059198c19dcb28433fe4d1da6f00ae8f15faa52f.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/win32-nat.c')
-rw-r--r-- | gdb/win32-nat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index 62a3e7c..6063ab1 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 */ |