* procfs.c (proc_wait): Call print_sys_errmsg() if we get an
[deliverable/binutils-gdb.git] / gdb / procfs.c
index b4b1201175e25ff2f6928d7020d4ad21cafbf70c..0365c658ced712935619dfd1da5554a504ec9562 100644 (file)
@@ -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 */
            }
This page took 0.023713 seconds and 4 git commands to generate.