[gdbserver] Automatically add an ".exe" suffix on failure.

Daniel Jacobowitz drow@false.org
Mon Sep 3 17:25:00 GMT 2007


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



More information about the Gdb-patches mailing list