From de7ff7894a60ddc92840b84b370f0be82fc99116 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Tue, 8 Jun 2010 22:58:03 +0000 Subject: 2010-06-08 Michael Snyder * gdb.ada/exec_changed.exp: Use ".*" instead of "" as wildcard regexp. * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp. * gdb.base/call-ar-st.exp: Ditto. * gdb.base/checkpoint.exp: Ditto. * gdb.base/default.exp: Ditto. * gdb.base/dump.exp: Ditto. * gdb.base/ending-run.exp: Ditto. * gdb.base/fileio.exp: Ditto. * gdb.base/miscexprs.exp: Ditto. * gdb.base/pointers.exp: Ditto. * gdb.base/readline.exp: Ditto. * gdb.base/reread.exp: Ditto. * gdb.base/restore.exp: Ditto. * gdb.base/shlib-call.exp: Ditto. * gdb.base/valgrind-db-attach.exp: Ditto. * gdb.base/volatile.exp: Ditto. * gdb.base/watchpoints.exp: Ditto. * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp. * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp. * gdb.python/py-value.exp: Ditto. * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp. * gdb.trace/circ.exp: Ditto. * gdb.trace/collection.exp: Ditto. * gdb.trace/packetlen.exp: Ditto. * gdb.trace/passc-dyn.exp: Ditto. * gdb.trace/report.exp: Ditto. * gdb.trace/tfile.exp: Ditto. * gdb.trace/tfind.exp: Ditto. * gdb.trace/while-dyn.exp: Ditto. --- gdb/testsuite/gdb.base/reread.exp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'gdb/testsuite/gdb.base/reread.exp') diff --git a/gdb/testsuite/gdb.base/reread.exp b/gdb/testsuite/gdb.base/reread.exp index 17d0da3..53ffa14 100644 --- a/gdb/testsuite/gdb.base/reread.exp +++ b/gdb/testsuite/gdb.base/reread.exp @@ -53,7 +53,7 @@ gdb_reinitialize_dir $srcdir/$subdir # Load the first executable. -gdb_test "shell mv ${binfile1} ${binfile}" "" "" +gdb_test "shell mv ${binfile1} ${binfile}" ".*" "" gdb_load ${binfile} # Set a breakpoint at foo @@ -82,10 +82,10 @@ gdb_expect { # second executable into its place. Ensure that the new # executable is at least a second newer than the old. -gdb_test "shell mv ${binfile} ${binfile1}" "" "" -gdb_test "shell mv ${binfile2} ${binfile}" "" "" -gdb_test "shell sleep 1" "" "" -gdb_test "shell touch ${binfile}" "" "" +gdb_test "shell mv ${binfile} ${binfile1}" ".*" "" +gdb_test "shell mv ${binfile2} ${binfile}" ".*" "" +gdb_test "shell sleep 1" ".*" "" +gdb_test "shell touch ${binfile}" ".*" "" # Run a second time; GDB should detect that the executable has changed # and reset the breakpoints correctly. @@ -120,8 +120,8 @@ if [is_remote target] { } else { # Put the older executable back in place. - gdb_test "shell mv ${binfile} ${binfile2}" "" "" - gdb_test "shell mv ${binfile1} ${binfile}" "" "" + gdb_test "shell mv ${binfile} ${binfile2}" ".*" "" + gdb_test "shell mv ${binfile1} ${binfile}" ".*" "" # Restart GDB entirely. gdb_start @@ -155,8 +155,8 @@ if [is_remote target] { # Now move the newer executable into place, and re-run. GDB # should still notice that the executable file has changed, # and still re-set the breakpoint appropriately. - gdb_test "shell mv ${binfile} ${binfile1}" "" "" - gdb_test "shell mv ${binfile2} ${binfile}" "" "" + gdb_test "shell mv ${binfile} ${binfile1}" ".*" "" + gdb_test "shell mv ${binfile2} ${binfile}" ".*" "" gdb_run_cmd gdb_expect { -re ".*Breakpoint.* foo .* at .*:9.*$gdb_prompt $" { -- cgit v1.1