diff options
Diffstat (limited to 'gdb/testsuite/gdb.trace')
45 files changed, 124 insertions, 124 deletions
diff --git a/gdb/testsuite/gdb.trace/actions-changed.exp b/gdb/testsuite/gdb.trace/actions-changed.exp index 296277a..3b8e6ba 100644 --- a/gdb/testsuite/gdb.trace/actions-changed.exp +++ b/gdb/testsuite/gdb.trace/actions-changed.exp @@ -160,12 +160,12 @@ proc test_actions_changed { } { clean_restart $testfile if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } if ![gdb_target_supports_trace] { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return -1 } diff --git a/gdb/testsuite/gdb.trace/actions.exp b/gdb/testsuite/gdb.trace/actions.exp index c4d1605..f02890a 100644 --- a/gdb/testsuite/gdb.trace/actions.exp +++ b/gdb/testsuite/gdb.trace/actions.exp @@ -39,7 +39,7 @@ gdb_file_cmd $binfile set baseline [gdb_find_recursion_test_baseline $srcfile] if { $baseline == -1 } then { - fail "Could not find gdb_recursion_test function" + fail "could not find gdb_recursion_test function" return } @@ -243,7 +243,7 @@ gdb_load $binfile gdb_breakpoint "main" gdb_run_cmd if {[gdb_test "" "Breakpoint .*"] != 0} { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.trace/backtrace.exp b/gdb/testsuite/gdb.trace/backtrace.exp index 881a798..44a7657 100644 --- a/gdb/testsuite/gdb.trace/backtrace.exp +++ b/gdb/testsuite/gdb.trace/backtrace.exp @@ -28,12 +28,12 @@ if [prepare_for_testing $expfile $executable $srcfile \ } if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } if { ![gdb_target_supports_trace] } then { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return 1 } @@ -58,7 +58,7 @@ set arg6 6 set baseline [gdb_find_recursion_test_baseline $srcfile] if { $baseline == -1 } { - fail "Could not find gdb_recursion_test function" + fail "could not find gdb_recursion_test function" return } diff --git a/gdb/testsuite/gdb.trace/change-loc.exp b/gdb/testsuite/gdb.trace/change-loc.exp index 9fef3f0..118060a 100644 --- a/gdb/testsuite/gdb.trace/change-loc.exp +++ b/gdb/testsuite/gdb.trace/change-loc.exp @@ -39,7 +39,7 @@ set additional_flags [list debug shlib=$lib_sl1 shlib_load [gdb_target_symbol_pr if { [gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != "" || [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $additional_flags] != ""} { - untested "Could not compile either $libsrc1 or $srcdir/$subdir/$srcfile." + untested "could not compile either $libsrc1 or $srcdir/$subdir/$srcfile." return -1 } @@ -49,12 +49,12 @@ gdb_load_shlib $lib_sl1 gdb_load_shlib $lib_sl2 if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } if { ![gdb_target_supports_trace] } then { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return -1 } @@ -70,7 +70,7 @@ proc tracepoint_change_loc_1 { trace_type } { clean_restart ${testfile} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } gdb_test_no_output "delete break 1" @@ -298,7 +298,7 @@ proc tracepoint_install_in_trace_disabled { trace_type } { clean_restart ${testfile} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.trace/collection.exp b/gdb/testsuite/gdb.trace/collection.exp index f225429..c2f2b5c 100644 --- a/gdb/testsuite/gdb.trace/collection.exp +++ b/gdb/testsuite/gdb.trace/collection.exp @@ -777,7 +777,7 @@ proc gdb_trace_collection_test {} { runto_main if { ![gdb_target_supports_trace] } then { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return 1 } diff --git a/gdb/testsuite/gdb.trace/deltrace.exp b/gdb/testsuite/gdb.trace/deltrace.exp index 652b6c1..bffd575 100644 --- a/gdb/testsuite/gdb.trace/deltrace.exp +++ b/gdb/testsuite/gdb.trace/deltrace.exp @@ -38,7 +38,7 @@ gdb_file_cmd $binfile # all subsequent line numbers are relative to this first one (baseline) set baseline [gdb_find_recursion_test_baseline $srcfile] if { $baseline == -1 } then { - fail "Could not find gdb_recursion_test function" + fail "could not find gdb_recursion_test function" return } set testline1 [expr $baseline + 4] diff --git a/gdb/testsuite/gdb.trace/disconnected-tracing.exp b/gdb/testsuite/gdb.trace/disconnected-tracing.exp index 240284b..5c45021 100644 --- a/gdb/testsuite/gdb.trace/disconnected-tracing.exp +++ b/gdb/testsuite/gdb.trace/disconnected-tracing.exp @@ -54,7 +54,7 @@ proc disconnected_tracing { } { # Start with a fresh gdb. clean_restart ${executable} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -117,7 +117,7 @@ proc disconnected_tfind { } { # Start with a fresh gdb. clean_restart ${executable} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.trace/entry-values.exp b/gdb/testsuite/gdb.trace/entry-values.exp index e8ed517..ced0095 100644 --- a/gdb/testsuite/gdb.trace/entry-values.exp +++ b/gdb/testsuite/gdb.trace/entry-values.exp @@ -80,7 +80,7 @@ gdb_test_multiple $test $test { } if { [string equal $returned_from_foo ""] } { - fail "Find the call or branch instruction offset in bar" + fail "find the call or branch instruction offset in bar" # The following test makes no sense if the offset is unknown. We need # to update the pattern above to match call or branch instruction for # the target architecture. @@ -175,7 +175,7 @@ if {[gdb_compile [list ${binfile}1.o ${binfile}2.o] \ clean_restart ${testfile} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -210,7 +210,7 @@ clean_restart $binfile load_lib "trace-support.exp" if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } diff --git a/gdb/testsuite/gdb.trace/ftrace-lock.exp b/gdb/testsuite/gdb.trace/ftrace-lock.exp index 0b12c8d..b48d969 100644 --- a/gdb/testsuite/gdb.trace/ftrace-lock.exp +++ b/gdb/testsuite/gdb.trace/ftrace-lock.exp @@ -30,14 +30,14 @@ set options [list debug [gdb_target_symbol_prefix_flags] \ # Check that the target supports trace. if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } { - untested "Couldn't compile test program" + untested "couldn't compile test program" return -1 } clean_restart ${testfile} if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } @@ -53,19 +53,19 @@ set remote_libipa [gdb_load_shlib $libipa] lappend options shlib=$libipa if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } { - untested "Couldn't compile test program with in-process agent library" + untested "couldn't compile test program with in-process agent library" return -1 } clean_restart ${executable} if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } if { [gdb_test "info sharedlibrary" ".*${remote_libipa}.*" "IPA loaded"] != 0 } { - untested "Could not find IPA lib loaded" + untested "could not find IPA lib loaded" return 1 } diff --git a/gdb/testsuite/gdb.trace/ftrace.exp b/gdb/testsuite/gdb.trace/ftrace.exp index e90485c..8b720d4 100644 --- a/gdb/testsuite/gdb.trace/ftrace.exp +++ b/gdb/testsuite/gdb.trace/ftrace.exp @@ -28,7 +28,7 @@ if [prepare_for_testing $expfile $executable $srcfile \ } if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } @@ -52,7 +52,7 @@ if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ clean_restart ${executable} if ![runto_main] { - fail "Can't run to main for ftrace tests" + fail "can't run to main for ftrace tests" return 0 } @@ -177,7 +177,7 @@ proc test_fast_tracepoints {} { gdb_reinitialize_dir $srcdir/$subdir if { [gdb_test "info sharedlibrary" ".*${remote_libipa}.*" "IPA loaded"] != 0 } { - untested "Could not find IPA lib loaded" + untested "could not find IPA lib loaded" return 1 } diff --git a/gdb/testsuite/gdb.trace/infotrace.exp b/gdb/testsuite/gdb.trace/infotrace.exp index 7ba212a..1561ead 100644 --- a/gdb/testsuite/gdb.trace/infotrace.exp +++ b/gdb/testsuite/gdb.trace/infotrace.exp @@ -102,12 +102,12 @@ gdb_trace_setactions "collect on tracepoint 1" "1" \ "collect gdb_struct1_test" "^$" gdb_run_cmd if {[gdb_test "" "Breakpoint ${decimal}, main.*"] != 0} { - fail "Can't run to main" + fail "can't run to main" return -1 } if { ![gdb_target_supports_trace] } then { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return 1 } diff --git a/gdb/testsuite/gdb.trace/mi-trace-frame-collected.exp b/gdb/testsuite/gdb.trace/mi-trace-frame-collected.exp index 567954a..3e2aff7 100644 --- a/gdb/testsuite/gdb.trace/mi-trace-frame-collected.exp +++ b/gdb/testsuite/gdb.trace/mi-trace-frame-collected.exp @@ -22,12 +22,12 @@ if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} {debug}] } { } if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } if ![gdb_target_supports_trace] { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return -1 } diff --git a/gdb/testsuite/gdb.trace/mi-trace-unavailable.exp b/gdb/testsuite/gdb.trace/mi-trace-unavailable.exp index a49cd17..3236d7c 100644 --- a/gdb/testsuite/gdb.trace/mi-trace-unavailable.exp +++ b/gdb/testsuite/gdb.trace/mi-trace-unavailable.exp @@ -22,12 +22,12 @@ if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} {debug}] } { } if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } if ![gdb_target_supports_trace] { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return -1 } diff --git a/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp b/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp index ce02389..3d57623 100644 --- a/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp +++ b/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp @@ -110,12 +110,12 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ clean_restart $executable if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } if ![gdb_target_supports_trace] { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return -1 } diff --git a/gdb/testsuite/gdb.trace/mi-tracepoint-changed.exp b/gdb/testsuite/gdb.trace/mi-tracepoint-changed.exp index a0e49af..43b34c9 100644 --- a/gdb/testsuite/gdb.trace/mi-tracepoint-changed.exp +++ b/gdb/testsuite/gdb.trace/mi-tracepoint-changed.exp @@ -32,13 +32,13 @@ set lib_opts [gdb_target_symbol_prefix_flags] if { [gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != "" || [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != ""} { - untested "Could not compile either $libsrc1 or $libsrc2" + untested "could not compile either $libsrc1 or $libsrc2" return -1 } set exec_opts [list debug shlib=$lib_sl1 shlib_load] if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != "" } { - untested "Failed to compile $srcfile" + untested "failed to compile $srcfile" return -1 } @@ -66,7 +66,7 @@ proc test_reconnect { } { gdb_load_shlib $lib_sl1 gdb_load_shlib $lib_sl2 if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } # Create tracepoints on marker and main, and leave them in the @@ -247,12 +247,12 @@ gdb_load_shlib $lib_sl1 gdb_load_shlib $lib_sl2 if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } if ![gdb_target_supports_trace] { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return -1 } diff --git a/gdb/testsuite/gdb.trace/mi-tsv-changed.exp b/gdb/testsuite/gdb.trace/mi-tsv-changed.exp index 1a4783d..cf9a448 100644 --- a/gdb/testsuite/gdb.trace/mi-tsv-changed.exp +++ b/gdb/testsuite/gdb.trace/mi-tsv-changed.exp @@ -65,12 +65,12 @@ proc test_create_delete_modify_tsv { } { clean_restart $testfile if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } if ![gdb_target_supports_trace] { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return -1 } gdb_exit @@ -147,7 +147,7 @@ proc test_upload_tsv { } { clean_restart $testfile if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } @@ -233,12 +233,12 @@ proc test_upload_tsv { } { clean_restart $testfile if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } if ![gdb_target_supports_trace] { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return -1 } diff --git a/gdb/testsuite/gdb.trace/no-attach-trace.exp b/gdb/testsuite/gdb.trace/no-attach-trace.exp index 7ee8a4f..06d86e6 100644 --- a/gdb/testsuite/gdb.trace/no-attach-trace.exp +++ b/gdb/testsuite/gdb.trace/no-attach-trace.exp @@ -31,7 +31,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { clean_restart $testfile if { ![gdb_target_supports_trace] } then { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return 1 } @@ -43,7 +43,7 @@ gdb_test "tstart" "Target returns error code.*\." with_test_prefix "after tstart" { if ![runto_main] { - fail "Can't run to main, target may have died unexpectedly" + fail "can't run to main, target may have died unexpectedly" return -1 } } diff --git a/gdb/testsuite/gdb.trace/packetlen.exp b/gdb/testsuite/gdb.trace/packetlen.exp index 93bfc79..a790063 100644 --- a/gdb/testsuite/gdb.trace/packetlen.exp +++ b/gdb/testsuite/gdb.trace/packetlen.exp @@ -34,7 +34,7 @@ runto_main gdb_reinitialize_dir $srcdir/$subdir if { ![gdb_target_supports_trace] } then { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return 1 } diff --git a/gdb/testsuite/gdb.trace/passc-dyn.exp b/gdb/testsuite/gdb.trace/passc-dyn.exp index c5e2e2b..d8d68ec 100644 --- a/gdb/testsuite/gdb.trace/passc-dyn.exp +++ b/gdb/testsuite/gdb.trace/passc-dyn.exp @@ -33,7 +33,7 @@ runto_main gdb_reinitialize_dir $srcdir/$subdir if { ![gdb_target_supports_trace] } then { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return 1 } @@ -49,7 +49,7 @@ if { ![gdb_target_supports_trace] } then { set baseline [gdb_find_recursion_test_baseline $srcfile] if { $baseline == -1 } then { - fail "Could not find gdb_recursion_test function" + fail "could not find gdb_recursion_test function" return } diff --git a/gdb/testsuite/gdb.trace/passcount.exp b/gdb/testsuite/gdb.trace/passcount.exp index 2ec858a..df7e39d 100644 --- a/gdb/testsuite/gdb.trace/passcount.exp +++ b/gdb/testsuite/gdb.trace/passcount.exp @@ -37,7 +37,7 @@ gdb_file_cmd $binfile # all subsequent line numbers are relative to this first one (baseline) set baseline [gdb_find_recursion_test_baseline $srcfile] if { $baseline == -1 } then { - fail "Could not find gdb_recursion_test function" + fail "could not find gdb_recursion_test function" return } diff --git a/gdb/testsuite/gdb.trace/pending.exp b/gdb/testsuite/gdb.trace/pending.exp index f7905fb..28ffc28 100644 --- a/gdb/testsuite/gdb.trace/pending.exp +++ b/gdb/testsuite/gdb.trace/pending.exp @@ -31,13 +31,13 @@ set lib_opts [gdb_target_symbol_prefix_flags] if { [gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != "" || [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != ""} { - untested "Could not compile either $libsrc1 or $libsrc2" + untested "could not compile either $libsrc1 or $libsrc2" return -1 } set exec_opts [list debug shlib=$lib_sl1 shlib_load] if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != "" } { - untested "Failed to compile $srcfile" + untested "failed to compile $srcfile" return -1 } @@ -47,12 +47,12 @@ gdb_load_shlib $lib_sl1 gdb_load_shlib $lib_sl2 if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } if ![gdb_target_supports_trace] { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return -1 } @@ -183,7 +183,7 @@ proc pending_tracepoint_resolved_during_trace { trace_type } \ # Start with a fresh gdb. clean_restart $executable if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -252,7 +252,7 @@ proc pending_tracepoint_installed_during_trace { trace_type } \ # Start with a fresh gdb. clean_restart $executable if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -326,7 +326,7 @@ proc pending_tracepoint_disconnect_during_trace { trace_type } \ # Start with a fresh gdb. clean_restart $executable if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -374,7 +374,7 @@ proc pending_tracepoint_disconnect_after_resolved { trace_type } \ # Start with a fresh gdb. clean_restart $executable if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -427,7 +427,7 @@ proc pending_tracepoint_with_action_resolved { trace_type } \ # Start with a fresh gdb. clean_restart $executable if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -508,7 +508,7 @@ gdb_load_shlib $libipa lappend exec_opts "shlib=$libipa" if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != "" } { - untested "Failed to compile $srcfile" + untested "failed to compile $srcfile" return -1 } diff --git a/gdb/testsuite/gdb.trace/pr16508.exp b/gdb/testsuite/gdb.trace/pr16508.exp index 7e6cbf5..8e963c3 100644 --- a/gdb/testsuite/gdb.trace/pr16508.exp +++ b/gdb/testsuite/gdb.trace/pr16508.exp @@ -23,7 +23,7 @@ if [prepare_for_testing "failed to prepare for trace tests" \ } if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } diff --git a/gdb/testsuite/gdb.trace/qtro.exp b/gdb/testsuite/gdb.trace/qtro.exp index 7bc80b8..444b453 100644 --- a/gdb/testsuite/gdb.trace/qtro.exp +++ b/gdb/testsuite/gdb.trace/qtro.exp @@ -28,7 +28,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { clean_restart $testfile if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } @@ -40,7 +40,7 @@ if ![gdb_is_target_remote] { } if ![gdb_target_supports_trace] { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return -1 } diff --git a/gdb/testsuite/gdb.trace/range-stepping.exp b/gdb/testsuite/gdb.trace/range-stepping.exp index ba8c3d2..81da27d 100644 --- a/gdb/testsuite/gdb.trace/range-stepping.exp +++ b/gdb/testsuite/gdb.trace/range-stepping.exp @@ -25,7 +25,7 @@ if [prepare_for_testing $testfile.exp $executable $srcfile \ } if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } @@ -78,13 +78,13 @@ if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ clean_restart ${executable} if ![runto_main] { - fail "Can't run to main for ftrace tests" + fail "can't run to main for ftrace tests" return 0 } gdb_reinitialize_dir $srcdir/$subdir if { [gdb_test "info sharedlibrary" ".*${remote_libipa}.*" "IPA loaded"] != 0 } { - untested "Could not find IPA lib loaded" + untested "could not find IPA lib loaded" } else { range_stepping_with_tracepoint "ftrace" } diff --git a/gdb/testsuite/gdb.trace/read-memory.exp b/gdb/testsuite/gdb.trace/read-memory.exp index 35402cb..b82967d 100644 --- a/gdb/testsuite/gdb.trace/read-memory.exp +++ b/gdb/testsuite/gdb.trace/read-memory.exp @@ -23,7 +23,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { } if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } @@ -40,7 +40,7 @@ proc set_tracepoint_and_collect { } { # Start with a fresh gdb. clean_restart ${testfile} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } gdb_test "break end" "Breakpoint \[0-9\] at .*" diff --git a/gdb/testsuite/gdb.trace/report.exp b/gdb/testsuite/gdb.trace/report.exp index 7d89627..f487ec6 100644 --- a/gdb/testsuite/gdb.trace/report.exp +++ b/gdb/testsuite/gdb.trace/report.exp @@ -34,7 +34,7 @@ runto_main gdb_reinitialize_dir $srcdir/$subdir if { ![gdb_target_supports_trace] } then { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return 1 } @@ -64,7 +64,7 @@ set arg6 6 set gdb_recursion_test_baseline [gdb_find_recursion_test_baseline $srcfile] if { $gdb_recursion_test_baseline == -1 } { - fail "Could not find gdb_recursion_test function" + fail "could not find gdb_recursion_test function" return } diff --git a/gdb/testsuite/gdb.trace/save-trace.exp b/gdb/testsuite/gdb.trace/save-trace.exp index a70ad54..dfbbdca 100644 --- a/gdb/testsuite/gdb.trace/save-trace.exp +++ b/gdb/testsuite/gdb.trace/save-trace.exp @@ -38,7 +38,7 @@ gdb_file_cmd $binfile # all subsequent line numbers are relative to this first one (baseline) set baseline [gdb_find_recursion_test_baseline $srcfile] if { $baseline == -1 } then { - fail "Could not find gdb_recursion_test function" + fail "could not find gdb_recursion_test function" return } diff --git a/gdb/testsuite/gdb.trace/signal.exp b/gdb/testsuite/gdb.trace/signal.exp index 48e495e..f36133a 100644 --- a/gdb/testsuite/gdb.trace/signal.exp +++ b/gdb/testsuite/gdb.trace/signal.exp @@ -36,7 +36,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { } if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } @@ -63,7 +63,7 @@ if { [istarget "i\[34567\]86-*-linux*"] || [istarget "x86_64-*-linux*"] } { # Start with a fresh gdb. clean_restart ${testfile} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.trace/stap-trace.exp b/gdb/testsuite/gdb.trace/stap-trace.exp index 1c002c1..4cb05d5 100644 --- a/gdb/testsuite/gdb.trace/stap-trace.exp +++ b/gdb/testsuite/gdb.trace/stap-trace.exp @@ -42,7 +42,7 @@ proc compile_stap_bin {exec_name {arg ""}} { if { [gdb_compile "$srcdir/$subdir/$srcfile" \ [standard_output_file $exec_name] \ executable [concat $arg debug nowarnings]] != "" } { - untested "Could not compile ${srcfile}" + untested "could not compile ${srcfile}" return 0 } diff --git a/gdb/testsuite/gdb.trace/status-stop.exp b/gdb/testsuite/gdb.trace/status-stop.exp index 73bc6e7..d6ce4ce 100644 --- a/gdb/testsuite/gdb.trace/status-stop.exp +++ b/gdb/testsuite/gdb.trace/status-stop.exp @@ -26,7 +26,7 @@ if [prepare_for_testing $expfile $executable $srcfile \ } if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } @@ -45,7 +45,7 @@ proc test_tstart_tstop_tstart { } { # Start with a fresh gdb. clean_restart ${executable} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -72,7 +72,7 @@ proc test_tstart_tstart { } { # Start with a fresh gdb. clean_restart ${executable} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -99,7 +99,7 @@ proc test_buffer_full_tstart { } { # Start with a fresh gdb. clean_restart ${executable} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.trace/strace.exp b/gdb/testsuite/gdb.trace/strace.exp index 6394926..6b11fcf 100644 --- a/gdb/testsuite/gdb.trace/strace.exp +++ b/gdb/testsuite/gdb.trace/strace.exp @@ -51,7 +51,7 @@ proc strace_remove_socket { action } { clean_restart $executable gdb_load_shlib $libipa if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -136,7 +136,7 @@ proc strace_info_marker { } { clean_restart $executable gdb_load_shlib $libipa if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -173,7 +173,7 @@ proc strace_probe_marker { } { clean_restart $executable gdb_load_shlib $libipa if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -213,7 +213,7 @@ proc strace_trace_on_same_addr { type } { clean_restart $executable gdb_load_shlib $libipa if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -317,7 +317,7 @@ proc strace_trace_on_diff_addr { } { clean_restart $executable gdb_load_shlib $libipa if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -377,7 +377,7 @@ if { [istarget "x86_64-*-linux*"] || [istarget "i\[34567\]86-*-linux*"] } { clean_restart $executable gdb_load_shlib $libipa if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } if { ![gdb_target_supports_trace] } then { @@ -386,7 +386,7 @@ if { ![gdb_target_supports_trace] } then { # file can be removed. Note that GDB simply kill inferior doesn't remove # the socket file. gdb_test "detach" "Detaching .*, process .*" - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return -1 } diff --git a/gdb/testsuite/gdb.trace/tfile.exp b/gdb/testsuite/gdb.trace/tfile.exp index 183b4c3..9f89d3d 100644 --- a/gdb/testsuite/gdb.trace/tfile.exp +++ b/gdb/testsuite/gdb.trace/tfile.exp @@ -51,7 +51,7 @@ remote_file target delete $tfile_basic remote_file target delete $tfile_error if { ![generate_tracefile $binfile] } { - unsupported "Unable to generate trace file" + unsupported "unable to generate trace file" return -1 } diff --git a/gdb/testsuite/gdb.trace/tfind.exp b/gdb/testsuite/gdb.trace/tfind.exp index d78547d..cfd7db3 100644 --- a/gdb/testsuite/gdb.trace/tfind.exp +++ b/gdb/testsuite/gdb.trace/tfind.exp @@ -63,7 +63,7 @@ runto_main gdb_reinitialize_dir $srcdir/$subdir if { ![gdb_target_supports_trace] } then { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return 1 } @@ -75,7 +75,7 @@ if { ![gdb_target_supports_trace] } then { # all subsequent line numbers are relative to this first one (baseline) set baseline [gdb_find_recursion_test_baseline $srcfile] if { $baseline == -1 } then { - fail "Could not find gdb_recursion_test function" + fail "could not find gdb_recursion_test function" return } diff --git a/gdb/testsuite/gdb.trace/trace-break.exp b/gdb/testsuite/gdb.trace/trace-break.exp index a90d02d..b7b2ea1 100644 --- a/gdb/testsuite/gdb.trace/trace-break.exp +++ b/gdb/testsuite/gdb.trace/trace-break.exp @@ -28,7 +28,7 @@ if [prepare_for_testing $expfile $executable $srcfile \ } if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } @@ -48,7 +48,7 @@ proc break_trace_same_addr_1 { trace_type option } \ # Start with a fresh gdb. clean_restart ${executable} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -83,7 +83,7 @@ proc break_trace_same_addr_2 { trace_type1 trace_type2 option } \ # Start with a fresh gdb. clean_restart ${executable} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -122,7 +122,7 @@ proc break_trace_same_addr_3 { trace_type option } \ # Start with a fresh gdb. clean_restart ${executable} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -160,7 +160,7 @@ proc break_trace_same_addr_4 { trace_type option } \ # Start with a fresh gdb. clean_restart ${executable} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -204,7 +204,7 @@ proc break_trace_same_addr_5 { trace1 trace2 trace3 trace3_at_first_loc } \ # Start with a fresh gdb. clean_restart ${executable} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -278,7 +278,7 @@ proc break_trace_same_addr_6 { trace1 enable1 trace2 enable2 } \ # Start with a fresh gdb. clean_restart ${executable} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -363,13 +363,13 @@ if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ clean_restart ${executable} if ![runto_main] { - fail "Can't run to main for ftrace tests" + fail "can't run to main for ftrace tests" return 0 } gdb_reinitialize_dir $srcdir/$subdir if { [gdb_test "info sharedlibrary" ".*${remote_libipa}.*" "IPA loaded"] != 0 } { - untested "Could not find IPA lib loaded" + untested "could not find IPA lib loaded" } else { foreach break_always_inserted { "on" "off" } { break_trace_same_addr_1 "ftrace" ${break_always_inserted} diff --git a/gdb/testsuite/gdb.trace/trace-condition.exp b/gdb/testsuite/gdb.trace/trace-condition.exp index e36dba4..0e93e51 100644 --- a/gdb/testsuite/gdb.trace/trace-condition.exp +++ b/gdb/testsuite/gdb.trace/trace-condition.exp @@ -28,7 +28,7 @@ if [prepare_for_testing $expfile $executable $srcfile \ } if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } @@ -53,12 +53,12 @@ if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ clean_restart ${executable} if ![runto_main] { - fail "Can't run to main for ftrace tests" + fail "can't run to main for ftrace tests" return 0 } if { [gdb_test "info sharedlibrary" ".*${remote_libipa}.*" "IPA loaded"] != 0 } { - untested "Could not find IPA lib loaded" + untested "could not find IPA lib loaded" return 1 } @@ -68,7 +68,7 @@ proc test_tracepoints { trace_command condition num_frames { kfail_proc 0 } } { clean_restart ${executable} if ![runto_main] { - fail "Can't run to main for ftrace tests" + fail "can't run to main for ftrace tests" return 0 } diff --git a/gdb/testsuite/gdb.trace/trace-enable-disable.exp b/gdb/testsuite/gdb.trace/trace-enable-disable.exp index 0c35c92..43891fa 100644 --- a/gdb/testsuite/gdb.trace/trace-enable-disable.exp +++ b/gdb/testsuite/gdb.trace/trace-enable-disable.exp @@ -23,14 +23,14 @@ set options [list debug [gdb_target_symbol_prefix_flags]] # Check that the target supports trace. if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } { - untested "Couldn't compile test program" + untested "couldn't compile test program" return -1 } clean_restart ${testfile} if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } @@ -46,7 +46,7 @@ gdb_load_shlib $libipa lappend options shlib=$libipa if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } { - untested "Couldn't compile test program with in-process agent library" + untested "couldn't compile test program with in-process agent library" return -1 } @@ -62,7 +62,7 @@ proc test_tracepoint_enable_disable { tracepoint_cmd } { set expected 0 if ![runto_main] { - fail "Can't run to main." + fail "can't run to main." return -1 } diff --git a/gdb/testsuite/gdb.trace/trace-mt.exp b/gdb/testsuite/gdb.trace/trace-mt.exp index b580344..bab2a61 100644 --- a/gdb/testsuite/gdb.trace/trace-mt.exp +++ b/gdb/testsuite/gdb.trace/trace-mt.exp @@ -23,14 +23,14 @@ set additional_flags [gdb_target_symbol_prefix_flags] if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile \ executable [list debug $additional_flags] ] != "" } { - untested "Couldn't compile test program" + untested "couldn't compile test program" return -1 } clean_restart ${testfile} if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } @@ -50,7 +50,7 @@ proc step_over_tracepoint { trace_type } \ # Make sure inferior is running in all-stop mode. gdb_test_no_output "set non-stop 0" if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -75,7 +75,7 @@ proc break_trace_same_addr { trace_type option } \ # Start with a fresh gdb. clean_restart ${executable} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -118,13 +118,13 @@ if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile \ clean_restart ${executable} if ![runto_main] { - fail "Can't run to main for ftrace tests" + fail "can't run to main for ftrace tests" return 0 } gdb_reinitialize_dir $srcdir/$subdir if { [gdb_test "info sharedlibrary" ".*${remote_libipa}.*" "IPA loaded"] != 0 } { - untested "Could not find IPA lib loaded" + untested "could not find IPA lib loaded" } else { foreach break_always_inserted { "on" "off" } { break_trace_same_addr "ftrace" ${break_always_inserted} diff --git a/gdb/testsuite/gdb.trace/tracecmd.exp b/gdb/testsuite/gdb.trace/tracecmd.exp index 11ef691..645dcbc 100644 --- a/gdb/testsuite/gdb.trace/tracecmd.exp +++ b/gdb/testsuite/gdb.trace/tracecmd.exp @@ -37,7 +37,7 @@ gdb_file_cmd $binfile # all subsequent line numbers are relative to this first one (baseline) set baseline [gdb_find_recursion_test_baseline $srcfile] if { $baseline == -1 } then { - fail "Could not find gdb_recursion_test function" + fail "could not find gdb_recursion_test function" return } @@ -163,9 +163,9 @@ gdb_delete_tracepoints # Acceptance vs rejection of a location are target-specific, so allow both. gdb_test_multiple "ftrace gdb_recursion_test" "Set a fast tracepoint" { -re "Fast tracepoint $decimal at $hex: file.*$srcfile, line $testline1.*$gdb_prompt $" { - pass "Set a fast tracepoint" + pass "set a fast tracepoint" } -re ".*May not have a fast tracepoint at $hex.*$gdb_prompt $" { - pass "Declined to set a fast tracepoint" + pass "declined to set a fast tracepoint" } } diff --git a/gdb/testsuite/gdb.trace/tracefile-pseudo-reg.exp b/gdb/testsuite/gdb.trace/tracefile-pseudo-reg.exp index 4c52c64..52735d3 100644 --- a/gdb/testsuite/gdb.trace/tracefile-pseudo-reg.exp +++ b/gdb/testsuite/gdb.trace/tracefile-pseudo-reg.exp @@ -27,7 +27,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile \ } if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } diff --git a/gdb/testsuite/gdb.trace/tspeed.exp b/gdb/testsuite/gdb.trace/tspeed.exp index e638839..885fe23 100644 --- a/gdb/testsuite/gdb.trace/tspeed.exp +++ b/gdb/testsuite/gdb.trace/tspeed.exp @@ -128,7 +128,7 @@ clean_restart $executable runto_main if { ![gdb_target_supports_trace] } then { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return 1 } diff --git a/gdb/testsuite/gdb.trace/tstatus.exp b/gdb/testsuite/gdb.trace/tstatus.exp index de6efb6..c3957c2 100644 --- a/gdb/testsuite/gdb.trace/tstatus.exp +++ b/gdb/testsuite/gdb.trace/tstatus.exp @@ -25,7 +25,7 @@ if [prepare_for_testing $expfile $executable $srcfile \ } if ![runto_main] { - fail "Can't run to main to check for trace support" + fail "can't run to main to check for trace support" return -1 } diff --git a/gdb/testsuite/gdb.trace/tsv.exp b/gdb/testsuite/gdb.trace/tsv.exp index f146745..d9e2d6b 100644 --- a/gdb/testsuite/gdb.trace/tsv.exp +++ b/gdb/testsuite/gdb.trace/tsv.exp @@ -106,7 +106,7 @@ gdb_reinitialize_dir $srcdir/$subdir # The rest of the testing needs actual tracing to work. if { ![gdb_target_supports_trace] } then { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return 1 } @@ -193,7 +193,7 @@ gdb_test_multiple "target ctf ${tracefile}.ctf" "" { clean_restart ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.trace/unavailable.exp b/gdb/testsuite/gdb.trace/unavailable.exp index ed1b533..d7cf020 100644 --- a/gdb/testsuite/gdb.trace/unavailable.exp +++ b/gdb/testsuite/gdb.trace/unavailable.exp @@ -732,7 +732,7 @@ proc gdb_trace_collection_test {} { runto_main if { ![gdb_target_supports_trace] } then { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return 1 } diff --git a/gdb/testsuite/gdb.trace/while-dyn.exp b/gdb/testsuite/gdb.trace/while-dyn.exp index 79785e2..b090f76 100644 --- a/gdb/testsuite/gdb.trace/while-dyn.exp +++ b/gdb/testsuite/gdb.trace/while-dyn.exp @@ -35,7 +35,7 @@ runto_main gdb_reinitialize_dir $srcdir/$subdir if { ![gdb_target_supports_trace] } then { - unsupported "Current target does not support trace" + unsupported "current target does not support trace" return 1 } diff --git a/gdb/testsuite/gdb.trace/while-stepping.exp b/gdb/testsuite/gdb.trace/while-stepping.exp index fe4588a..2705852 100644 --- a/gdb/testsuite/gdb.trace/while-stepping.exp +++ b/gdb/testsuite/gdb.trace/while-stepping.exp @@ -41,7 +41,7 @@ gdb_file_cmd $binfile gdb_delete_tracepoints set trcpt1 [gdb_gettpnum gdb_c_test] if { $trcpt1 <= 0 } then { - fail "Could not find gdb_c_test function" + fail "could not find gdb_c_test function" return } @@ -108,7 +108,7 @@ gdb_load $binfile gdb_breakpoint "main" gdb_run_cmd if {[gdb_test "" "Breakpoint .*"] != 0} { - fail "Can't run to main" + fail "can't run to main" return -1 } |