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: "Pedro Alves" <pedro_alves at portugalmail dot pt>
- To: "Pedro Alves" <pedro_alves at portugalmail dot pt>, gdb-patches at sourceware dot org
- Date: Wed, 5 Sep 2007 09:42:34 +0100
- Subject: Re: [gdbserver] Automatically add an ".exe" suffix on failure.
- References: <46BDFF2A.6060809@portugalmail.pt> <46BF3210.7020306@portugalmail.pt> <20070903172533.GG12440@caradoc.them.org>
On 9/3/07, Daniel Jacobowitz wrote:
> 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.
>
Thanks,
Checked in.
Cheers,
Pedro Alves