aboutsummaryrefslogtreecommitdiff
path: root/gdb/win32-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/win32-nat.c')
-rw-r--r--gdb/win32-nat.c2
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;