diff options
author | Steve Chamberlain <sac@cygnus> | 1995-10-29 06:58:26 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1995-10-29 06:58:26 +0000 |
commit | 686941a9cb0fd5bf888ef61a81b5a5775fdb1367 (patch) | |
tree | e874affd2b7269b7a6d6d872783036d91e32564c /gdb/win32-nat.c | |
parent | 136ca05d3a91b07c967994b51c48d9991546af87 (diff) | |
download | gdb-686941a9cb0fd5bf888ef61a81b5a5775fdb1367.zip gdb-686941a9cb0fd5bf888ef61a81b5a5775fdb1367.tar.gz gdb-686941a9cb0fd5bf888ef61a81b5a5775fdb1367.tar.bz2 |
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.
Diffstat (limited to 'gdb/win32-nat.c')
-rw-r--r-- | gdb/win32-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index 8bbffb3..feed5f5 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-nat.c @@ -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; |