diff options
author | Luis Machado <lgustavo@codesourcery.com> | 2016-12-01 14:40:05 -0600 |
---|---|---|
committer | Luis Machado <lgustavo@codesourcery.com> | 2016-12-01 14:40:05 -0600 |
commit | bc6c7af4a2f23c48a38139fc7e0ed2ac7b12bb69 (patch) | |
tree | 12daa85bf69d7358d97bccd3a9fd00fbbfaca53b /gdb/testsuite/gdb.trace | |
parent | 88256e713c707aeb850688071150d32f9cca5a91 (diff) | |
download | gdb-bc6c7af4a2f23c48a38139fc7e0ed2ac7b12bb69.zip gdb-bc6c7af4a2f23c48a38139fc7e0ed2ac7b12bb69.tar.gz gdb-bc6c7af4a2f23c48a38139fc7e0ed2ac7b12bb69.tar.bz2 |
Fix test names starting with uppercase output by basic functions
The following patch is based on the previous patch i sent and handles cases of
test names that start with an uppercase letter. Test names should start with
lowercase unless it starts with the name of a technology, architecture, ISA
etc.
This first patch addresses cases of test names output explicitly via xfail,
kfail, kpass, fail, pass, unsupported, untested and also names set with the
pattern "set test" and "set testname".
gdb/testsuite/ChangeLog:
2016-12-01 Luis Machado <lgustavo@codesourcery.com>
Fix test names starting with uppercase throughout all the files below.
* gdb.ada/array_return.exp
* gdb.ada/catch_ex.exp
* gdb.ada/info_exc.exp
* gdb.ada/mi_catch_ex.exp
* gdb.ada/mi_dyn_arr.exp
* gdb.ada/mi_ex_cond.exp
* gdb.ada/mi_exc_info.exp
* gdb.ada/mi_interface.exp
* gdb.ada/mi_task_arg.exp
* gdb.ada/mi_task_info.exp
* gdb.ada/mi_var_array.exp
* gdb.arch/alpha-step.exp
* gdb.arch/amd64-disp-step.exp
* gdb.arch/arm-disp-step.exp
* gdb.arch/disp-step-insn-reloc.exp
* gdb.arch/e500-prologue.exp
* gdb.arch/ftrace-insn-reloc.exp
* gdb.arch/gdb1558.exp
* gdb.arch/i386-bp_permanent.exp
* gdb.arch/i386-disp-step.exp
* gdb.arch/i386-float.exp
* gdb.arch/i386-gnu-cfi.exp
* gdb.arch/ia64-breakpoint-shadow.exp
* gdb.arch/mips16-thunks.exp
* gdb.arch/pa-nullify.exp
* gdb.arch/powerpc-aix-prologue.exp
* gdb.arch/powerpc-power.exp
* gdb.arch/ppc-dfp.exp
* gdb.arch/s390-tdbregs.exp
* gdb.arch/spu-info.exp
* gdb.arch/spu-ls.exp
* gdb.arch/thumb-bx-pc.exp
* gdb.base/advance.exp
* gdb.base/annota-input-while-running.exp
* gdb.base/arrayidx.exp
* gdb.base/asmlabel.exp
* gdb.base/async.exp
* gdb.base/attach-wait-input.exp
* gdb.base/auto-connect-native-target.exp
* gdb.base/batch-preserve-term-settings.exp
* gdb.base/bfp-test.exp
* gdb.base/bigcore.exp
* gdb.base/bp-permanent.exp
* gdb.base/break-always.exp
* gdb.base/break-fun-addr.exp
* gdb.base/break-idempotent.exp
* gdb.base/break-main-file-remove-fail.exp
* gdb.base/break-probes.exp
* gdb.base/break-unload-file.exp
* gdb.base/break.exp
* gdb.base/call-ar-st.exp
* gdb.base/call-rt-st.exp
* gdb.base/call-sc.exp
* gdb.base/call-signal-resume.exp
* gdb.base/call-strs.exp
* gdb.base/callexit.exp
* gdb.base/callfuncs.exp
* gdb.base/catch-gdb-caused-signals.exp
* gdb.base/catch-signal-siginfo-cond.exp
* gdb.base/catch-syscall.exp
* gdb.base/compare-sections.exp
* gdb.base/cond-eval-mode.exp
* gdb.base/condbreak-call-false.exp
* gdb.base/consecutive-step-over.exp
* gdb.base/cursal.exp
* gdb.base/disabled-location.exp
* gdb.base/disasm-end-cu.exp
* gdb.base/display.exp
* gdb.base/double-prompt-target-event-error.exp
* gdb.base/dprintf-bp-same-addr.exp
* gdb.base/dprintf-detach.exp
* gdb.base/dprintf-next.exp
* gdb.base/dprintf-non-stop.exp
* gdb.base/dprintf-pending.exp
* gdb.base/dso2dso.exp
* gdb.base/ending-run.exp
* gdb.base/enum_cond.exp
* gdb.base/examine-backward.exp
* gdb.base/exe-lock.exp
* gdb.base/exec-invalid-sysroot.exp
* gdb.base/execl-update-breakpoints.exp
* gdb.base/execution-termios.exp
* gdb.base/fileio.exp
* gdb.base/fixsection.exp
* gdb.base/foll-exec-mode.exp
* gdb.base/foll-exec.exp
* gdb.base/fork-running-state.exp
* gdb.base/frame-args.exp
* gdb.base/fullpath-expand.exp
* gdb.base/func-ptr.exp
* gdb.base/gcore-relro-pie.exp
* gdb.base/gdb1090.exp
* gdb.base/gdb1555.exp
* gdb.base/global-var-nested-by-dso.exp
* gdb.base/gnu-ifunc.exp
* gdb.base/hbreak-in-shr-unsupported.exp
* gdb.base/hbreak-unmapped.exp
* gdb.base/hook-stop.exp
* gdb.base/infcall-input.exp
* gdb.base/info-fun.exp
* gdb.base/info-shared.exp
* gdb.base/interrupt-noterm.exp
* gdb.base/jit-so.exp
* gdb.base/jit.exp
* gdb.base/line-symtabs.exp
* gdb.base/list.exp
* gdb.base/longjmp.exp
* gdb.base/macscp.exp
* gdb.base/max-value-size.exp
* gdb.base/nodebug.exp
* gdb.base/nofield.exp
* gdb.base/overlays.exp
* gdb.base/paginate-after-ctrl-c-running.exp
* gdb.base/paginate-bg-execution.exp
* gdb.base/paginate-inferior-exit.exp
* gdb.base/pending.exp
* gdb.base/pr11022.exp
* gdb.base/printcmds.exp
* gdb.base/ptr-typedef.exp
* gdb.base/ptype.exp
* gdb.base/randomize.exp
* gdb.base/range-stepping.exp
* gdb.base/realname-expand.exp
* gdb.base/relativedebug.exp
* gdb.base/remote.exp
* gdb.base/savedregs.exp
* gdb.base/sepdebug.exp
* gdb.base/set-noassign.exp
* gdb.base/shlib-call.exp
* gdb.base/shreloc.exp
* gdb.base/sigaltstack.exp
* gdb.base/sigbpt.exp
* gdb.base/siginfo-addr.exp
* gdb.base/siginfo-obj.exp
* gdb.base/siginfo-thread.exp
* gdb.base/signest.exp
* gdb.base/signull.exp
* gdb.base/sigrepeat.exp
* gdb.base/skip.exp
* gdb.base/so-impl-ld.exp
* gdb.base/solib-corrupted.exp
* gdb.base/solib-disc.exp
* gdb.base/solib-display.exp
* gdb.base/solib-overlap.exp
* gdb.base/solib-search.exp
* gdb.base/solib-symbol.exp
* gdb.base/source-execution.exp
* gdb.base/sss-bp-on-user-bp-2.exp
* gdb.base/sss-bp-on-user-bp.exp
* gdb.base/stack-checking.exp
* gdb.base/stale-infcall.exp
* gdb.base/step-break.exp
* gdb.base/step-line.exp
* gdb.base/step-over-exit.exp
* gdb.base/step-test.exp
* gdb.base/structs.exp
* gdb.base/sym-file.exp
* gdb.base/symtab-search-order.exp
* gdb.base/term.exp
* gdb.base/type-opaque.exp
* gdb.base/unload.exp
* gdb.base/until-nodebug.exp
* gdb.base/until.exp
* gdb.base/unwindonsignal.exp
* gdb.base/watch-cond.exp
* gdb.base/watch-non-mem.exp
* gdb.base/watch_thread_num.exp
* gdb.base/watchpoint-reuse-slot.exp
* gdb.base/watchpoint-solib.exp
* gdb.base/watchpoint.exp
* gdb.btrace/dlopen.exp
* gdb.cell/arch.exp
* gdb.cell/break.exp
* gdb.cell/bt.exp
* gdb.cell/core.exp
* gdb.cell/data.exp
* gdb.cell/dwarfaddr.exp
* gdb.cell/ea-cache.exp
* gdb.cell/ea-standalone.exp
* gdb.cell/ea-test.exp
* gdb.cell/f-regs.exp
* gdb.cell/fork.exp
* gdb.cell/gcore.exp
* gdb.cell/mem-access.exp
* gdb.cell/ptype.exp
* gdb.cell/registers.exp
* gdb.cell/sizeof.exp
* gdb.cell/solib-symbol.exp
* gdb.cell/solib.exp
* gdb.compile/compile-tls.exp
* gdb.cp/exception.exp
* gdb.cp/gdb2495.exp
* gdb.cp/local.exp
* gdb.cp/mb-inline.exp
* gdb.cp/mb-templates.exp
* gdb.cp/pr10687.exp
* gdb.cp/pr9167.exp
* gdb.cp/scope-err.exp
* gdb.cp/templates.exp
* gdb.cp/virtfunc.exp
* gdb.dwarf2/dw2-dir-file-name.exp
* gdb.dwarf2/dw2-single-line-discriminators.exp
* gdb.fortran/complex.exp
* gdb.fortran/library-module.exp
* gdb.guile/guile.exp
* gdb.guile/scm-cmd.exp
* gdb.guile/scm-frame-inline.exp
* gdb.guile/scm-objfile.exp
* gdb.guile/scm-pretty-print.exp
* gdb.guile/scm-symbol.exp
* gdb.guile/scm-type.exp
* gdb.guile/scm-value.exp
* gdb.linespec/keywords.exp
* gdb.linespec/ls-errs.exp
* gdb.linespec/macro-relative.exp
* gdb.linespec/thread.exp
* gdb.mi/mi-breakpoint-changed.exp
* gdb.mi/mi-dprintf-pending.exp
* gdb.mi/mi-fullname-deleted.exp
* gdb.mi/mi-logging.exp
* gdb.mi/mi-pending.exp
* gdb.mi/mi-solib.exp
* gdb.mi/new-ui-mi-sync.exp
* gdb.mi/user-selected-context-sync.exp
* gdb.multi/dummy-frame-restore.exp
* gdb.multi/multi-arch-exec.exp
* gdb.multi/remove-inferiors.exp
* gdb.multi/watchpoint-multi-exit.exp
* gdb.opt/solib-intra-step.exp
* gdb.perf/backtrace.exp
* gdb.perf/single-step.exp
* gdb.perf/skip-command.exp
* gdb.perf/skip-prologue.exp
* gdb.perf/solib.exp
* gdb.python/lib-types.exp
* gdb.python/py-as-string.exp
* gdb.python/py-bad-printers.exp
* gdb.python/py-block.exp
* gdb.python/py-breakpoint.exp
* gdb.python/py-cmd.exp
* gdb.python/py-events.exp
* gdb.python/py-evthreads.exp
* gdb.python/py-finish-breakpoint.exp
* gdb.python/py-finish-breakpoint2.exp
* gdb.python/py-frame-inline.exp
* gdb.python/py-frame.exp
* gdb.python/py-inferior.exp
* gdb.python/py-infthread.exp
* gdb.python/py-mi.exp
* gdb.python/py-objfile.exp
* gdb.python/py-pp-maint.exp
* gdb.python/py-pp-registration.exp
* gdb.python/py-prettyprint.exp
* gdb.python/py-recurse-unwind.exp
* gdb.python/py-shared.exp
* gdb.python/py-symbol.exp
* gdb.python/py-symtab.exp
* gdb.python/py-template.exp
* gdb.python/py-type.exp
* gdb.python/py-unwind-maint.exp
* gdb.python/py-unwind.exp
* gdb.python/py-value.exp
* gdb.python/python.exp
* gdb.reverse/finish-reverse-bkpt.exp
* gdb.reverse/insn-reverse.exp
* gdb.reverse/next-reverse-bkpt-over-sr.exp
* gdb.reverse/solib-precsave.exp
* gdb.reverse/solib-reverse.exp
* gdb.stabs/gdb11479.exp
* gdb.stabs/weird.exp
* gdb.threads/fork-child-threads.exp
* gdb.threads/fork-plus-threads.exp
* gdb.threads/fork-thread-pending.exp
* gdb.threads/forking-threads-plus-breakpoint.exp
* gdb.threads/hand-call-in-threads.exp
* gdb.threads/interrupted-hand-call.exp
* gdb.threads/linux-dp.exp
* gdb.threads/local-watch-wrong-thread.exp
* gdb.threads/next-while-other-thread-longjmps.exp
* gdb.threads/non-ldr-exit.exp
* gdb.threads/pending-step.exp
* gdb.threads/print-threads.exp
* gdb.threads/process-dies-while-detaching.exp
* gdb.threads/process-dies-while-handling-bp.exp
* gdb.threads/pthreads.exp
* gdb.threads/queue-signal.exp
* gdb.threads/reconnect-signal.exp
* gdb.threads/signal-command-handle-nopass.exp
* gdb.threads/signal-command-multiple-signals-pending.exp
* gdb.threads/signal-delivered-right-thread.exp
* gdb.threads/signal-sigtrap.exp
* gdb.threads/sigthread.exp
* gdb.threads/staticthreads.exp
* gdb.threads/stepi-random-signal.exp
* gdb.threads/thread-unwindonsignal.exp
* gdb.threads/thread_check.exp
* gdb.threads/thread_events.exp
* gdb.threads/tid-reuse.exp
* gdb.threads/tls-nodebug.exp
* gdb.threads/tls-shared.exp
* gdb.threads/tls-so_extern.exp
* gdb.threads/tls.exp
* gdb.threads/wp-replication.exp
* gdb.trace/actions-changed.exp
* gdb.trace/actions.exp
* gdb.trace/backtrace.exp
* gdb.trace/change-loc.exp
* gdb.trace/collection.exp
* gdb.trace/deltrace.exp
* gdb.trace/disconnected-tracing.exp
* gdb.trace/entry-values.exp
* gdb.trace/ftrace-lock.exp
* gdb.trace/ftrace.exp
* gdb.trace/infotrace.exp
* gdb.trace/mi-trace-frame-collected.exp
* gdb.trace/mi-trace-unavailable.exp
* gdb.trace/mi-traceframe-changed.exp
* gdb.trace/mi-tracepoint-changed.exp
* gdb.trace/mi-tsv-changed.exp
* gdb.trace/no-attach-trace.exp
* gdb.trace/packetlen.exp
* gdb.trace/passc-dyn.exp
* gdb.trace/passcount.exp
* gdb.trace/pending.exp
* gdb.trace/pr16508.exp
* gdb.trace/qtro.exp
* gdb.trace/range-stepping.exp
* gdb.trace/read-memory.exp
* gdb.trace/report.exp
* gdb.trace/save-trace.exp
* gdb.trace/signal.exp
* gdb.trace/stap-trace.exp
* gdb.trace/status-stop.exp
* gdb.trace/strace.exp
* gdb.trace/tfile.exp
* gdb.trace/tfind.exp
* gdb.trace/trace-break.exp
* gdb.trace/trace-condition.exp
* gdb.trace/trace-enable-disable.exp
* gdb.trace/trace-mt.exp
* gdb.trace/tracecmd.exp
* gdb.trace/tracefile-pseudo-reg.exp
* gdb.trace/tspeed.exp
* gdb.trace/tstatus.exp
* gdb.trace/tsv.exp
* gdb.trace/unavailable.exp
* gdb.trace/while-dyn.exp
* gdb.trace/while-stepping.exp
* lib/gdb-guile.exp
* lib/gdb.exp
* lib/mi-support.exp
* lib/pascal.exp
* lib/perftest.exp
* lib/prelink-support.exp
* lib/selftest-support.exp
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 } |