This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: mi tty commands
Date: Mon, 11 Jul 2005 17:26:24 -0400
From: Bob Rossi <bob@brasko.net>
This patch fixes both the regressions and breaks nothing else.
OK to Commit?
This is OK.
Mark
2005-07-11 Bob Rossi <bob@brasko.net>
* gdb.base/default.exp (tty): Changed output of command.
* gdb.base/help.exp (help tty): Ditto.
Thanks,
Bob Rossi
Index: gdb/testsuite/gdb.base/default.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/default.exp,v
retrieving revision 1.17
diff -u -r1.17 default.exp
--- gdb/testsuite/gdb.base/default.exp 20 Mar 2003 14:45:50 -0000 1.17
+++ gdb/testsuite/gdb.base/default.exp 11 Jul 2005 21:21:16 -0000
@@ -754,7 +754,7 @@
#test tbreak
gdb_test "tbreak" "No default breakpoint address now." "tbreak"
#test tty
-gdb_test "tty" "Argument required .terminal name for running target process.*" "tty"
+gdb_test "tty" "Argument required .filename to set it to\..*" "tty"
#test until "u" abbreviation
gdb_test "u" "The program is not running." "until \"u\" abbreviation"
#test until
Index: gdb/testsuite/gdb.base/help.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/help.exp,v
retrieving revision 1.14
diff -u -r1.14 help.exp
--- gdb/testsuite/gdb.base/help.exp 20 Mar 2003 14:19:41 -0000 1.14
+++ gdb/testsuite/gdb.base/help.exp 11 Jul 2005 21:21:17 -0000
@@ -562,7 +562,7 @@
# test help tbreak
gdb_test "help tbreak" "Set a temporary breakpoint.*" "help tbreak"
# test help tty
-gdb_test "help tty" "Set terminal for future runs of program being debugged\." "help tty"
+gdb_test "help tty" "Set terminal for future runs of program being debugged\.\[\r\n\]+Usage: set inferior-tty /dev/pts/1" "help tty"
# test help until "u" abbreviation
gdb_test "help u" "Execute until the program reaches a source line greater than the current\[\r\n\]+or a specified location \\(same args as break command\\) within the current frame\." "help until \"u\" abbreviation"
# test help until