* 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.
This commit is contained in:
Jim Kingdon 1993-11-02 23:55:19 +00:00
parent 9d9d72fcf5
commit 4142aab89d
2 changed files with 11 additions and 2 deletions

View file

@ -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),

View file

@ -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;