diff options
author | Bob Rossi <bob@brasko.net> | 2005-07-06 14:54:37 +0000 |
---|---|---|
committer | Bob Rossi <bob@brasko.net> | 2005-07-06 14:54:37 +0000 |
commit | 3721ef102785c6b5d706219407eeaed1902add3d (patch) | |
tree | 874878ac7035c2847ac224bb8b7f082aa2abaefc /gdb/win32-nat.c | |
parent | f7b75da3eb30217d8b4d3ccb9749119ebf499b75 (diff) | |
download | gdb-3721ef102785c6b5d706219407eeaed1902add3d.tar.gz |
Index: gdb/ChangeLog
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * fork-child.c (fork-inferior): Use accessor function for
+ inferior_io_terminal.
+ * infcmd.c (inferior_io_terminal): Make static.
+ (set_inferior_io_terminal): New function.
+ (get_inferior_io_terminal): Ditto.
+ (tty_command): Use accessor function.
+ (_initialize_infcmd): Add inferior_tty setshow variable.
+ (_initialize_infcmd): Remove tty command.
+ (_initialize_infcmd): Add a tty command that is an alias.
+ * inferior.h (set_inferior_io_terminal): New prototype.
+ (get_inferior_io_terminal): Ditto.
+ (new_tty_prefork): Add const qualifier to parameter.
+ * inflow.c (inferior_thisrun_terminal): Add const qualifier.
+ (new_tty_prefork): Add const qualifier to parameter.
+ * nto-procfs (procfs_create_inferior): Use accessor function.
+ (procfs_create_inferior): Add const qualifier to locals.
+ * win32-nat.c (child_create_inferior): Ditto.
+ * mi/mi-cmd-env.c (mi_cmd_inferior_tty_set): New function.
+ (mi_cmd_inferior_tty_set): Ditto.
+ * mi/mi-cmds.c (mi_cmds): Add inferior-tty-set and inferior-tty-show
+ * mi/mi-cmds.h (mi_cmd_inferior_tty_set): Add prototype.
+ (mi_cmd_inferior_tty_show): Ditto.
Index: gdb/doc/ChangeLog
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * gdb.texinfo (GDB/MI Miscellaneous Commands): Add -inferior-tty-set
+ and -inferior-tty-show.
+ (Input/Output): Document "set/show inferior-tty" and tty alias.
Index: gdb/testsuite/ChangeLog
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
+ command.
+ (Copyright): Update copyright.
Diffstat (limited to 'gdb/win32-nat.c')
-rw-r--r-- | gdb/win32-nat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index bd775ad6b27..d9525727479 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-nat.c @@ -1735,6 +1735,7 @@ child_create_inferior (char *exec_file, char *allargs, char **env, const char *sh; int tty; int ostdin, ostdout, ostderr; + const char *inferior_io_terminal = get_inferior_io_terminal (); if (!exec_file) error (_("No executable specified, use `target exec'.")); |