Sat Oct 28 23:51:48 1995 steve chamberlain <sac@slash.cygnus.com>

* defs.h: Test on name __WIN32__ rather than WIN32.
	* inflow.c (new_tty): Likewise
	* terminal.h: Likewise.
	* utils.c (initialize_utils): Likewise.
	* win32-nat.c (child_create_inferiror): Print error code when failing.
	* config/i386/win32.mh (XM_CLIBS): Need -lkernel32.
This commit is contained in:
Steve Chamberlain
1995-10-29 06:58:26 +00:00
parent 136ca05d3a
commit 686941a9cb
5 changed files with 68 additions and 19 deletions

View File

@@ -473,7 +473,7 @@ child_create_inferior (exec_file, allargs, env)
&si,
&pi);
if (!ret)
error ("Error creating process %s\n", exec_file);
error ("Error creating process %s, (error %d)\n", exec_file, GetLastError());
exception_count = 0;
event_count = 0;