* procfs.c (proc_wait): Call print_sys_errmsg() if we get an
error from PIOCSWSTOP.
This commit is contained in:
parent
a8e033f2a2
commit
34da36088e
|
@ -1,5 +1,8 @@
|
|||
Mon Sep 14 19:20:43 1992 Stu Grossman (grossman at cygnus.com)
|
||||
|
||||
* procfs.c (proc_wait): Call print_sys_errmsg() if we get an
|
||||
error from PIOCSWSTOP.
|
||||
|
||||
* breakpoint.c, core.c, exec.c, language.c, main.c, printcmd.c,
|
||||
symfile.c, target.c, valprint.c: Use _filtered form of *printf.
|
||||
defs.h, utils.c: Make vfprintf_filtered global.
|
||||
|
|
|
@ -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 */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue