This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]