diff options
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index b4b1201..0365c65 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -1886,6 +1886,7 @@ proc_wait (statloc) rtnval = wait (&statval); if (rtnval != inferior_pid) { + print_sys_errmsg (pi.pathname, errno); error ("PIOCWSTOP, wait failed, returned %d", rtnval); /* NOTREACHED */ } |