From 4142aab89d7ed976a29a01a7b955ac87d3d4b450 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Tue, 2 Nov 1993 23:55:19 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 9 +++++++++ gdb/fork-child.c | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5c9b6de9dcb..db002c207e7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +Tue Nov 2 16:28:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * 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. + Tue Nov 2 13:42:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * findvar.c (value_of_register, value_from_register), diff --git a/gdb/fork-child.c b/gdb/fork-child.c index 1529516c5ef..9fc11310fe6 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; -- 2.30.2