+Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * command.c (shell_escape): Report errors correctly (with error
+ message from strerror).
+
Wed Feb 2 14:35:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to use
else
execl (user_shell, p, "-c", arg, 0);
- fprintf_unfiltered (gdb_stderr, "Exec of shell failed\n");
- exit (0);
+ fprintf_unfiltered (gdb_stderr, "Cannot execute %s: %s\n", user_shell,
+ safe_strerror (errno));
+ gdb_flush (gdb_stderr);
+ _exit (0177);
}
if (pid != -1)