This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Testsuite fix for chng-syms.exp
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com,"Paul N. Hilfinger" <Hilfinger at gnat dot com>
- Date: Sat, 31 Jan 2004 13:12:33 -0500
- Subject: [ob] Testsuite fix for chng-syms.exp
gdb_test already adds "\n" after the command. The extra \n caused the
command to be re-issued, and could potentially cause expect to get out of
sync with the GDB prompt.
Committed.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2004-01-31 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/chng-syms.exp: Remove stray newline.
Index: gdb.base/chng-syms.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/chng-syms.exp,v
retrieving revision 1.1
diff -u -p -r1.1 chng-syms.exp
--- gdb.base/chng-syms.exp 29 Jan 2004 11:15:44 -0000 1.1
+++ gdb.base/chng-syms.exp 31 Jan 2004 18:10:47 -0000
@@ -74,7 +74,7 @@ gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
-gdb_test "break stop_here if (var1 == 42)\n" \
+gdb_test "break stop_here if (var1 == 42)" \
"Breakpoint.*at.* file .*$srcfile, line.*" \
"setting conditional breakpoint on function"
gdb_run_cmd