This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog win32-nat.c
- From: cgf at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 2 Dec 2007 05:45:08 -0000
- Subject: src/gdb ChangeLog win32-nat.c
CVSROOT: /cvs/src
Module name: src
Changes by: cgf@sourceware.org 2007-12-02 05:45:08
Modified files:
gdb : ChangeLog win32-nat.c
Log message:
*win32-nat.c (open_process_used): New static variable.
(win32_init_thread_list): Remove call to CloseHandle for thread.
(win32_delete_thread): Ditto.
(fake_create_process): Set open_process_used if OpenProcess call is successful.
(get_win32_debug_event): Do not close process handle.
(do_initial_win32_stuff): Set open_process_used to zero.
(win32_mourn_inferior): Call CloseHandle for current_process_handle if
open_process_used is set.
(win32_kill_inferior): Do not close process and main_thread handles.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.8966&r2=1.8967
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/win32-nat.c.diff?cvsroot=src&r1=1.140&r2=1.141