]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/gdbserver/ChangeLog
* win32-low.c (do_initial_child_stuff): Add process handle
authorPedro Alves <palves@redhat.com>
Thu, 14 Feb 2008 22:41:39 +0000 (22:41 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 14 Feb 2008 22:41:39 +0000 (22:41 +0000)
commit5ac588cfb0b495700820854813c726d366617d75
tree2181eb85f988a86fbeea74a0703c4b4026dfea84
parentffd12b812694f7a551c2846f3808bfcee5317646
* 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.
gdb/gdbserver/ChangeLog
gdb/gdbserver/win32-low.c