aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-09-15 06:42:19 +0000
committerStu Grossman <grossman@cygnus>1992-09-15 06:42:19 +0000
commit34da36088e1e0542f1fe0b67e4d05534c2d0db66 (patch)
treeeba3b6d84307ed1911b53462ae9f3f0281a9428e /gdb/procfs.c
parenta8e033f2a2dca7a104e66ab1351c46fc2c2baf03 (diff)
downloadgdb-34da36088e1e0542f1fe0b67e4d05534c2d0db66.zip
gdb-34da36088e1e0542f1fe0b67e4d05534c2d0db66.tar.gz
gdb-34da36088e1e0542f1fe0b67e4d05534c2d0db66.tar.bz2
* procfs.c (proc_wait): Call print_sys_errmsg() if we get an
error from PIOCSWSTOP.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c1
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 */
}