This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb/gdbserver ChangeLog win32-low.c
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 14 Feb 2008 22:41:39 -0000
- Subject: src/gdb/gdbserver ChangeLog win32-low.c
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2008-02-14 22:41:39
Modified files:
gdb/gdbserver : ChangeLog win32-low.c
Log message:
* win32-low.c (do_initial_child_stuff): Add process handle
parameter. Set current_process_handle and current_process_id from the
parameters. Clear globals.
(win32_create_inferior): Don't set current_process_handle and
current_process_id here. Instead pass them on the call to
do_initial_child_stuff.
(win32_attach): Likewise.
(win32_clear_inferiors): New.
(win32_kill): Don't close the current process handle or the
current thread handle here. Instead call win32_clear_inferiors.
(win32_detach): Don't open a new handle to the process. Call
win32_clear_inferiors.
(win32_join): Don't rely on current_process_handle; open a new
handle using the process id.
(win32_wait): Call win32_clear_inferiors when the inferior process
has exited.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/ChangeLog.diff?cvsroot=src&r1=1.178&r2=1.179
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/win32-low.c.diff?cvsroot=src&r1=1.24&r2=1.25