* win32-low.c (create_process): New.
authorPedro Alves <palves@redhat.com>
Mon, 3 Sep 2007 22:17:27 +0000 (22:17 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 3 Sep 2007 22:17:27 +0000 (22:17 +0000)
commitaec18585f04e9410cc3c965b1e33e8b5b056e018
treeb6a7a7c2ebdc3fcce353957083c3bd314320886b
parent26669a276811c6d2836868651a28d802503ab987
* win32-low.c (create_process): New.
(win32_create_inferior): Use create_process instead of
CreateProcess.  If create_process failed retry appending an ".exe"
suffix.  Store the GetLastError result immediatelly after
create_process calls and use it on the call to error.
gdb/gdbserver/ChangeLog
gdb/gdbserver/win32-low.c