diff options
author | Tom Tromey <tromey@redhat.com> | 2013-06-27 19:00:47 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-06-27 19:00:47 +0000 |
commit | 62cef5152a9ce7e5ddb906e4ea6bb4e70407f23b (patch) | |
tree | 1bc376a29f3833a00d6da755ec6aa46072eec0cf /gdb/testsuite/gdb.base/watchpoint-cond-gone.exp | |
parent | 0ab77f5fa21b665be0d099ea8eca2485c2d58f93 (diff) | |
download | binutils-gdb-62cef5152a9ce7e5ddb906e4ea6bb4e70407f23b.tar.gz |
test suite update - gdb.base/[t-z]
Convert files gdb.base/[t-z]*.exp to use standard_output_file et al.
* gdb.base/testenv.exp, gdb.base/tui-layout.exp,
gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
Use standard_testfile, standard_output_file, prepare_for_testing,
clean_restart.
Diffstat (limited to 'gdb/testsuite/gdb.base/watchpoint-cond-gone.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/watchpoint-cond-gone.exp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/gdb/testsuite/gdb.base/watchpoint-cond-gone.exp b/gdb/testsuite/gdb.base/watchpoint-cond-gone.exp index 44f1f7eb305..9c908ca0dc1 100644 --- a/gdb/testsuite/gdb.base/watchpoint-cond-gone.exp +++ b/gdb/testsuite/gdb.base/watchpoint-cond-gone.exp @@ -13,24 +13,18 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -set testfile "watchpoint-cond-gone" -set srcfile ${testfile}.c -set srcfilestripped ${testfile}-stripped.c -set objfilestripped ${objdir}/${subdir}/${testfile}-stripped.o -set binfile ${objdir}/${subdir}/${testfile} +standard_testfile .c watchpoint-cond-gone-stripped.c # We need to generate a function without DWARF to crash older GDB. # Stepping into a dynamic function trampoline or stepping out of MAIN may work # but it is not a reliable FAIL case. -if { [gdb_compile "${srcdir}/${subdir}/${srcfilestripped}" "${objfilestripped}" object {}] != "" - || [gdb_compile "${srcdir}/${subdir}/${srcfile} ${objfilestripped}" "${binfile}" executable {debug}] != "" } { - untested watchpoint-cond-gone.exp +if {[prepare_for_testing_full $testfile.exp \ + [list $testfile debug $srcfile debug $srcfile2 {}]]} { + untested $testfile.exp return -1 } -clean_restart ${testfile} - # Problem does not occur otherwise. gdb_test_no_output "set can-use-hw-watchpoints 0" |