projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Report GetLastError value when DebugActiveProcess fails
[deliverable/binutils-gdb.git]
/
gdb
/
windows-nat.c
diff --git
a/gdb/windows-nat.c
b/gdb/windows-nat.c
index 5901f63b28a29341569054abee88db6fee4aa016..fdc21f38bfadd41b069eec60da283763bf7ca7f7 100644
(file)
--- a/
gdb/windows-nat.c
+++ b/
gdb/windows-nat.c
@@
-1983,7
+1983,8
@@
windows_nat_target::attach (const char *args, int from_tty)
#endif
if (!ok)
- error (_("Can't attach to process."));
+ error (_("Can't attach to process %u (error %u)"),
+ (unsigned) pid, (unsigned) GetLastError ());
DebugSetProcessKillOnExit (FALSE);
This page took
0.02389 seconds
and
4
git commands to generate.