(fork_inferior): Remove SHELL_COMMAND_CONCAT.
* gdbint.texinfo (Native Conditionals): Remove
SHELL_COMMAND_CONCAT and SHELL_FILE.
+2008-01-28 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * fork-child.c (SHELL_FILE): Remove #ifndef.
+ (fork_inferior): Remove SHELL_COMMAND_CONCAT.
+
2008-01-25 Pierre Muller <muller@ics.u-strasbg.fr>
* i386-tdep.c (i386_skip_noop): New function.
+2008-01-28 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * gdbint.texinfo (Native Conditionals): Remove
+ SHELL_COMMAND_CONCAT and SHELL_FILE.
+
2008-01-23 Chris Demetriou <cgd@google.com>
* gdb.texinfo (Threads): Document new "set print thread-events"
defined in @file{nm.h} @emph{only} in order to override the default
definition in @file{procfs.c}.
-@item SHELL_COMMAND_CONCAT
-@findex SHELL_COMMAND_CONCAT
-If defined, is a string to prefix on the shell command used to start the
-inferior.
-
-@item SHELL_FILE
-@findex SHELL_FILE
-If defined, this is the name of the shell to use to run the inferior.
-Defaults to @code{"/bin/sh"}.
-
@item SOLIB_ADD (@var{filename}, @var{from_tty}, @var{targ}, @var{readsyms})
@findex SOLIB_ADD
Define this to expand into an expression that will cause the symbols in
#include <signal.h>
/* This just gets used as a default if we can't find SHELL. */
-#ifndef SHELL_FILE
#define SHELL_FILE "/bin/sh"
-#endif
extern char **environ;
fact that it may expand when quoted; it is a worst-case number
based on every character being '. */
len = 5 + 4 * strlen (exec_file) + 1 + strlen (allargs) + 1 + /*slop */ 12;
- /* If desired, concat something onto the front of ALLARGS.
- SHELL_COMMAND is the result. */
-#ifdef SHELL_COMMAND_CONCAT
- shell_command = (char *) alloca (strlen (SHELL_COMMAND_CONCAT) + len);
- strcpy (shell_command, SHELL_COMMAND_CONCAT);
-#else
shell_command = (char *) alloca (len);
shell_command[0] = '\0';
-#endif
if (!shell)
{