diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-06-08 22:58:03 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-06-08 22:58:03 +0000 |
commit | de7ff7894a60ddc92840b84b370f0be82fc99116 (patch) | |
tree | c056fee6c33d01846b340460ac81400d8224a9f5 /gdb/testsuite/gdb.base/reread.exp | |
parent | 11dd4e37b44350ce7d8e3957256bfd24fdc64328 (diff) | |
download | gdb-de7ff7894a60ddc92840b84b370f0be82fc99116.zip gdb-de7ff7894a60ddc92840b84b370f0be82fc99116.tar.gz gdb-de7ff7894a60ddc92840b84b370f0be82fc99116.tar.bz2 |
2010-06-08 Michael Snyder <msnyder@vmware.com>
* 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.
Diffstat (limited to 'gdb/testsuite/gdb.base/reread.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/reread.exp | 18 |
1 files changed, 9 insertions, 9 deletions
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 $" { |