aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/tfind.exp
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2005-03-08 10:12:21 +0000
committerNathan Sidwell <nathan@codesourcery.com>2005-03-08 10:12:21 +0000
commit5f579bc5f9ba6cc5a444fa49f25fbfa5274bd37b (patch)
tree13ccd824256103c6ec363449479728d615f11917 /gdb/testsuite/gdb.trace/tfind.exp
parent549678dac212a054bd13d400abef7d67348c036b (diff)
downloadgdb-5f579bc5f9ba6cc5a444fa49f25fbfa5274bd37b.zip
gdb-5f579bc5f9ba6cc5a444fa49f25fbfa5274bd37b.tar.gz
gdb-5f579bc5f9ba6cc5a444fa49f25fbfa5274bd37b.tar.bz2
* gdb.base/sigbpt.exp: Disable if gdb,nosignals.
* gdb.base/signull.exp: Disable if gdb,nosignals. * gdb.cp/bs15503.exp: Disable if skip_cplus_tests * gdb.cp/exception.exp: Disable if skip_cplus_tests. * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio. * gdb.mi/mi2-console.exp: Likewise. * gdb.trace/collection.exp (run_trace_experiment): Consume the continue output at start. (gdb_collect_locals_test): Robustify regexp. * gdb.trace/passc-dyn.exp: Fix comment typo. * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
Diffstat (limited to 'gdb/testsuite/gdb.trace/tfind.exp')
-rw-r--r--gdb/testsuite/gdb.trace/tfind.exp8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.trace/tfind.exp b/gdb/testsuite/gdb.trace/tfind.exp
index 9507351..e11bb7f 100644
--- a/gdb/testsuite/gdb.trace/tfind.exp
+++ b/gdb/testsuite/gdb.trace/tfind.exp
@@ -54,12 +54,8 @@ if [istarget "m68k-*-elf"] then {
set srcfile ${testfile}.c
set binfile $objdir/$subdir/$testfile
- # Why does this test require '-O1' level optimization? (In
- # general, the optimization level should be left under the control
- # of the test framework (target_list and so on), so if we don't
- # have to override it in individual tests like this, we shouldn't.)
if { [gdb_compile "$srcdir/$subdir/$srcfile" "$binfile" \
- executable {debug additional_flags=-w optimize=-O1}] != "" } {
+ executable {debug additional_flags=-w}] != "" } {
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
}
gdb_load $binfile
@@ -303,7 +299,7 @@ gdb_tfind_test "8.13: tracepoint <no arg>" "tracepoint" \
"\$tracepoint" "$tdp1";
gdb_test "printf \"x \%d x\\n\", \$trace_frame == \$save_frame" \
"x 0 x" \
- "8.13: tracepoint <no arg>, tracepoint number unchanged"]
+ "8.13: tracepoint <no arg>, tracepoint number unchanged"
# 1.12 set tracepoint in prologue
#