This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [gdbserver] Automatically add an ".exe" suffix on failure.
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro_alves at portugalmail dot pt>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 3 Sep 2007 13:25:33 -0400
- Subject: Re: [gdbserver] Automatically add an ".exe" suffix on failure.
- References: <46BDFF2A.6060809@portugalmail.pt> <46BF3210.7020306@portugalmail.pt>
On Sun, Aug 12, 2007 at 05:15:12PM +0100, Pedro Alves wrote:
> 2007-08-12 Pedro Alves <pedro_alves@portugalmail.pt>
>
> * 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.
OK, thanks.
--
Daniel Jacobowitz
CodeSourcery