aboutsummaryrefslogtreecommitdiff
path: root/gdb/fork-child.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-11-02 23:55:19 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-11-02 23:55:19 +0000
commit4142aab89d7ed976a29a01a7b955ac87d3d4b450 (patch)
tree2a230500092f3dd485d0f12ae0c210a3606b01ed /gdb/fork-child.c
parent9d9d72fcf51715aed4a55259da21a10577741e63 (diff)
downloadfsf-binutils-gdb-4142aab89d7ed976a29a01a7b955ac87d3d4b450.zip
fsf-binutils-gdb-4142aab89d7ed976a29a01a7b955ac87d3d4b450.tar.gz
fsf-binutils-gdb-4142aab89d7ed976a29a01a7b955ac87d3d4b450.tar.bz2
* breakpoint.c (insert_breakpoints, delete_breakpoint): Call
target_terminal_ours_for_output before attempting output. * fork-child.c (fork_inferior): Fix comment so that it suggests "set shell" rather than having "set env SHELL" affect GDB's operation.
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r--gdb/fork-child.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index 1529516..9fc1131 100644
--- a/gdb/fork-child.c
+++ b/gdb/fork-child.c
@@ -75,8 +75,8 @@ fork_inferior (exec_file, allargs, env, traceme_fun, init_trace_fun)
/* The user might want tilde-expansion, and in general probably wants
the program to behave the same way as if run from
his/her favorite shell. So we let the shell run it for us.
- FIXME, this should probably search the local environment (as
- modified by the setenv command), not the env gdb inherited. */
+ FIXME-maybe, we might want a "set shell" command so the user can change
+ the shell from within GDB. */
shell_file = getenv ("SHELL");
if (shell_file == NULL)
shell_file = default_shell_file;