diff options
Diffstat (limited to 'gdb/testsuite')
356 files changed, 1008 insertions, 648 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 78b6cf8cc3c..2a750c52335 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,363 @@ +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 + 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca> * Makefile.in: Include disable-implicit-rules.mk. diff --git a/gdb/testsuite/gdb.ada/array_return.exp b/gdb/testsuite/gdb.ada/array_return.exp index 6e6d35fbb9a..f4dae48f6ca 100644 --- a/gdb/testsuite/gdb.ada/array_return.exp +++ b/gdb/testsuite/gdb.ada/array_return.exp @@ -28,7 +28,7 @@ clean_restart ${testfile} # Start the inferior if ![runto_main] then { - fail "Cannot run to main, testcase aborted" + fail "cannot run to main, testcase aborted" return 0 } diff --git a/gdb/testsuite/gdb.ada/catch_ex.exp b/gdb/testsuite/gdb.ada/catch_ex.exp index 00089a968a9..5ffcdf1ebad 100644 --- a/gdb/testsuite/gdb.ada/catch_ex.exp +++ b/gdb/testsuite/gdb.ada/catch_ex.exp @@ -39,7 +39,7 @@ set catch_exception_info \ #################################### if ![runto_main] then { - fail "Cannot run to main, testcase aborted" + fail "cannot run to main, testcase aborted" return 0 } @@ -88,7 +88,7 @@ gdb_test "continue" \ # - continue, the program exits. if ![runto_main] then { - fail "Cannot run to main, testcase aborted" + fail "cannot run to main, testcase aborted" return 0 } @@ -149,7 +149,7 @@ gdb_test "continue" \ # the program. if ![runto_main] then { - fail "Cannot run to main, testcase aborted" + fail "cannot run to main, testcase aborted" return 0 } diff --git a/gdb/testsuite/gdb.ada/info_exc.exp b/gdb/testsuite/gdb.ada/info_exc.exp index db95aee1df8..e3cfdb51a3a 100644 --- a/gdb/testsuite/gdb.ada/info_exc.exp +++ b/gdb/testsuite/gdb.ada/info_exc.exp @@ -24,7 +24,7 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } clean_restart ${testfile} if ![runto_main] then { - fail "Cannot run to main, testcase aborted" + fail "cannot run to main, testcase aborted" return 0 } diff --git a/gdb/testsuite/gdb.ada/mi_catch_ex.exp b/gdb/testsuite/gdb.ada/mi_catch_ex.exp index 288a0659ba8..6ec06090e09 100644 --- a/gdb/testsuite/gdb.ada/mi_catch_ex.exp +++ b/gdb/testsuite/gdb.ada/mi_catch_ex.exp @@ -33,7 +33,7 @@ set eol "\[\r\n\]+" clean_restart ${testfile} if ![runto_main] then { - fail "Cannot run to main, testcase aborted" + fail "cannot run to main, testcase aborted" return 0 } @@ -70,7 +70,7 @@ mi_gdb_load ${binfile} #################################### if ![mi_run_to_main] then { - fail "Cannot run to main, testcase aborted" + fail "cannot run to main, testcase aborted" return 0 } @@ -126,7 +126,7 @@ continue_to_exception \ # - continue, the program exits. if ![mi_run_to_main] then { - fail "Cannot run to main, testcase aborted" + fail "cannot run to main, testcase aborted" return 0 } diff --git a/gdb/testsuite/gdb.ada/mi_dyn_arr.exp b/gdb/testsuite/gdb.ada/mi_dyn_arr.exp index cf304370aa7..9a7da6e64eb 100644 --- a/gdb/testsuite/gdb.ada/mi_dyn_arr.exp +++ b/gdb/testsuite/gdb.ada/mi_dyn_arr.exp @@ -34,7 +34,7 @@ mi_gdb_reinitialize_dir $srcdir/$subdir mi_gdb_load ${binfile} if ![mi_run_to_main] then { - fail "Cannot run to main, testcase aborted" + fail "cannot run to main, testcase aborted" return 0 } diff --git a/gdb/testsuite/gdb.ada/mi_ex_cond.exp b/gdb/testsuite/gdb.ada/mi_ex_cond.exp index 31e039efa6d..a228244483d 100644 --- a/gdb/testsuite/gdb.ada/mi_ex_cond.exp +++ b/gdb/testsuite/gdb.ada/mi_ex_cond.exp @@ -33,7 +33,7 @@ set eol "\[\r\n\]+" clean_restart ${testfile} if ![runto_main] then { - fail "Cannot run to main, testcase aborted" + fail "cannot run to main, testcase aborted" return 0 } diff --git a/gdb/testsuite/gdb.ada/mi_exc_info.exp b/gdb/testsuite/gdb.ada/mi_exc_info.exp index 8f7434f99e9..6026a3f9666 100644 --- a/gdb/testsuite/gdb.ada/mi_exc_info.exp +++ b/gdb/testsuite/gdb.ada/mi_exc_info.exp @@ -30,7 +30,7 @@ if [mi_gdb_start] { } if ![mi_run_to_main] then { - fail "Cannot run to main, testcase aborted" + fail "cannot run to main, testcase aborted" return 0 } diff --git a/gdb/testsuite/gdb.ada/mi_interface.exp b/gdb/testsuite/gdb.ada/mi_interface.exp index 6000ec862a1..764236a20a2 100644 --- a/gdb/testsuite/gdb.ada/mi_interface.exp +++ b/gdb/testsuite/gdb.ada/mi_interface.exp @@ -34,7 +34,7 @@ mi_gdb_reinitialize_dir $srcdir/$subdir mi_gdb_load ${binfile} if ![mi_run_to_main] then { - fail "Cannot run to main, testcase aborted" + fail "cannot run to main, testcase aborted" return 0 } diff --git a/gdb/testsuite/gdb.ada/mi_task_arg.exp b/gdb/testsuite/gdb.ada/mi_task_arg.exp index ecc29f0f2d5..68979362356 100644 --- a/gdb/testsuite/gdb.ada/mi_task_arg.exp +++ b/gdb/testsuite/gdb.ada/mi_task_arg.exp @@ -37,7 +37,7 @@ mi_gdb_load ${binfile} mi_gdb_test "-gdb-set debug-file-directory \"\"" ".*" if ![mi_runto "task_switch.break_me"] then { - fail "Cannot run to main, testcase aborted" + fail "cannot run to main, testcase aborted" return 0 } diff --git a/gdb/testsuite/gdb.ada/mi_task_info.exp b/gdb/testsuite/gdb.ada/mi_task_info.exp index 936d69ae98a..dc82c57681d 100644 --- a/gdb/testsuite/gdb.ada/mi_task_info.exp +++ b/gdb/testsuite/gdb.ada/mi_task_info.exp @@ -38,7 +38,7 @@ mi_gdb_load ${binfile} #################################### if ![mi_runto "task_switch.break_me"] then { - fail "Cannot run to main, testcase aborted" + fail "cannot run to main, testcase aborted" return 0 } diff --git a/gdb/testsuite/gdb.ada/mi_var_array.exp b/gdb/testsuite/gdb.ada/mi_var_array.exp index c648e7e02ef..3c7073f88d4 100644 --- a/gdb/testsuite/gdb.ada/mi_var_array.exp +++ b/gdb/testsuite/gdb.ada/mi_var_array.exp @@ -34,7 +34,7 @@ mi_gdb_reinitialize_dir $srcdir/$subdir mi_gdb_load ${binfile} if ![mi_run_to_main] then { - fail "Cannot run to main, testcase aborted" + fail "cannot run to main, testcase aborted" return 0 } diff --git a/gdb/testsuite/gdb.arch/alpha-step.exp b/gdb/testsuite/gdb.arch/alpha-step.exp index 3e681f12706..e45ad970749 100644 --- a/gdb/testsuite/gdb.arch/alpha-step.exp +++ b/gdb/testsuite/gdb.arch/alpha-step.exp @@ -24,7 +24,7 @@ set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] != "" } { - unsupported "Testcase compile failed." + unsupported "testcase compile failed." return -1 } @@ -38,7 +38,7 @@ proc test_stepi {function } { # of the previous tests, this makes sure that it doesn't affect # this series of tests. if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.arch/amd64-disp-step.exp b/gdb/testsuite/gdb.arch/amd64-disp-step.exp index 776554681b9..ba75b465a75 100644 --- a/gdb/testsuite/gdb.arch/amd64-disp-step.exp +++ b/gdb/testsuite/gdb.arch/amd64-disp-step.exp @@ -45,7 +45,7 @@ gdb_test "set displaced-stepping on" "" gdb_test "show displaced-stepping" ".* displaced stepping .* is on.*" if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.arch/arm-disp-step.exp b/gdb/testsuite/gdb.arch/arm-disp-step.exp index f6bef7997c4..c038551d144 100644 --- a/gdb/testsuite/gdb.arch/arm-disp-step.exp +++ b/gdb/testsuite/gdb.arch/arm-disp-step.exp @@ -413,7 +413,7 @@ proc test_add_rn_pc {} { gdb_test_no_output "set displaced-stepping off" if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.arch/disp-step-insn-reloc.exp b/gdb/testsuite/gdb.arch/disp-step-insn-reloc.exp index a6ceb0b8dc4..d99567657cc 100644 --- a/gdb/testsuite/gdb.arch/disp-step-insn-reloc.exp +++ b/gdb/testsuite/gdb.arch/disp-step-insn-reloc.exp @@ -31,7 +31,7 @@ if [prepare_for_testing $expfile $executable $srcfile \ } if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -53,7 +53,7 @@ proc read_testcase { n } { set n_testcases [get_integer_valueof "n_testcases" 0] if { ${n_testcases} == 0 } { - untested "No instruction relocation to test" + untested "no instruction relocation to test" return 1 } diff --git a/gdb/testsuite/gdb.arch/e500-prologue.exp b/gdb/testsuite/gdb.arch/e500-prologue.exp index 3019b3e0450..68e6664ba66 100644 --- a/gdb/testsuite/gdb.arch/e500-prologue.exp +++ b/gdb/testsuite/gdb.arch/e500-prologue.exp @@ -27,7 +27,7 @@ set testfile "e500-prologue" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] != "" } { - unsupported "Testcase compile failed." + unsupported "testcase compile failed." return -1 } diff --git a/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp b/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp index 44d195755d4..edf767fbb90 100644 --- a/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp +++ b/gdb/testsuite/gdb.arch/ftrace-insn-reloc.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,14 +52,14 @@ 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" return 1 } @@ -82,7 +82,7 @@ proc read_testcase { n } { set n_testcases [gdb_readexpr "n_testcases"] if { ${n_testcases} == 0 } { - untested "No instruction relocation to test" + untested "no instruction relocation to test" return 1 } diff --git a/gdb/testsuite/gdb.arch/gdb1558.exp b/gdb/testsuite/gdb.arch/gdb1558.exp index d96ad87eba8..8cea6d3988a 100644 --- a/gdb/testsuite/gdb.arch/gdb1558.exp +++ b/gdb/testsuite/gdb.arch/gdb1558.exp @@ -50,7 +50,7 @@ gdb_test "b sub2" "Breakpoint 3.*" "set breakpoint at sub2" gdb_run_cmd -set test "Hits breakpoint at main after function called from main" +set test "hits breakpoint at main after function called from main" gdb_test_multiple "" $test { -re "Breakpoint 1.*main .*$gdb_prompt $" { pass $test diff --git a/gdb/testsuite/gdb.arch/i386-bp_permanent.exp b/gdb/testsuite/gdb.arch/i386-bp_permanent.exp index ba2db2a8ec5..005d1fc0e2c 100644 --- a/gdb/testsuite/gdb.arch/i386-bp_permanent.exp +++ b/gdb/testsuite/gdb.arch/i386-bp_permanent.exp @@ -59,7 +59,7 @@ set retcode [gdb_test_multiple "disassemble $function" "Disassemble function '$f }] if {$retcode != 0} { - fail "Disassemble failed, skipping entire test." + fail "disassemble failed, skipping entire test." return -1 } diff --git a/gdb/testsuite/gdb.arch/i386-disp-step.exp b/gdb/testsuite/gdb.arch/i386-disp-step.exp index f0815aa4b72..7be606a5302 100644 --- a/gdb/testsuite/gdb.arch/i386-disp-step.exp +++ b/gdb/testsuite/gdb.arch/i386-disp-step.exp @@ -43,7 +43,7 @@ gdb_test "set displaced-stepping on" "" gdb_test "show displaced-stepping" ".* displaced stepping .* is on.*" if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.arch/i386-float.exp b/gdb/testsuite/gdb.arch/i386-float.exp index d643bee8f87..2a869e8a089 100644 --- a/gdb/testsuite/gdb.arch/i386-float.exp +++ b/gdb/testsuite/gdb.arch/i386-float.exp @@ -33,7 +33,7 @@ if { [prepare_for_testing break.exp $testfile $srcfile [list debug $additional_f } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.arch/i386-gnu-cfi.exp b/gdb/testsuite/gdb.arch/i386-gnu-cfi.exp index b5691397618..9c05cab0d79 100644 --- a/gdb/testsuite/gdb.arch/i386-gnu-cfi.exp +++ b/gdb/testsuite/gdb.arch/i386-gnu-cfi.exp @@ -73,11 +73,11 @@ gdb_test "up 3" \ gdb_test_multiple "info frame" "Existence of the CFI inserted register" { -re "Stack level 3, frame at (0x\[0-9a-f\]+):.*Saved registers:.* ecx at (0x\[0-9a-f\]+),.*" { - pass "Existence of the CFI inserted register" + pass "existence of the CFI inserted register" if { [string compare $expect_out(1,string) $expect_out(2,string)] } then { - fail "Value of the CFI inserted register" + fail "value of the CFI inserted register" } else { - pass "Value of the CFI inserted register" + pass "value of the CFI inserted register" } } } diff --git a/gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.exp b/gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.exp index 0c1c3a621ca..32367c9d5af 100644 --- a/gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.exp +++ b/gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.exp @@ -22,7 +22,7 @@ set testfile ia64-breakpoint-shadow set srcfile ${testfile}.S set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "Couldn't compile test program" + untested "couldn't compile test program" return -1 } diff --git a/gdb/testsuite/gdb.arch/mips16-thunks.exp b/gdb/testsuite/gdb.arch/mips16-thunks.exp index 15ebad3c22f..37190d06d46 100644 --- a/gdb/testsuite/gdb.arch/mips16-thunks.exp +++ b/gdb/testsuite/gdb.arch/mips16-thunks.exp @@ -62,7 +62,7 @@ gdb_compile ${srcfile} ${objfile} object ${options} set binfile [standard_output_file ${testname}] set options [list debug nowarnings] if { [gdb_compile ${objfiles} ${binfile} executable ${options}] != "" } then { - unsupported "No MIPS16 support in the toolchain." + unsupported "no MIPS16 support in the toolchain." return } clean_restart ${testname} @@ -76,21 +76,21 @@ gdb_test_multiple "" "check for MIPS16 support in the processor" { verbose "MIPS16 support check successful." } -re "$gdb_prompt $" { - unsupported "No MIPS16 support in the processor." + unsupported "no MIPS16 support in the processor." return } default { - unsupported "No MIPS16 support in the processor." + unsupported "no MIPS16 support in the processor." return } } } -re "$gdb_prompt $" { - unsupported "No MIPS16 support in the processor." + unsupported "no MIPS16 support in the processor." return } default { - unsupported "No MIPS16 support in the processor." + unsupported "no MIPS16 support in the processor." return } } diff --git a/gdb/testsuite/gdb.arch/pa-nullify.exp b/gdb/testsuite/gdb.arch/pa-nullify.exp index 668956983f2..cbc66bf68b8 100644 --- a/gdb/testsuite/gdb.arch/pa-nullify.exp +++ b/gdb/testsuite/gdb.arch/pa-nullify.exp @@ -36,7 +36,7 @@ set binfile ${objdir}/${subdir}/${testfile} set gcorefile ${objdir}/${subdir}/${testfile}.gcore if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] != "" } { - unsupported "Testcase compile failed." + unsupported "testcase compile failed." return -1 } diff --git a/gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp b/gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp index d82c4de1d4c..f028e943484 100644 --- a/gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp +++ b/gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp @@ -27,7 +27,7 @@ set testfile "powerpc-aix-prologue" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] != "" } { - unsupported "Testcase compile failed." + unsupported "testcase compile failed." return -1 } diff --git a/gdb/testsuite/gdb.arch/powerpc-power.exp b/gdb/testsuite/gdb.arch/powerpc-power.exp index 8594ad58880..c647787b6c3 100644 --- a/gdb/testsuite/gdb.arch/powerpc-power.exp +++ b/gdb/testsuite/gdb.arch/powerpc-power.exp @@ -49,7 +49,7 @@ proc instr_to_patt {offset instr} { proc func_check {offset instr} { global func - set test "Found $offset: $instr" + set test "found $offset: $instr" if [regexp -nocase -line [instr_to_patt $offset $instr] $func] { pass $test } else { diff --git a/gdb/testsuite/gdb.arch/ppc-dfp.exp b/gdb/testsuite/gdb.arch/ppc-dfp.exp index 6f77d1895c1..b7f19052c36 100644 --- a/gdb/testsuite/gdb.arch/ppc-dfp.exp +++ b/gdb/testsuite/gdb.arch/ppc-dfp.exp @@ -35,7 +35,7 @@ if ![test_compiler_info gcc*] { } if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {quiet debug}] != "" } { - unsupported "This machine doesn't support Decimal Floating Point." + unsupported "this machine doesn't support Decimal Floating Point." return -1 } @@ -54,7 +54,7 @@ gdb_run_cmd # Unless the program bails out after checking AT_HWCAP. gdb_expect { -re "$inferior_exited_re with code 01.\[\r\n\]+$gdb_prompt $" { - unsupported "This machine doesn't support Decimal Floating Point." + unsupported "this machine doesn't support Decimal Floating Point." return -1 } diff --git a/gdb/testsuite/gdb.arch/s390-tdbregs.exp b/gdb/testsuite/gdb.arch/s390-tdbregs.exp index a3776681747..ba2dd724002 100644 --- a/gdb/testsuite/gdb.arch/s390-tdbregs.exp +++ b/gdb/testsuite/gdb.arch/s390-tdbregs.exp @@ -36,14 +36,14 @@ if { ![runto_main] } then { gdb_test_multiple "next" "check for TE support" { -re "Program received signal SIGILL,.*\r\n$gdb_prompt $" { - unsupported "No TE support." + unsupported "no TE support." return } -re "\[0-9\]+.*\r\n$gdb_prompt $" { pass "TE support available" } -re "$gdb_prompt $" { - unsupported "No TE support (unknown error)." + unsupported "no TE support (unknown error)." return } } diff --git a/gdb/testsuite/gdb.arch/spu-info.exp b/gdb/testsuite/gdb.arch/spu-info.exp index dc4f356f693..2110f831399 100644 --- a/gdb/testsuite/gdb.arch/spu-info.exp +++ b/gdb/testsuite/gdb.arch/spu-info.exp @@ -53,7 +53,7 @@ proc c_to { marker } { if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.arch/spu-ls.exp b/gdb/testsuite/gdb.arch/spu-ls.exp index 6619ede5175..78104a453e7 100644 --- a/gdb/testsuite/gdb.arch/spu-ls.exp +++ b/gdb/testsuite/gdb.arch/spu-ls.exp @@ -38,7 +38,7 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.arch/thumb-bx-pc.exp b/gdb/testsuite/gdb.arch/thumb-bx-pc.exp index 843a01abc72..b00571be2a8 100644 --- a/gdb/testsuite/gdb.arch/thumb-bx-pc.exp +++ b/gdb/testsuite/gdb.arch/thumb-bx-pc.exp @@ -25,7 +25,7 @@ set srcfile ${testfile}.S set opts {} if [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} $opts] { - untested "Failed to compile $srcfile" + untested "failed to compile $srcfile" return -1 } diff --git a/gdb/testsuite/gdb.base/advance.exp b/gdb/testsuite/gdb.base/advance.exp index 1dceb0d9d1d..ce8a98c2970 100644 --- a/gdb/testsuite/gdb.base/advance.exp +++ b/gdb/testsuite/gdb.base/advance.exp @@ -23,7 +23,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/annota-input-while-running.exp b/gdb/testsuite/gdb.base/annota-input-while-running.exp index fc2e6087a68..2c9b675e3d2 100644 --- a/gdb/testsuite/gdb.base/annota-input-while-running.exp +++ b/gdb/testsuite/gdb.base/annota-input-while-running.exp @@ -25,7 +25,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug] == -1} { # Because runto_main doesn't know how to handle the prompt with annotations, # run to main before we set the annotation level. if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 1 } diff --git a/gdb/testsuite/gdb.base/arrayidx.exp b/gdb/testsuite/gdb.base/arrayidx.exp index 3f244d0a728..a2253e91ba7 100644 --- a/gdb/testsuite/gdb.base/arrayidx.exp +++ b/gdb/testsuite/gdb.base/arrayidx.exp @@ -20,7 +20,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "Couldn't compile ${srcfile}" + untested "couldn't compile ${srcfile}" return -1 } diff --git a/gdb/testsuite/gdb.base/asmlabel.exp b/gdb/testsuite/gdb.base/asmlabel.exp index 09ea8459dfd..6d9a68176ba 100644 --- a/gdb/testsuite/gdb.base/asmlabel.exp +++ b/gdb/testsuite/gdb.base/asmlabel.exp @@ -38,7 +38,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} { } if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/async.exp b/gdb/testsuite/gdb.base/async.exp index f688423b80f..3adb1564cfa 100644 --- a/gdb/testsuite/gdb.base/async.exp +++ b/gdb/testsuite/gdb.base/async.exp @@ -63,7 +63,7 @@ proc test_background {command before_prompt after_prompt {message ""}} { fail "$message" } -re ".*Asynchronous execution not supported on this target\..*" { - unsupported "Asynchronous execution not supported: $message" + unsupported "asynchronous execution not supported: $message" } timeout { fail "$message (timeout)" diff --git a/gdb/testsuite/gdb.base/attach-wait-input.exp b/gdb/testsuite/gdb.base/attach-wait-input.exp index 394c2938af3..07142af18c5 100644 --- a/gdb/testsuite/gdb.base/attach-wait-input.exp +++ b/gdb/testsuite/gdb.base/attach-wait-input.exp @@ -48,7 +48,7 @@ proc start_program {binfile} { clean_restart $binfile if ![runto setup_done] then { - fail "Can't run to setup_done" + fail "can't run to setup_done" return 0 } diff --git a/gdb/testsuite/gdb.base/auto-connect-native-target.exp b/gdb/testsuite/gdb.base/auto-connect-native-target.exp index 191f85c661e..504708cab81 100644 --- a/gdb/testsuite/gdb.base/auto-connect-native-target.exp +++ b/gdb/testsuite/gdb.base/auto-connect-native-target.exp @@ -36,7 +36,7 @@ gdb_test_multiple $test $test { } if { !$have_native } { - unsupported "No \"target native\" support." + unsupported "no \"target native\" support." return } @@ -62,14 +62,14 @@ set topmost [get_topmost_target "check whether a target is already connected"] # Testing against the extended-remote board, for example? if { $topmost != "exec" } { - unsupported "Already connected to target $topmost." + unsupported "already connected to target $topmost." return } # Check which target this board connects to. If testing with a native # target board, this should cause the native target to auto connect. if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } @@ -94,7 +94,7 @@ proc check_native_target {test} { # Testing against a remote board, for example? if { ![check_native_target "check whether board tests the native target"] } { - unsupported "Not testing the native target." + unsupported "not testing the native target." return } diff --git a/gdb/testsuite/gdb.base/batch-preserve-term-settings.exp b/gdb/testsuite/gdb.base/batch-preserve-term-settings.exp index a2de2c0a5a0..e7e3d7e27db 100644 --- a/gdb/testsuite/gdb.base/batch-preserve-term-settings.exp +++ b/gdb/testsuite/gdb.base/batch-preserve-term-settings.exp @@ -37,7 +37,7 @@ proc spawn_shell {} { set res [remote_spawn host "/bin/sh"] if { $res < 0 || $res == "" } { - unsupported "Spawning shell failed." + unsupported "spawning shell failed." return 0 } diff --git a/gdb/testsuite/gdb.base/bfp-test.exp b/gdb/testsuite/gdb.base/bfp-test.exp index 97253319d36..4b39d3992a2 100644 --- a/gdb/testsuite/gdb.base/bfp-test.exp +++ b/gdb/testsuite/gdb.base/bfp-test.exp @@ -19,7 +19,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "Couldn't compile ${srcfile}" + untested "couldn't compile ${srcfile}" return -1 } diff --git a/gdb/testsuite/gdb.base/bigcore.exp b/gdb/testsuite/gdb.base/bigcore.exp index ae00d0aba03..62ca2b124b1 100644 --- a/gdb/testsuite/gdb.base/bigcore.exp +++ b/gdb/testsuite/gdb.base/bigcore.exp @@ -21,7 +21,7 @@ # mechanism that would let it efficiently access a remote corefile. if ![isnative] then { - untested "Remote system" + untested "remote system" return } @@ -34,7 +34,7 @@ if { [istarget "*-*-*bsd*"] || [istarget "*-*-solaris*"] || [istarget "*-*-darwin*"] || [istarget "*-*-cygwin*"] } { - untested "Kernel lacks sparse corefile support (PR gdb/1551)" + untested "kernel lacks sparse corefile support (PR gdb/1551)" return } @@ -146,7 +146,7 @@ foreach pat [list core.${inferior_pid} ${testfile}.core core] { } if { $file == "" } { - untested "Can't generate a core file" + untested "can't generate a core file" return 0 } diff --git a/gdb/testsuite/gdb.base/bp-permanent.exp b/gdb/testsuite/gdb.base/bp-permanent.exp index 57e36ed294d..64d01714a74 100644 --- a/gdb/testsuite/gdb.base/bp-permanent.exp +++ b/gdb/testsuite/gdb.base/bp-permanent.exp @@ -110,7 +110,7 @@ proc test {always_inserted sw_watchpoint} { # Some targets (QEMU for one) will disallow writes to the # .text section under certain circumstances. It is no use # continuing with the test at this point. Just return. - unsupported "Cannot modify memory" + unsupported "cannot modify memory" return } -re " = .*$gdb_prompt $" { diff --git a/gdb/testsuite/gdb.base/break-always.exp b/gdb/testsuite/gdb.base/break-always.exp index 409fdcc79b8..a1a416525ee 100644 --- a/gdb/testsuite/gdb.base/break-always.exp +++ b/gdb/testsuite/gdb.base/break-always.exp @@ -77,7 +77,7 @@ foreach test_value {0 1} { # Some targets do not allow manually writing a breakpoint to a # certain memory address, like QEMU. In that case, just bail out. - unsupported "Cannot write to address $bp_address" + unsupported "cannot write to address $bp_address" return -1 } -re " = .*$gdb_prompt $" { diff --git a/gdb/testsuite/gdb.base/break-fun-addr.exp b/gdb/testsuite/gdb.base/break-fun-addr.exp index e8bed3f248b..938ec87c31f 100644 --- a/gdb/testsuite/gdb.base/break-fun-addr.exp +++ b/gdb/testsuite/gdb.base/break-fun-addr.exp @@ -36,7 +36,7 @@ set srcfile1 ${testfile1}.c set binfile1 [standard_output_file ${testfile1}] if { [gdb_compile "${srcdir}/${subdir}/${srcfile1}" "${binfile1}" executable {debug}] != "" } { - untested "Couldn't compile ${srcfile1}" + untested "couldn't compile ${srcfile1}" return -1 } @@ -65,7 +65,7 @@ set srcfile2 ${testfile2}.c set binfile2 [standard_output_file ${testfile2}] if { [gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${binfile2}" executable {debug}] != "" } { - untested "Couldn't compile ${srcfile2}" + untested "couldn't compile ${srcfile2}" return -1 } diff --git a/gdb/testsuite/gdb.base/break-idempotent.exp b/gdb/testsuite/gdb.base/break-idempotent.exp index 5f25fe0a18a..eab03c4f161 100644 --- a/gdb/testsuite/gdb.base/break-idempotent.exp +++ b/gdb/testsuite/gdb.base/break-idempotent.exp @@ -41,7 +41,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } @@ -127,7 +127,7 @@ proc test_break { always_inserted break_command } { delete_breakpoints if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.base/break-main-file-remove-fail.exp b/gdb/testsuite/gdb.base/break-main-file-remove-fail.exp index f21bbc37784..2fe6676d25f 100644 --- a/gdb/testsuite/gdb.base/break-main-file-remove-fail.exp +++ b/gdb/testsuite/gdb.base/break-main-file-remove-fail.exp @@ -56,7 +56,7 @@ proc test_remove_bp { initial_load } { set GDBFLAGS $saved_gdbflags if ![runto start] { - fail "Can't run to start" + fail "can't run to start" return } diff --git a/gdb/testsuite/gdb.base/break-probes.exp b/gdb/testsuite/gdb.base/break-probes.exp index ddadc8bf6e7..bb8eee0b406 100644 --- a/gdb/testsuite/gdb.base/break-probes.exp +++ b/gdb/testsuite/gdb.base/break-probes.exp @@ -28,7 +28,7 @@ set probes_bp "dl_main" if { [gdb_compile_shlib $srcfile_lib $binfile_lib \ [list additional_flags=-fPIC]] != "" } { - untested "Could not compile $binfile_lib." + untested "could not compile $binfile_lib." return -1 } diff --git a/gdb/testsuite/gdb.base/break-unload-file.exp b/gdb/testsuite/gdb.base/break-unload-file.exp index 68690c08b43..a395cde4847 100644 --- a/gdb/testsuite/gdb.base/break-unload-file.exp +++ b/gdb/testsuite/gdb.base/break-unload-file.exp @@ -60,7 +60,7 @@ proc test_break { initial_load always_inserted break_command } { set GDBFLAGS $saved_gdbflags if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.base/break.exp b/gdb/testsuite/gdb.base/break.exp index 2b4587e9e63..f111d5839fc 100644 --- a/gdb/testsuite/gdb.base/break.exp +++ b/gdb/testsuite/gdb.base/break.exp @@ -35,13 +35,13 @@ gdb_expect { send_gdb "y\n" gdb_expect { -re "$gdb_prompt $" { - fail "Delete all breakpoints when none (unexpected prompt)" + fail "delete all breakpoints when none (unexpected prompt)" } - timeout { fail "Delete all breakpoints when none (timeout after unexpected prompt)" } + timeout { fail "delete all breakpoints when none (timeout after unexpected prompt)" } } } - -re ".*$gdb_prompt $" { pass "Delete all breakpoints when none" } - timeout { fail "Delete all breakpoints when none (timeout)" } + -re ".*$gdb_prompt $" { pass "delete all breakpoints when none" } + timeout { fail "delete all breakpoints when none (timeout)" } } # diff --git a/gdb/testsuite/gdb.base/call-ar-st.exp b/gdb/testsuite/gdb.base/call-ar-st.exp index c63935ad214..0e10453dbb6 100644 --- a/gdb/testsuite/gdb.base/call-ar-st.exp +++ b/gdb/testsuite/gdb.base/call-ar-st.exp @@ -22,7 +22,7 @@ standard_testfile # Some targets can't call functions, so don't even bother with this # test. if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" continue } diff --git a/gdb/testsuite/gdb.base/call-rt-st.exp b/gdb/testsuite/gdb.base/call-rt-st.exp index a92ba9ee51b..7120b8b8d21 100644 --- a/gdb/testsuite/gdb.base/call-rt-st.exp +++ b/gdb/testsuite/gdb.base/call-rt-st.exp @@ -40,7 +40,7 @@ if [get_compiler_info] { # Some targets can't do function calls, so don't even bother with this # test. if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" continue } diff --git a/gdb/testsuite/gdb.base/call-sc.exp b/gdb/testsuite/gdb.base/call-sc.exp index 89065e1ed4d..a5405df32ff 100644 --- a/gdb/testsuite/gdb.base/call-sc.exp +++ b/gdb/testsuite/gdb.base/call-sc.exp @@ -23,7 +23,7 @@ # test. if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" continue } diff --git a/gdb/testsuite/gdb.base/call-signal-resume.exp b/gdb/testsuite/gdb.base/call-signal-resume.exp index a6b07cf72f0..5dd580cbdc1 100644 --- a/gdb/testsuite/gdb.base/call-signal-resume.exp +++ b/gdb/testsuite/gdb.base/call-signal-resume.exp @@ -36,7 +36,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb # Some targets can't do function calls, so don't even bother with this # test. if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" continue } @@ -56,7 +56,7 @@ proc get_dummy_frame_number { } { clean_restart ${binfile} if { ![runto_main] } { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/call-strs.exp b/gdb/testsuite/gdb.base/call-strs.exp index 7a310d40911..ac1bf6d03d2 100644 --- a/gdb/testsuite/gdb.base/call-strs.exp +++ b/gdb/testsuite/gdb.base/call-strs.exp @@ -28,7 +28,7 @@ standard_testfile # Some targets can't call functions, so don't even bother with this # test. if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" continue } diff --git a/gdb/testsuite/gdb.base/callexit.exp b/gdb/testsuite/gdb.base/callexit.exp index 219c9a47ed1..e904200d483 100644 --- a/gdb/testsuite/gdb.base/callexit.exp +++ b/gdb/testsuite/gdb.base/callexit.exp @@ -24,7 +24,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb # Some targets can't do function calls, so don't even bother with this # test. if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" continue } @@ -33,7 +33,7 @@ if [target_info exists gdb,cannot_call_functions] { clean_restart ${binfile} if { ![runto_main] } { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/callfuncs.exp b/gdb/testsuite/gdb.base/callfuncs.exp index b1089527b89..8fa016ac717 100644 --- a/gdb/testsuite/gdb.base/callfuncs.exp +++ b/gdb/testsuite/gdb.base/callfuncs.exp @@ -26,7 +26,7 @@ if [support_complex_tests] { # Some targets can't do function calls, so don't even bother with this # test. if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" continue } diff --git a/gdb/testsuite/gdb.base/catch-gdb-caused-signals.exp b/gdb/testsuite/gdb.base/catch-gdb-caused-signals.exp index 31fa1b88ee3..63c3292ae24 100644 --- a/gdb/testsuite/gdb.base/catch-gdb-caused-signals.exp +++ b/gdb/testsuite/gdb.base/catch-gdb-caused-signals.exp @@ -36,7 +36,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { } if ![runto_main] { - fail "Can't run to main to make the tests" + fail "can't run to main to make the tests" return -1 } diff --git a/gdb/testsuite/gdb.base/catch-signal-siginfo-cond.exp b/gdb/testsuite/gdb.base/catch-signal-siginfo-cond.exp index 7fabfd6b7df..7cc848c0d82 100644 --- a/gdb/testsuite/gdb.base/catch-signal-siginfo-cond.exp +++ b/gdb/testsuite/gdb.base/catch-signal-siginfo-cond.exp @@ -42,7 +42,7 @@ if { [prepare_for_testing "failed to prepare" "${testfile}" $srcfile {debug}] } } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp index a739c46d02d..4bec7a634c3 100644 --- a/gdb/testsuite/gdb.base/catch-syscall.exp +++ b/gdb/testsuite/gdb.base/catch-syscall.exp @@ -29,7 +29,7 @@ if { [prepare_for_testing ${testfile}.exp $testfile ${testfile}.c] } { # Check target supports catch syscall or not. 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.base/compare-sections.exp b/gdb/testsuite/gdb.base/compare-sections.exp index 9fa42e01f48..09fde65ab59 100644 --- a/gdb/testsuite/gdb.base/compare-sections.exp +++ b/gdb/testsuite/gdb.base/compare-sections.exp @@ -78,7 +78,7 @@ gdb_test_multiple $command $test { # Now get past startup code. if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/cond-eval-mode.exp b/gdb/testsuite/gdb.base/cond-eval-mode.exp index 400c883d72e..4816ddcad30 100644 --- a/gdb/testsuite/gdb.base/cond-eval-mode.exp +++ b/gdb/testsuite/gdb.base/cond-eval-mode.exp @@ -22,7 +22,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/condbreak-call-false.exp b/gdb/testsuite/gdb.base/condbreak-call-false.exp index f0054c3923d..d51ff63f29d 100644 --- a/gdb/testsuite/gdb.base/condbreak-call-false.exp +++ b/gdb/testsuite/gdb.base/condbreak-call-false.exp @@ -23,7 +23,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/consecutive-step-over.exp b/gdb/testsuite/gdb.base/consecutive-step-over.exp index 5fb0319fd4a..9a05aeb293c 100644 --- a/gdb/testsuite/gdb.base/consecutive-step-over.exp +++ b/gdb/testsuite/gdb.base/consecutive-step-over.exp @@ -25,7 +25,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/cursal.exp b/gdb/testsuite/gdb.base/cursal.exp index bf12faae7d7..efaa7c7dfee 100644 --- a/gdb/testsuite/gdb.base/cursal.exp +++ b/gdb/testsuite/gdb.base/cursal.exp @@ -17,7 +17,7 @@ standard_testfile if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != ""} { - untested "Couldn't compile $srcfile" + untested "couldn't compile $srcfile" return -1 } diff --git a/gdb/testsuite/gdb.base/disabled-location.exp b/gdb/testsuite/gdb.base/disabled-location.exp index 0c49466d02d..10e51219b6e 100644 --- a/gdb/testsuite/gdb.base/disabled-location.exp +++ b/gdb/testsuite/gdb.base/disabled-location.exp @@ -20,7 +20,7 @@ if { [prepare_for_testing ${testfile}.exp ${testfile}] } { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/disasm-end-cu.exp b/gdb/testsuite/gdb.base/disasm-end-cu.exp index 681cb76e1a4..81b153fcc80 100644 --- a/gdb/testsuite/gdb.base/disasm-end-cu.exp +++ b/gdb/testsuite/gdb.base/disasm-end-cu.exp @@ -29,21 +29,21 @@ set main_addr [get_hexadecimal_valueof "&main" "0"] set dummy_3_addr [get_hexadecimal_valueof "&dummy_3" "0"] if {$main_addr == 0 || $dummy_3_addr == 0 || $dummy_3_addr <= $main_addr} { - fail "Unable to extract required addresses, or addresses out of order" + fail "unable to extract required addresses, or addresses out of order" return -1 } gdb_test_multiple "disassemble /m ${main_addr},${dummy_3_addr}" "Disassemble address range with source" { -re "Dump of assembler code from ${main_addr} to ${dummy_3_addr}:\r\nEnd of assembler dump\." { - fail "No output from the disassemble command" + fail "no output from the disassemble command" } -re "Line number 0 out of range;.* has $decimal lines\." { - fail "The disassemble command failed" + fail "the disassemble command failed" } -re "Dump of assembler code from ${main_addr} to ${dummy_3_addr}:\r\n.*main.*End of assembler dump\." { pass "disassemble command returned some output" } -re ".*$gdb_prompt $" { - fail "Unexpected output from disassemble command" + fail "unexpected output from disassemble command" } } diff --git a/gdb/testsuite/gdb.base/display.exp b/gdb/testsuite/gdb.base/display.exp index 040110ae686..9576be54c30 100644 --- a/gdb/testsuite/gdb.base/display.exp +++ b/gdb/testsuite/gdb.base/display.exp @@ -53,7 +53,7 @@ if !$use_gdb_stub { # Ok, on to real life # if ![runto_main] then { - fail "Could not run to main - other tests will fail." + fail "could not run to main - other tests will fail." continue } diff --git a/gdb/testsuite/gdb.base/double-prompt-target-event-error.exp b/gdb/testsuite/gdb.base/double-prompt-target-event-error.exp index ebf22312e1d..16567faebad 100644 --- a/gdb/testsuite/gdb.base/double-prompt-target-event-error.exp +++ b/gdb/testsuite/gdb.base/double-prompt-target-event-error.exp @@ -41,7 +41,7 @@ proc cancel_pagination_in_target_event { command } { clean_restart $binfile if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/dprintf-bp-same-addr.exp b/gdb/testsuite/gdb.base/dprintf-bp-same-addr.exp index b6b59557107..004dc2bcf96 100644 --- a/gdb/testsuite/gdb.base/dprintf-bp-same-addr.exp +++ b/gdb/testsuite/gdb.base/dprintf-bp-same-addr.exp @@ -31,7 +31,7 @@ proc test { style } { clean_restart $binfile if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/dprintf-detach.exp b/gdb/testsuite/gdb.base/dprintf-detach.exp index 798bf9fd1e5..a0be2cdf4a7 100644 --- a/gdb/testsuite/gdb.base/dprintf-detach.exp +++ b/gdb/testsuite/gdb.base/dprintf-detach.exp @@ -46,7 +46,7 @@ proc dprintf_detach_test { breakpoint_always_inserted dprintf_style disconnected gdb_test_no_output "set disconnected-dprintf ${disconnected_dprintf}" if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/dprintf-next.exp b/gdb/testsuite/gdb.base/dprintf-next.exp index e8da9be278c..7a3627861e0 100644 --- a/gdb/testsuite/gdb.base/dprintf-next.exp +++ b/gdb/testsuite/gdb.base/dprintf-next.exp @@ -25,7 +25,7 @@ if [prepare_for_testing "failed to prepare for dprintf with next" \ } if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/dprintf-non-stop.exp b/gdb/testsuite/gdb.base/dprintf-non-stop.exp index 1787f6f2ef9..94f97d8440d 100644 --- a/gdb/testsuite/gdb.base/dprintf-non-stop.exp +++ b/gdb/testsuite/gdb.base/dprintf-non-stop.exp @@ -15,7 +15,7 @@ if [is_remote target] then { # Testing with remote/non-stop is racy at the moment. - unsupported "Testing dprintf with remote/non-stop is not supported." + unsupported "testing dprintf with remote/non-stop is not supported." return 0 } @@ -33,7 +33,7 @@ save_vars { GDBFLAGS } { } if ![runto main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/dprintf-pending.exp b/gdb/testsuite/gdb.base/dprintf-pending.exp index 5758c1b5275..10df3fb8bde 100644 --- a/gdb/testsuite/gdb.base/dprintf-pending.exp +++ b/gdb/testsuite/gdb.base/dprintf-pending.exp @@ -32,7 +32,7 @@ if { [get_compiler_info] } { if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} { - untested "Could not compile either $libsrc or $srcdir/$subdir/$srcfile." + untested "could not compile either $libsrc or $srcdir/$subdir/$srcfile." return -1 } diff --git a/gdb/testsuite/gdb.base/dso2dso.exp b/gdb/testsuite/gdb.base/dso2dso.exp index 336d46ae9f4..f620d2c7a72 100644 --- a/gdb/testsuite/gdb.base/dso2dso.exp +++ b/gdb/testsuite/gdb.base/dso2dso.exp @@ -41,13 +41,13 @@ set binfile_libdso1 [standard_output_file $libdso1.so] if { [gdb_compile_shlib $srcfile_libdso2 $binfile_libdso2 \ [list debug additional_flags=-fPIC]] != "" } { - untested "Could not compile $binfile_libdso2." + untested "could not compile $binfile_libdso2." return -1 } if { [gdb_compile_shlib $srcfile_libdso1 $binfile_libdso1 \ [list debug additional_flags=-fPIC]] != "" } { - untested "Could not compile $binfile_libdso1." + untested "could not compile $binfile_libdso1." return -1 } diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp index 945e835c3f0..37bb39edd12 100644 --- a/gdb/testsuite/gdb.base/ending-run.exp +++ b/gdb/testsuite/gdb.base/ending-run.exp @@ -270,7 +270,7 @@ if {!$use_gdb_stub set exec_output [remote_exec host "ls core"] if [ regexp "core not found" $exec_output] { - pass "No core dumped on quit" + pass "no core dumped on quit" } else { if [ regexp "No such file or directory" $exec_output] { pass "ls: core (No core dumped on quit)" diff --git a/gdb/testsuite/gdb.base/enum_cond.exp b/gdb/testsuite/gdb.base/enum_cond.exp index bb3cf59ddb4..4be8a8ad009 100644 --- a/gdb/testsuite/gdb.base/enum_cond.exp +++ b/gdb/testsuite/gdb.base/enum_cond.exp @@ -21,7 +21,7 @@ standard_testfile .c set opts [list debug additional_flags=-fshort-enums] if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $opts] != "" } { - untested "Could not compile ${srcfile}" + untested "could not compile ${srcfile}" return -1 } diff --git a/gdb/testsuite/gdb.base/examine-backward.exp b/gdb/testsuite/gdb.base/examine-backward.exp index e03cbfd7525..f39056e84b6 100644 --- a/gdb/testsuite/gdb.base/examine-backward.exp +++ b/gdb/testsuite/gdb.base/examine-backward.exp @@ -36,7 +36,7 @@ proc get_first_mapped_address {} { set addr $expect_out(1,string) } -re "$gdb_prompt $" { - unsupported "Current target does not support 'info proc mappings'" + unsupported "current target does not support 'info proc mappings'" } } return ${addr} diff --git a/gdb/testsuite/gdb.base/exe-lock.exp b/gdb/testsuite/gdb.base/exe-lock.exp index 66eae025f13..8cb8f9d3073 100644 --- a/gdb/testsuite/gdb.base/exe-lock.exp +++ b/gdb/testsuite/gdb.base/exe-lock.exp @@ -23,7 +23,7 @@ standard_testfile arrayidx.c append binfile $EXEEXT if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "Couldn't compile ${srcfile}" + untested "couldn't compile ${srcfile}" return -1 } diff --git a/gdb/testsuite/gdb.base/exec-invalid-sysroot.exp b/gdb/testsuite/gdb.base/exec-invalid-sysroot.exp index 9665b5fc330..a089e894204 100644 --- a/gdb/testsuite/gdb.base/exec-invalid-sysroot.exp +++ b/gdb/testsuite/gdb.base/exec-invalid-sysroot.exp @@ -47,7 +47,7 @@ proc do_exec_sysroot_test {} { # Start the program running, and stop at main. # if ![runto_main] then { - fail "Couldn't run ${testfile}" + fail "couldn't run ${testfile}" return } diff --git a/gdb/testsuite/gdb.base/execl-update-breakpoints.exp b/gdb/testsuite/gdb.base/execl-update-breakpoints.exp index 47a848ea848..1c2713f2702 100644 --- a/gdb/testsuite/gdb.base/execl-update-breakpoints.exp +++ b/gdb/testsuite/gdb.base/execl-update-breakpoints.exp @@ -55,7 +55,7 @@ if { [gdb_compile $objfile $exec1 executable $opts1_ld] != "" } { clean_restart ${exec1} if ![runto_main] then { - fail "Couldn't run to main" + fail "couldn't run to main" return -1 } @@ -70,7 +70,7 @@ gdb_test_multiple "p/x &main" $test { clean_restart ${exec2} if ![runto_main] then { - fail "Couldn't run to main" + fail "couldn't run to main" return -1 } @@ -103,7 +103,7 @@ proc test { always_inserted } { gdb_test_no_output "set breakpoint always-inserted $always_inserted" if ![runto_main] then { - fail "Couldn't run to main" + fail "couldn't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/execution-termios.exp b/gdb/testsuite/gdb.base/execution-termios.exp index 4abdeb84a9f..02b674ca883 100644 --- a/gdb/testsuite/gdb.base/execution-termios.exp +++ b/gdb/testsuite/gdb.base/execution-termios.exp @@ -25,7 +25,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} { proc test { prefix body } { with_test_prefix $prefix { if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return 0 } uplevel 1 $body diff --git a/gdb/testsuite/gdb.base/fileio.exp b/gdb/testsuite/gdb.base/fileio.exp index d83bbb449fd..5dd2f2053a3 100644 --- a/gdb/testsuite/gdb.base/fileio.exp +++ b/gdb/testsuite/gdb.base/fileio.exp @@ -225,7 +225,7 @@ gdb_test continue \ "Continuing\\..*rename 2:.*EISDIR$stop_msg" \ "Renaming a file to existing directory returns EISDIR" -set test "Renaming a directory to a non-empty directory returns ENOTEMPTY or EEXIST" +set test "renaming a directory to a non-empty directory returns ENOTEMPTY or EEXIST" gdb_test_multiple continue "${test}" { -re "Continuing\\..*rename 3:.*(ENOTEMPTY|EEXIST)$stop_msg$gdb_prompt $" { pass "${test}" diff --git a/gdb/testsuite/gdb.base/fixsection.exp b/gdb/testsuite/gdb.base/fixsection.exp index 07b7bb524d4..5b7fdf6a356 100644 --- a/gdb/testsuite/gdb.base/fixsection.exp +++ b/gdb/testsuite/gdb.base/fixsection.exp @@ -34,7 +34,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile \ executable $exec_opts] != ""} { - untested "Could not compile either $libsrc or $srcfile." + untested "could not compile either $libsrc or $srcfile." return -1 } @@ -47,7 +47,7 @@ gdb_load ${binfile} gdb_load_shlib ${lib_sl} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 1 } diff --git a/gdb/testsuite/gdb.base/foll-exec-mode.exp b/gdb/testsuite/gdb.base/foll-exec-mode.exp index aa7b4143e96..af417ca7d59 100644 --- a/gdb/testsuite/gdb.base/foll-exec-mode.exp +++ b/gdb/testsuite/gdb.base/foll-exec-mode.exp @@ -69,7 +69,7 @@ proc do_catch_exec_test { } { # Start the program running, and stop at main. # if ![runto_main] then { - fail "Couldn't run ${testfile}" + fail "couldn't run ${testfile}" return } @@ -109,7 +109,7 @@ proc do_follow_exec_mode_tests { mode cmd infswitch } { # Start the program running, and stop at main. # if ![runto_main] then { - fail "Couldn't run ${testfile}" + fail "couldn't run ${testfile}" return } diff --git a/gdb/testsuite/gdb.base/foll-exec.exp b/gdb/testsuite/gdb.base/foll-exec.exp index f496ccaf411..ed86c0f192b 100644 --- a/gdb/testsuite/gdb.base/foll-exec.exp +++ b/gdb/testsuite/gdb.base/foll-exec.exp @@ -48,7 +48,7 @@ proc do_exec_tests {} { # Start the program running, and stop at main. # if ![runto_main] then { - fail "Couldn't run ${testfile}" + fail "couldn't run ${testfile}" return } @@ -75,7 +75,7 @@ proc do_exec_tests {} { # Start the program running, and stop at main. # if ![runto_main] then { - fail "Couldn't run ${testfile}" + fail "couldn't run ${testfile}" return } # Execute the code setting up variable PROG. @@ -162,7 +162,7 @@ proc do_exec_tests {} { # Start the program running, and stop at main. # if ![runto_main] then { - fail "Couldn't run ${testfile} (2nd try)" + fail "couldn't run ${testfile} (2nd try)" return } @@ -231,7 +231,7 @@ proc do_exec_tests {} { # Start the program running, and stop at main. # if ![runto_main] then { - fail "Couldn't run ${testfile} (3rd try)" + fail "couldn't run ${testfile} (3rd try)" return } # Execute the code setting up variable PROG. @@ -296,7 +296,7 @@ proc do_exec_tests {} { # Start the program running, and stop at main. # if ![runto_main] then { - fail "Couldn't run ${testfile} (4th try)" + fail "couldn't run ${testfile} (4th try)" return } # Execute the code setting up variable PROG. @@ -355,7 +355,7 @@ proc do_exec_tests {} { # Start the program running, and stop at main. # if ![runto_main] then { - fail "Couldn't run ${testfile} (5th try)" + fail "couldn't run ${testfile} (5th try)" return } diff --git a/gdb/testsuite/gdb.base/fork-running-state.exp b/gdb/testsuite/gdb.base/fork-running-state.exp index be81be6412f..7a54ada51cc 100644 --- a/gdb/testsuite/gdb.base/fork-running-state.exp +++ b/gdb/testsuite/gdb.base/fork-running-state.exp @@ -36,7 +36,7 @@ proc do_test { detach_on_fork follow_fork non_stop schedule_multiple } { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/frame-args.exp b/gdb/testsuite/gdb.base/frame-args.exp index 037967b515e..08eb5d80f16 100644 --- a/gdb/testsuite/gdb.base/frame-args.exp +++ b/gdb/testsuite/gdb.base/frame-args.exp @@ -15,7 +15,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "Couldn't compile ${srcfile}" + untested "couldn't compile ${srcfile}" return -1 } diff --git a/gdb/testsuite/gdb.base/fullpath-expand.exp b/gdb/testsuite/gdb.base/fullpath-expand.exp index 4e572e51857..1b1c5e7bba9 100644 --- a/gdb/testsuite/gdb.base/fullpath-expand.exp +++ b/gdb/testsuite/gdb.base/fullpath-expand.exp @@ -16,7 +16,7 @@ standard_testfile .c fullpath-expand-func.c if [is_remote host] { - unsupported "Compiling on a remote host does not support a filename with directory." + unsupported "compiling on a remote host does not support a filename with directory." return 0 } diff --git a/gdb/testsuite/gdb.base/func-ptr.exp b/gdb/testsuite/gdb.base/func-ptr.exp index 1a56cb8a13c..cda2e9dbcdc 100644 --- a/gdb/testsuite/gdb.base/func-ptr.exp +++ b/gdb/testsuite/gdb.base/func-ptr.exp @@ -22,7 +22,7 @@ if { [prepare_for_testing func-ptr.exp "func-ptr" {func-ptr.c} {debug}] } { } if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/gcore-relro-pie.exp b/gdb/testsuite/gdb.base/gcore-relro-pie.exp index 5f225440219..5a22d5d787a 100644 --- a/gdb/testsuite/gdb.base/gcore-relro-pie.exp +++ b/gdb/testsuite/gdb.base/gcore-relro-pie.exp @@ -41,7 +41,7 @@ clean_restart ${stripped_binfile} # The binary is stripped of debug info, but not minsyms. if ![runto break_here] { - fail "Can't run to break_here" + fail "can't run to break_here" return -1 } diff --git a/gdb/testsuite/gdb.base/gdb1090.exp b/gdb/testsuite/gdb.base/gdb1090.exp index e75004cb9d0..2bba93e1899 100644 --- a/gdb/testsuite/gdb.base/gdb1090.exp +++ b/gdb/testsuite/gdb.base/gdb1090.exp @@ -30,7 +30,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 1 } diff --git a/gdb/testsuite/gdb.base/gdb1555.exp b/gdb/testsuite/gdb.base/gdb1555.exp index 5d11195b7ca..bb198f55d4e 100644 --- a/gdb/testsuite/gdb.base/gdb1555.exp +++ b/gdb/testsuite/gdb.base/gdb1555.exp @@ -45,7 +45,7 @@ clean_restart ${binfile} gdb_load_shlib $libobj if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp b/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp index c8bdd2bed83..728596213d9 100644 --- a/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp +++ b/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp @@ -29,13 +29,13 @@ set binfile_lib2 [standard_output_file $lib2name.so] if { [gdb_compile_shlib $srcfile_lib1 $binfile_lib1 \ [list debug additional_flags=-fPIC]] != "" } { - untested "Could not compile $binfile_lib1." + untested "could not compile $binfile_lib1." return -1 } if { [gdb_compile_shlib $srcfile_lib2 $binfile_lib2 \ [list debug additional_flags=-fPIC]] != "" } { - untested "Could not compile $binfile_lib2." + untested "could not compile $binfile_lib2." return -1 } diff --git a/gdb/testsuite/gdb.base/gnu-ifunc.exp b/gdb/testsuite/gdb.base/gnu-ifunc.exp index 3b2775b8c76..ce9e11f4625 100644 --- a/gdb/testsuite/gdb.base/gnu-ifunc.exp +++ b/gdb/testsuite/gdb.base/gnu-ifunc.exp @@ -52,7 +52,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib ${srcdir}/${subdir}/$libsrc $lib_so $lib_opts] != "" || [gdb_compile ${srcdir}/${subdir}/$srcfile $binfile executable $exec_opts] != ""} { - untested "Could not compile dynamic executable $binfile." + untested "could not compile dynamic executable $binfile." return -1 } @@ -62,7 +62,7 @@ clean_restart $executable gdb_load_shlib ${lib_so} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 1 } @@ -144,7 +144,7 @@ gdb_test "info sym $expect_out(1,string)" "gnu_ifunc in section .*" "info sym <g if { [gdb_compile ${srcdir}/${subdir}/$libsrc $lib_o object {}] != "" || [gdb_compile "${srcdir}/${subdir}/$srcfile $lib_o" $staticbinfile executable {debug}] != "" } { - untested "Could not compile static executable $staticbinfile." + untested "could not compile static executable $staticbinfile." return -1 } diff --git a/gdb/testsuite/gdb.base/hbreak-in-shr-unsupported.exp b/gdb/testsuite/gdb.base/hbreak-in-shr-unsupported.exp index 03a6b7492c5..28ab3d6952a 100644 --- a/gdb/testsuite/gdb.base/hbreak-in-shr-unsupported.exp +++ b/gdb/testsuite/gdb.base/hbreak-in-shr-unsupported.exp @@ -36,7 +36,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib_src} ${lib_so} $lib_opts] != "" || [gdb_compile ${srcdir}/${subdir}/${main_src} ${binfile} executable $exec_opts] != ""} { - untested "Could not compile ${subdir}/$lib_src or ${subdir}/$srcfile." + untested "could not compile ${subdir}/$lib_src or ${subdir}/$srcfile." return -1 } @@ -44,7 +44,7 @@ clean_restart $binfile gdb_load_shlib $lib_so if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/hbreak-unmapped.exp b/gdb/testsuite/gdb.base/hbreak-unmapped.exp index 43136ef381d..b5a2fbb6a24 100644 --- a/gdb/testsuite/gdb.base/hbreak-unmapped.exp +++ b/gdb/testsuite/gdb.base/hbreak-unmapped.exp @@ -24,13 +24,13 @@ if {[prepare_for_testing "failed to prepare" ${testfile} ${srcfile}]} { } if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } # If we can read the memory at address 0, skip the test. if { [is_address_zero_readable] } { - untested "Memory at address 0 is readable" + untested "memory at address 0 is readable" return } diff --git a/gdb/testsuite/gdb.base/hook-stop.exp b/gdb/testsuite/gdb.base/hook-stop.exp index 7b0c22e3d93..b34a4b73855 100644 --- a/gdb/testsuite/gdb.base/hook-stop.exp +++ b/gdb/testsuite/gdb.base/hook-stop.exp @@ -40,7 +40,7 @@ proc setup {commands} { clean_restart $binfile if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return -code return } diff --git a/gdb/testsuite/gdb.base/infcall-input.exp b/gdb/testsuite/gdb.base/infcall-input.exp index b92a91571d0..c970c0e81e2 100644 --- a/gdb/testsuite/gdb.base/infcall-input.exp +++ b/gdb/testsuite/gdb.base/infcall-input.exp @@ -29,7 +29,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { } if ![runto_main] then { - fail "Couldn't run to main" + fail "couldn't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/info-fun.exp b/gdb/testsuite/gdb.base/info-fun.exp index 34372160c06..2eec698ec13 100644 --- a/gdb/testsuite/gdb.base/info-fun.exp +++ b/gdb/testsuite/gdb.base/info-fun.exp @@ -40,13 +40,13 @@ foreach libsepdebug {NO IN SEP} { with_test_prefix "$libsepdebug" { if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} $sep_lib_flags] != "" || [gdb_compile $srcdir/$subdir/${srcfile} ${binfile} \ executable $bin_flags] != "" } { - untested "Could not compile $binfile_lib or $binfile." + untested "could not compile $binfile_lib or $binfile." return -1 } if {$libsepdebug == "SEP"} { if {[gdb_gnu_strip_debug $binfile_lib] != 0} { - unsupported "Could not split debug of $binfile_lib." + unsupported "could not split debug of $binfile_lib." return } else { pass "split solib" @@ -56,7 +56,7 @@ foreach libsepdebug {NO IN SEP} { with_test_prefix "$libsepdebug" { clean_restart $executable if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/info-shared.exp b/gdb/testsuite/gdb.base/info-shared.exp index aa00f73ecae..57aa1d0aba0 100644 --- a/gdb/testsuite/gdb.base/info-shared.exp +++ b/gdb/testsuite/gdb.base/info-shared.exp @@ -31,13 +31,13 @@ set define2 -DSHLIB2_NAME=\"$binfile_lib2\" if { [gdb_compile_shlib $srcfile_lib1 $binfile_lib1 \ [list additional_flags=-fPIC]] != "" } { - untested "Could not compile $binfile_lib1." + untested "could not compile $binfile_lib1." return -1 } if { [gdb_compile_shlib $srcfile_lib2 $binfile_lib2 \ [list additional_flags=-fPIC]] != "" } { - untested "Could not compile $binfile_lib2." + untested "could not compile $binfile_lib2." return -1 } diff --git a/gdb/testsuite/gdb.base/interrupt-noterm.exp b/gdb/testsuite/gdb.base/interrupt-noterm.exp index 05f60767fb3..3aefa0c3423 100644 --- a/gdb/testsuite/gdb.base/interrupt-noterm.exp +++ b/gdb/testsuite/gdb.base/interrupt-noterm.exp @@ -24,7 +24,7 @@ if [prepare_for_testing "failed to prepare for testing" \ gdb_test_no_output "set interactive-mode off" if ![runto main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/jit-so.exp b/gdb/testsuite/gdb.base/jit-so.exp index 9fadd868a40..b2e2955bbf5 100644 --- a/gdb/testsuite/gdb.base/jit-so.exp +++ b/gdb/testsuite/gdb.base/jit-so.exp @@ -76,7 +76,7 @@ proc one_jit_test {count match_str} { } if { ![runto_main] } { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.base/jit.exp b/gdb/testsuite/gdb.base/jit.exp index 17024e49516..528c330703d 100644 --- a/gdb/testsuite/gdb.base/jit.exp +++ b/gdb/testsuite/gdb.base/jit.exp @@ -116,7 +116,7 @@ proc one_jit_test {count match_str reattach} { } if { ![runto_main] } { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.base/line-symtabs.exp b/gdb/testsuite/gdb.base/line-symtabs.exp index af22db7f078..85e9b2f6e63 100644 --- a/gdb/testsuite/gdb.base/line-symtabs.exp +++ b/gdb/testsuite/gdb.base/line-symtabs.exp @@ -21,7 +21,7 @@ if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } { } if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/list.exp b/gdb/testsuite/gdb.base/list.exp index 9946590cfa6..a9e2965dc4c 100644 --- a/gdb/testsuite/gdb.base/list.exp +++ b/gdb/testsuite/gdb.base/list.exp @@ -600,7 +600,7 @@ proc test_list {command listsize1 listsize2 linerange1 linerange2} { 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.base/longjmp.exp b/gdb/testsuite/gdb.base/longjmp.exp index 2c3401ceb9c..b8d67fdaad5 100644 --- a/gdb/testsuite/gdb.base/longjmp.exp +++ b/gdb/testsuite/gdb.base/longjmp.exp @@ -32,7 +32,7 @@ if [get_compiler_info] { clean_restart ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/macscp.exp b/gdb/testsuite/gdb.base/macscp.exp index 4e03553c11b..22dcaac437e 100644 --- a/gdb/testsuite/gdb.base/macscp.exp +++ b/gdb/testsuite/gdb.base/macscp.exp @@ -209,7 +209,7 @@ gdb_test_multiple "info source" "Test macro information" { } } if {$macro_support == 0} { - unsupported "Skipping test because debug information does not include macro information." + unsupported "skipping test because debug information does not include macro information." return 0 } diff --git a/gdb/testsuite/gdb.base/max-value-size.exp b/gdb/testsuite/gdb.base/max-value-size.exp index 63a97a08a79..730e9816237 100644 --- a/gdb/testsuite/gdb.base/max-value-size.exp +++ b/gdb/testsuite/gdb.base/max-value-size.exp @@ -21,7 +21,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/nodebug.exp b/gdb/testsuite/gdb.base/nodebug.exp index 43867ba9836..e0dd0e12a4e 100644 --- a/gdb/testsuite/gdb.base/nodebug.exp +++ b/gdb/testsuite/gdb.base/nodebug.exp @@ -31,7 +31,7 @@ if [test_compiler_info "xlc-*"] { } if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != "" } { - untested "Couldn't compile $srcfile." + untested "couldn't compile $srcfile." return -1 } diff --git a/gdb/testsuite/gdb.base/nofield.exp b/gdb/testsuite/gdb.base/nofield.exp index 8d189605319..9b06ba12df0 100644 --- a/gdb/testsuite/gdb.base/nofield.exp +++ b/gdb/testsuite/gdb.base/nofield.exp @@ -16,7 +16,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "Couldn't compile ${srcfile}" + untested "couldn't compile ${srcfile}" return -1 } diff --git a/gdb/testsuite/gdb.base/overlays.exp b/gdb/testsuite/gdb.base/overlays.exp index cf4213ac80a..45b86706dac 100644 --- a/gdb/testsuite/gdb.base/overlays.exp +++ b/gdb/testsuite/gdb.base/overlays.exp @@ -171,7 +171,7 @@ gdb_expect { -re ".*ovly2, " { fail ".ovly2 not unmapped by .ovly3" } -re ".*data00," { fail ".data00 not unmapped by .data01" } -re ".*data02," { fail ".data02 not unmapped by .data03" } - -re ".*$gdb_prompt $" { pass "Automatic unmapping" } + -re ".*$gdb_prompt $" { pass "automatic unmapping" } timeout { fail "(timeout) Automatic unmapping" } } diff --git a/gdb/testsuite/gdb.base/paginate-after-ctrl-c-running.exp b/gdb/testsuite/gdb.base/paginate-after-ctrl-c-running.exp index a6b4df79690..e9282074939 100644 --- a/gdb/testsuite/gdb.base/paginate-after-ctrl-c-running.exp +++ b/gdb/testsuite/gdb.base/paginate-after-ctrl-c-running.exp @@ -37,7 +37,7 @@ proc test_ctrlc_while_target_running_paginates {} { clean_restart $binfile if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/paginate-bg-execution.exp b/gdb/testsuite/gdb.base/paginate-bg-execution.exp index 5fc077eafaf..284e623c200 100644 --- a/gdb/testsuite/gdb.base/paginate-bg-execution.exp +++ b/gdb/testsuite/gdb.base/paginate-bg-execution.exp @@ -33,7 +33,7 @@ proc test_bg_execution_pagination_return {} { clean_restart $binfile if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } @@ -76,7 +76,7 @@ proc test_bg_execution_pagination_cancel { how } { clean_restart $binfile if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/paginate-inferior-exit.exp b/gdb/testsuite/gdb.base/paginate-inferior-exit.exp index 5128f5f3d20..05a6dff0ab7 100644 --- a/gdb/testsuite/gdb.base/paginate-inferior-exit.exp +++ b/gdb/testsuite/gdb.base/paginate-inferior-exit.exp @@ -33,7 +33,7 @@ proc test_paginate_inferior_exited {} { clean_restart $binfile if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/pending.exp b/gdb/testsuite/gdb.base/pending.exp index 935fa14b790..ea913f16dc6 100644 --- a/gdb/testsuite/gdb.base/pending.exp +++ b/gdb/testsuite/gdb.base/pending.exp @@ -37,7 +37,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} { - untested "Could not compile either $libsrc or $srcdir/$subdir/$srcfile." + untested "could not compile either $libsrc or $srcdir/$subdir/$srcfile." return -1 } diff --git a/gdb/testsuite/gdb.base/pr11022.exp b/gdb/testsuite/gdb.base/pr11022.exp index 2a650d65c6e..c8b4be80cf7 100644 --- a/gdb/testsuite/gdb.base/pr11022.exp +++ b/gdb/testsuite/gdb.base/pr11022.exp @@ -29,7 +29,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb clean_restart ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/printcmds.exp b/gdb/testsuite/gdb.base/printcmds.exp index 7937fe7321a..bdddde68410 100644 --- a/gdb/testsuite/gdb.base/printcmds.exp +++ b/gdb/testsuite/gdb.base/printcmds.exp @@ -683,7 +683,7 @@ proc test_print_string_constants {} { gdb_test_no_output "set print elements 50" if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" return } @@ -706,7 +706,7 @@ proc test_print_string_constants {} { proc test_print_array_constants {} { if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" return } @@ -950,7 +950,7 @@ gdb_test "p ctable1\[120\]" "120 'x'" "p ctable1\[120\] #1" gdb_load ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/ptr-typedef.exp b/gdb/testsuite/gdb.base/ptr-typedef.exp index bb164db6984..e9f925de478 100644 --- a/gdb/testsuite/gdb.base/ptr-typedef.exp +++ b/gdb/testsuite/gdb.base/ptr-typedef.exp @@ -16,7 +16,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "Couldn't compile test program" + untested "couldn't compile test program" return -1 } @@ -25,7 +25,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb clean_restart ${binfile} if ![runto marker1] { - untested "Couldn't run to marker1" + untested "couldn't run to marker1" } gdb_test "print foo_ptr" "\\\$$decimal = \\\(struct foo \\\*\\\) $hex" diff --git a/gdb/testsuite/gdb.base/ptype.exp b/gdb/testsuite/gdb.base/ptype.exp index dd610919d9f..296b67a47eb 100644 --- a/gdb/testsuite/gdb.base/ptype.exp +++ b/gdb/testsuite/gdb.base/ptype.exp @@ -591,7 +591,7 @@ gdb_test "ptype foo" "type = char" "ptype foo typedef after second list of charf if [runto_main] then { if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" continue } diff --git a/gdb/testsuite/gdb.base/randomize.exp b/gdb/testsuite/gdb.base/randomize.exp index fe78c91491a..529e6d65549 100644 --- a/gdb/testsuite/gdb.base/randomize.exp +++ b/gdb/testsuite/gdb.base/randomize.exp @@ -43,11 +43,11 @@ proc address_get { testname } { set test "set disable-randomization off" gdb_test_multiple "${test}" "${test}" { -re "Disabling randomization .* unsupported .*$gdb_prompt $" { - untested "Disabling randomization is not supported on this Linux GDB" + untested "disabling randomization is not supported on this Linux GDB" return -1 } -re "No symbol .* in current context.*$gdb_prompt $" { - untested "Disabling randomization is not supported on this GDB platform" + untested "disabling randomization is not supported on this GDB platform" return -1 } -re "$gdb_prompt $" { @@ -62,7 +62,7 @@ set addr1 [address_get "randomized first address"] set addr2 [address_get "randomized second address"] set test "randomized addresses should not match" if [string equal $addr1 $addr2] { - untested "No randomization detected on this system" + untested "no randomization detected on this system" return -1 } else { pass $test diff --git a/gdb/testsuite/gdb.base/range-stepping.exp b/gdb/testsuite/gdb.base/range-stepping.exp index 69c7ef9438a..9ed92c78219 100644 --- a/gdb/testsuite/gdb.base/range-stepping.exp +++ b/gdb/testsuite/gdb.base/range-stepping.exp @@ -23,7 +23,7 @@ if { [prepare_for_testing $testfile.exp $testfile $srcfile {debug}] } { } if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/realname-expand.exp b/gdb/testsuite/gdb.base/realname-expand.exp index 918cf75ba8c..d21a4030a9a 100644 --- a/gdb/testsuite/gdb.base/realname-expand.exp +++ b/gdb/testsuite/gdb.base/realname-expand.exp @@ -16,7 +16,7 @@ standard_testfile .c realname-expand-real.c if [is_remote host] { - unsupported "Compiling on a remote host does not support a filename with directory." + unsupported "compiling on a remote host does not support a filename with directory." return 0 } diff --git a/gdb/testsuite/gdb.base/relativedebug.exp b/gdb/testsuite/gdb.base/relativedebug.exp index 00f97927b48..9563576816d 100644 --- a/gdb/testsuite/gdb.base/relativedebug.exp +++ b/gdb/testsuite/gdb.base/relativedebug.exp @@ -21,7 +21,7 @@ if [target_info exists gdb,nosignals] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "Couldn't compile test program" + untested "couldn't compile test program" return -1 } diff --git a/gdb/testsuite/gdb.base/remote.exp b/gdb/testsuite/gdb.base/remote.exp index a3c34ebab33..b75540aeca1 100644 --- a/gdb/testsuite/gdb.base/remote.exp +++ b/gdb/testsuite/gdb.base/remote.exp @@ -127,7 +127,7 @@ set sizeof_random_data [get_sizeof "random_data" 48*1024] # Part THREE: Check the upload behavour # if ![runto_main] then { - fail "Cannot run to main" + fail "cannot run to main" } # Carefully check memory around each of the most common packet edge diff --git a/gdb/testsuite/gdb.base/savedregs.exp b/gdb/testsuite/gdb.base/savedregs.exp index eea30d19823..45174a57495 100644 --- a/gdb/testsuite/gdb.base/savedregs.exp +++ b/gdb/testsuite/gdb.base/savedregs.exp @@ -33,7 +33,7 @@ if [target_info exists gdb,nosignals] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "Couldn't compile ${srcfile}" + untested "couldn't compile ${srcfile}" return -1 } @@ -64,7 +64,7 @@ proc process_saved_regs { current inner outer } { foreach func $inner { set saved_regs($func) "error" - set test "Get $func info frame" + set test "get $func info frame" # Both dummy and sigtramp frames have problems. switch $func { dummy { diff --git a/gdb/testsuite/gdb.base/sepdebug.exp b/gdb/testsuite/gdb.base/sepdebug.exp index 3ad3669e460..4ac235e9c63 100644 --- a/gdb/testsuite/gdb.base/sepdebug.exp +++ b/gdb/testsuite/gdb.base/sepdebug.exp @@ -63,7 +63,7 @@ remote_exec build "mkdir [file dirname $new_name]" remote_exec build "ln -s ${binfile}${EXEEXT} $new_name" clean_restart ${testfile}${EXEEXT} if { $gdb_file_cmd_debug_info != "debug" } then { - fail "No debug information found." + fail "no debug information found." } # Restore subdir @@ -71,7 +71,7 @@ set subdir ${old_subdir} clean_restart ${testfile}${EXEEXT} if { $gdb_file_cmd_debug_info != "debug" } then { - fail "No debug information found." + fail "no debug information found." } # diff --git a/gdb/testsuite/gdb.base/set-noassign.exp b/gdb/testsuite/gdb.base/set-noassign.exp index eac4e2d70e9..fd9691ded83 100644 --- a/gdb/testsuite/gdb.base/set-noassign.exp +++ b/gdb/testsuite/gdb.base/set-noassign.exp @@ -19,7 +19,7 @@ if { [prepare_for_testing set-noassign.exp "set-noassign" start.c {debug nowarni } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/shlib-call.exp b/gdb/testsuite/gdb.base/shlib-call.exp index 80491b786c3..fff147142d7 100644 --- a/gdb/testsuite/gdb.base/shlib-call.exp +++ b/gdb/testsuite/gdb.base/shlib-call.exp @@ -50,7 +50,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib ${lib1src} ${lib1} $lib_opts] != "" || [gdb_compile_shlib ${lib2src} ${lib2} $lib_opts] != "" || [gdb_compile ${srcfile} ${binfile} executable $exec_opts] != ""} { - untested "Could not compile $lib1, $lib2, or $srcfile." + untested "could not compile $lib1, $lib2, or $srcfile." return -1 } diff --git a/gdb/testsuite/gdb.base/shreloc.exp b/gdb/testsuite/gdb.base/shreloc.exp index 1d3ed8b26f1..ed98fa44e49 100644 --- a/gdb/testsuite/gdb.base/shreloc.exp +++ b/gdb/testsuite/gdb.base/shreloc.exp @@ -59,13 +59,13 @@ if [test_compiler_info "xlc-*"] { } if { [gdb_compile_shlib $lib1src $lib1_sl $lib_opts] != ""} { - untested "Could not build $lib1_sl." + untested "could not build $lib1_sl." return -1 } elseif { [gdb_compile_shlib $lib2src $lib2_sl $lib_opts] != ""} { - untested "Could not build $lib1_s2." + untested "could not build $lib1_s2." return -1 } elseif { [gdb_compile $srcfile $binfile executable $exec_opts] != ""} { - untested "Could not build $binfile." + untested "could not build $binfile." return -1 } @@ -77,7 +77,7 @@ gdb_load_shlib $lib2_sl # Load up the shared objects if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } @@ -235,8 +235,8 @@ if {([istarget "*pc-cygwin"] || [istarget "*pc-mingw32"]) } { # A better approach would be include absolute symbols via the assembler. # if {[check_same "_minor_os_version__" "${msymfile}"]} { - pass "Absolute symbols not relocated" + pass "absolute symbols not relocated" } else { - fail "Absolute symbols not relocated" + fail "absolute symbols not relocated" } } diff --git a/gdb/testsuite/gdb.base/sigaltstack.exp b/gdb/testsuite/gdb.base/sigaltstack.exp index c85c69bf082..23373fc4bfc 100644 --- a/gdb/testsuite/gdb.base/sigaltstack.exp +++ b/gdb/testsuite/gdb.base/sigaltstack.exp @@ -31,7 +31,7 @@ if [target_info exists gdb,nosignals] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "Couldn't compile ${srcfile}.c" + untested "couldn't compile ${srcfile}.c" return -1 } diff --git a/gdb/testsuite/gdb.base/sigbpt.exp b/gdb/testsuite/gdb.base/sigbpt.exp index d291c970175..012bd290068 100644 --- a/gdb/testsuite/gdb.base/sigbpt.exp +++ b/gdb/testsuite/gdb.base/sigbpt.exp @@ -56,7 +56,7 @@ if ![runto_main] then { # case. if { [is_address_zero_readable] } { - untested "Memory at address 0 is possibly executable" + untested "memory at address 0 is possibly executable" return } @@ -119,7 +119,7 @@ proc after_segv { } { # Check that the address table and SIGSEGV correspond. -set test "Verify that ${signame} occurs at the last STEPI insn" +set test "verify that ${signame} occurs at the last STEPI insn" if {[string compare $segv_addr [at_segv]] == 0} { pass "$test" } else { diff --git a/gdb/testsuite/gdb.base/siginfo-addr.exp b/gdb/testsuite/gdb.base/siginfo-addr.exp index 305a519bbc9..480110e6fd0 100644 --- a/gdb/testsuite/gdb.base/siginfo-addr.exp +++ b/gdb/testsuite/gdb.base/siginfo-addr.exp @@ -28,7 +28,7 @@ if [target_info exists gdb,nosignals] { standard_testfile if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { - untested "Couldn't compile ${srcfile}.c" + untested "couldn't compile ${srcfile}.c" return -1 } diff --git a/gdb/testsuite/gdb.base/siginfo-obj.exp b/gdb/testsuite/gdb.base/siginfo-obj.exp index 303074dcab3..ca4021622d3 100644 --- a/gdb/testsuite/gdb.base/siginfo-obj.exp +++ b/gdb/testsuite/gdb.base/siginfo-obj.exp @@ -52,7 +52,7 @@ set gcorefile [standard_output_file $testfile.gcore] set gcore_created [gdb_gcore_cmd $gcorefile "save a core file"] set ssi_addr "" -set test "Extract si_addr" +set test "extract si_addr" gdb_test_multiple "p \$_siginfo" "$test" { -re "si_addr = ($hex).*$gdb_prompt $" { set ssi_addr $expect_out(1,string) @@ -60,7 +60,7 @@ gdb_test_multiple "p \$_siginfo" "$test" { } } -set test "Extract si_errno" +set test "extract si_errno" gdb_test_multiple "p \$_siginfo" "$test" { -re "si_errno = (\[0-9\]\+).*$gdb_prompt $" { set ssi_errno $expect_out(1,string) @@ -68,7 +68,7 @@ gdb_test_multiple "p \$_siginfo" "$test" { } } -set test "Extract si_code" +set test "extract si_code" gdb_test_multiple "p \$_siginfo" "$test" { -re "si_code = (\[0-9\]\+).*$gdb_prompt $" { set ssi_code $expect_out(1,string) @@ -76,7 +76,7 @@ gdb_test_multiple "p \$_siginfo" "$test" { } } -set test "Extract si_signo" +set test "extract si_signo" gdb_test_multiple "p \$_siginfo" "$test" { -re "si_signo = (\[0-9\]\+).*$gdb_prompt $" { set ssi_signo $expect_out(1,string) @@ -105,7 +105,7 @@ if { ![runto_main] } then { # Run to the signal. gdb_test "continue" ".*Program received signal SIGSEGV.*" "continue to signal" -set test "Set si_addr" +set test "set si_addr" gdb_test "p \$_siginfo._sifields._sigfault.si_addr = 0x666" " = \\(void \\*\\) 0x666" gdb_test "p \$_siginfo.si_errno = 666" " = 666" gdb_test "p \$_siginfo.si_code = 999" " = 999" diff --git a/gdb/testsuite/gdb.base/siginfo-thread.exp b/gdb/testsuite/gdb.base/siginfo-thread.exp index 9af99ea2249..415715ad4ed 100644 --- a/gdb/testsuite/gdb.base/siginfo-thread.exp +++ b/gdb/testsuite/gdb.base/siginfo-thread.exp @@ -48,7 +48,7 @@ set gcorefile [standard_output_file $testfile.gcore] set gcore_created [gdb_gcore_cmd $gcorefile "save a core file"] set ssi_addr "" -set test "Extract si_addr" +set test "extract si_addr" gdb_test_multiple "p \$_siginfo" "$test" { -re "si_addr = ($hex).*$gdb_prompt $" { set ssi_addr $expect_out(1,string) @@ -56,7 +56,7 @@ gdb_test_multiple "p \$_siginfo" "$test" { } } -set test "Extract si_errno" +set test "extract si_errno" gdb_test_multiple "p \$_siginfo" "$test" { -re "si_errno = (\[0-9\]\+).*$gdb_prompt $" { set ssi_errno $expect_out(1,string) @@ -64,7 +64,7 @@ gdb_test_multiple "p \$_siginfo" "$test" { } } -set test "Extract si_code" +set test "extract si_code" gdb_test_multiple "p \$_siginfo" "$test" { -re "si_code = (\[0-9\]\+).*$gdb_prompt $" { set ssi_code $expect_out(1,string) @@ -72,7 +72,7 @@ gdb_test_multiple "p \$_siginfo" "$test" { } } -set test "Extract si_signo" +set test "extract si_signo" gdb_test_multiple "p \$_siginfo" "$test" { -re "si_signo = (\[0-9\]\+).*$gdb_prompt $" { set ssi_signo $expect_out(1,string) diff --git a/gdb/testsuite/gdb.base/signest.exp b/gdb/testsuite/gdb.base/signest.exp index 4709b5d19a4..d53b1b0016c 100644 --- a/gdb/testsuite/gdb.base/signest.exp +++ b/gdb/testsuite/gdb.base/signest.exp @@ -39,7 +39,7 @@ if ![runto_main] then { # case. if { [is_address_zero_readable] } { - untested "Memory at address 0 is possibly executable" + untested "memory at address 0 is possibly executable" return -1 } diff --git a/gdb/testsuite/gdb.base/signull.exp b/gdb/testsuite/gdb.base/signull.exp index a10c83efb10..5a14bffb0a8 100644 --- a/gdb/testsuite/gdb.base/signull.exp +++ b/gdb/testsuite/gdb.base/signull.exp @@ -57,7 +57,7 @@ if ![runto_main] then { # case. if { [is_address_zero_readable] } { - untested "Memory at address 0 is possibly executable" + untested "memory at address 0 is possibly executable" return } diff --git a/gdb/testsuite/gdb.base/sigrepeat.exp b/gdb/testsuite/gdb.base/sigrepeat.exp index f1006538ae9..82a9e0b6a1a 100644 --- a/gdb/testsuite/gdb.base/sigrepeat.exp +++ b/gdb/testsuite/gdb.base/sigrepeat.exp @@ -28,7 +28,7 @@ if [target_info exists gdb,nosignals] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "Couldn't compile ${srcfile}" + untested "couldn't compile ${srcfile}" return -1 } diff --git a/gdb/testsuite/gdb.base/skip.exp b/gdb/testsuite/gdb.base/skip.exp index ce55dd28d34..7eafd9453fe 100644 --- a/gdb/testsuite/gdb.base/skip.exp +++ b/gdb/testsuite/gdb.base/skip.exp @@ -46,7 +46,7 @@ gdb_test "skip -x" "Invalid skip option: -x" gdb_test "skip -rfu foo.* xyzzy" "Invalid argument: xyzzy" if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return } @@ -91,7 +91,7 @@ gdb_test "info skip" \ # right over it and go to the second line of main(). if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return } @@ -112,7 +112,7 @@ with_test_prefix "step after deleting 1" { "info skip (delete 1)" if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return } @@ -132,7 +132,7 @@ with_test_prefix "step after disabling 3" { "info skip shows entry as disabled" if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return } @@ -153,7 +153,7 @@ with_test_prefix "step after enable 3" { "info skip shows entry as enabled" if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return } @@ -224,7 +224,7 @@ gdb_test "skip -rfu ^b.z$" "Function\\(s\\) \\^b\\.z\\$ will be skipped when ste with_test_prefix "step using -fi" { if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return } @@ -237,7 +237,7 @@ with_test_prefix "step using -fi" { with_test_prefix "step using -gfi" { if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return } @@ -250,7 +250,7 @@ with_test_prefix "step using -gfi" { with_test_prefix "step using -fu for baz" { if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return } @@ -265,7 +265,7 @@ with_test_prefix "step using -fu for baz" { with_test_prefix "step using -rfu for baz" { if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return } @@ -284,7 +284,7 @@ with_test_prefix "step using -fi + -fu" { gdb_test_no_output "skip delete" if ![runto test_skip_file_and_function no-message] { - fail "Can't run to test_skip_file_and_function" + fail "can't run to test_skip_file_and_function" return } diff --git a/gdb/testsuite/gdb.base/so-impl-ld.exp b/gdb/testsuite/gdb.base/so-impl-ld.exp index 4223d4c53ac..875242de1ac 100644 --- a/gdb/testsuite/gdb.base/so-impl-ld.exp +++ b/gdb/testsuite/gdb.base/so-impl-ld.exp @@ -33,7 +33,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile \ executable $exec_opts] != ""} { - untested "Couldn't compile $libsrc or $srcfile." + untested "couldn't compile $libsrc or $srcfile." return -1 } diff --git a/gdb/testsuite/gdb.base/solib-corrupted.exp b/gdb/testsuite/gdb.base/solib-corrupted.exp index f1c1e5c84c6..71a42ba3a3b 100644 --- a/gdb/testsuite/gdb.base/solib-corrupted.exp +++ b/gdb/testsuite/gdb.base/solib-corrupted.exp @@ -32,7 +32,7 @@ if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } { } if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.base/solib-disc.exp b/gdb/testsuite/gdb.base/solib-disc.exp index 8b61c8315c5..9baf8c2ef36 100644 --- a/gdb/testsuite/gdb.base/solib-disc.exp +++ b/gdb/testsuite/gdb.base/solib-disc.exp @@ -56,7 +56,7 @@ gdb_load ${binfile} gdb_load_shlib $libobj if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/solib-display.exp b/gdb/testsuite/gdb.base/solib-display.exp index a82ec2e184b..f4d6bb82174 100644 --- a/gdb/testsuite/gdb.base/solib-display.exp +++ b/gdb/testsuite/gdb.base/solib-display.exp @@ -74,13 +74,13 @@ foreach libsepdebug {NO IN SEP} { with_test_prefix "$libsepdebug" { } if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} $sep_lib_flags] != "" || [gdb_compile ${srcfile} ${binfile} executable $bin_flags] != "" } { - untested "Could not compile $binfile_lib or $binfile." + untested "could not compile $binfile_lib or $binfile." return -1 } if {$libsepdebug == "SEP"} { if {[gdb_gnu_strip_debug $binfile_lib] != 0} { - unsupported "Could not split debug of $binfile_lib." + unsupported "could not split debug of $binfile_lib." return } else { pass "split solib" @@ -90,7 +90,7 @@ foreach libsepdebug {NO IN SEP} { with_test_prefix "$libsepdebug" { clean_restart $executable if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } @@ -99,7 +99,7 @@ foreach libsepdebug {NO IN SEP} { with_test_prefix "$libsepdebug" { gdb_test "display c_global" "3: c_global = 43" if { [gdb_start_cmd] < 0 } { - fail "Can't run to main (2)" + fail "can't run to main (2)" continue } @@ -112,7 +112,7 @@ foreach libsepdebug {NO IN SEP} { with_test_prefix "$libsepdebug" { # Now rebuild the library without b_global if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} \ "$sep_lib_flags additional_flags=-DNO_B_GLOBAL"] != ""} { - fail "Can't rebuild $binfile_lib" + fail "can't rebuild $binfile_lib" } if {$libsepdebug == "SEP"} { @@ -126,7 +126,7 @@ foreach libsepdebug {NO IN SEP} { with_test_prefix "$libsepdebug" { } if { [gdb_start_cmd] < 0 } { - fail "Can't run to main (3)" + fail "can't run to main (3)" continue } @@ -149,7 +149,7 @@ foreach libsepdebug {NO IN SEP} { with_test_prefix "$libsepdebug" { gdb_test "display a_static" "6: a_static = 46" if { [gdb_start_cmd] < 0 } { - fail "Can't run to main (4)" + fail "can't run to main (4)" continue } diff --git a/gdb/testsuite/gdb.base/solib-overlap.exp b/gdb/testsuite/gdb.base/solib-overlap.exp index 40fdd093184..5b90894a6a5 100644 --- a/gdb/testsuite/gdb.base/solib-overlap.exp +++ b/gdb/testsuite/gdb.base/solib-overlap.exp @@ -70,14 +70,14 @@ foreach prelink_lib1 {0x40000000 0x50000000} { with_test_prefix "$prelink_lib1" if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib1} $lib_flags] != "" || [gdb_compile_shlib ${srcfile_lib} ${binfile_lib2} $lib_flags] != "" || [gdb_compile ${srcfile} ${binfile} executable $bin_flags] != "" } { - untested "Could not compile ${binfile_lib1_test_msg}, ${binfile_lib2_test_msg} or ${binfile_test_msg}." + untested "could not compile ${binfile_lib1_test_msg}, ${binfile_lib2_test_msg} or ${binfile_test_msg}." return -1 } if {[catch "system \"prelink -N -r ${prelink_lib1} ${binfile_lib1}\""] != 0 || [catch "system \"prelink -N -r ${prelink_lib2} ${binfile_lib2}\""] != 0} { # Maybe we don't have prelink. - untested "Could not prelink ${binfile_lib1_test_msg} or ${binfile_lib2_test_msg}." + untested "could not prelink ${binfile_lib1_test_msg} or ${binfile_lib2_test_msg}." return -1 } @@ -92,7 +92,7 @@ foreach prelink_lib1 {0x40000000 0x50000000} { with_test_prefix "$prelink_lib1" if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib1} $lib_flags] != "" || [gdb_compile_shlib ${srcfile_lib} ${binfile_lib2} $lib_flags] != ""} { - untested "Could not recompile ${binfile_lib1_test_msg} or ${binfile_lib2_test_msg}." + untested "could not recompile ${binfile_lib1_test_msg} or ${binfile_lib2_test_msg}." kill_wait_spawned_process $test_spawn_id return -1 } diff --git a/gdb/testsuite/gdb.base/solib-search.exp b/gdb/testsuite/gdb.base/solib-search.exp index 1a3cb33511e..9acd34772aa 100644 --- a/gdb/testsuite/gdb.base/solib-search.exp +++ b/gdb/testsuite/gdb.base/solib-search.exp @@ -69,7 +69,7 @@ if { [gdb_compile_shlib ${srcfile1_lib} ${wrong_binfile1_lib} $wrong_lib_flags] || [gdb_compile_shlib ${srcfile2_lib} ${wrong_binfile2_lib} $wrong_lib_flags] != "" || [gdb_compile_shlib ${srcfile1_lib} ${right_binfile1_lib} $right_lib_flags] != "" || [gdb_compile_shlib ${srcfile2_lib} ${right_binfile2_lib} $right_lib_flags] != "" } { - untested "Could not compile libs." + untested "could not compile libs." return -1 } @@ -78,14 +78,14 @@ remote_exec build "ln -sf ${right_lib_subdir}/${libname1}.so ${binfile1_lib}" remote_exec build "ln -sf ${right_lib_subdir}/${libname2}.so ${binfile2_lib}" if { [gdb_compile $srcdir/$subdir/${srcfile} ${binfile} \ executable $bin_flags] != "" } { - untested "Could not compile $binfile." + untested "could not compile $binfile." return -1 } clean_restart $testfile if { ![runto_main] } { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.base/solib-symbol.exp b/gdb/testsuite/gdb.base/solib-symbol.exp index 1ff4b3d3266..2d5631f306a 100644 --- a/gdb/testsuite/gdb.base/solib-symbol.exp +++ b/gdb/testsuite/gdb.base/solib-symbol.exp @@ -36,7 +36,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} $lib_flags] != "" || [gdb_compile ${srcfile} ${binfile} executable $bin_flags] != "" } { - untested "Could not compile $binfile_lib or $binfile." + untested "could not compile $binfile_lib or $binfile." return -1 } @@ -54,7 +54,7 @@ gdb_test "br foo2" \ delete_breakpoints if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/source-execution.exp b/gdb/testsuite/gdb.base/source-execution.exp index ca984c7e56b..e1128a46cab 100644 --- a/gdb/testsuite/gdb.base/source-execution.exp +++ b/gdb/testsuite/gdb.base/source-execution.exp @@ -24,7 +24,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/sss-bp-on-user-bp-2.exp b/gdb/testsuite/gdb.base/sss-bp-on-user-bp-2.exp index cc1acea900c..85c90851de0 100644 --- a/gdb/testsuite/gdb.base/sss-bp-on-user-bp-2.exp +++ b/gdb/testsuite/gdb.base/sss-bp-on-user-bp-2.exp @@ -38,7 +38,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} { } if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/sss-bp-on-user-bp.exp b/gdb/testsuite/gdb.base/sss-bp-on-user-bp.exp index f84d68fd28e..be5c253df4b 100644 --- a/gdb/testsuite/gdb.base/sss-bp-on-user-bp.exp +++ b/gdb/testsuite/gdb.base/sss-bp-on-user-bp.exp @@ -25,7 +25,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/stack-checking.exp b/gdb/testsuite/gdb.base/stack-checking.exp index 0258cbead7a..aa685757c93 100644 --- a/gdb/testsuite/gdb.base/stack-checking.exp +++ b/gdb/testsuite/gdb.base/stack-checking.exp @@ -24,7 +24,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [con clean_restart ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/stale-infcall.exp b/gdb/testsuite/gdb.base/stale-infcall.exp index b8873349901..67b42e5fa5b 100644 --- a/gdb/testsuite/gdb.base/stale-infcall.exp +++ b/gdb/testsuite/gdb.base/stale-infcall.exp @@ -35,7 +35,7 @@ gdb_test_multiple "next" $test { } -re "( test-fail .*|\r\nCannot insert breakpoint 0\\.\r\n.*)\r\n$gdb_prompt $" { xfail $test - untested "System lacks support for tracking longjmps" + untested "system lacks support for tracking longjmps" return -1 } } diff --git a/gdb/testsuite/gdb.base/step-break.exp b/gdb/testsuite/gdb.base/step-break.exp index ce1bc63d813..19794cbbb35 100644 --- a/gdb/testsuite/gdb.base/step-break.exp +++ b/gdb/testsuite/gdb.base/step-break.exp @@ -23,7 +23,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/step-line.exp b/gdb/testsuite/gdb.base/step-line.exp index a7c15112418..292dc7ca5c1 100644 --- a/gdb/testsuite/gdb.base/step-line.exp +++ b/gdb/testsuite/gdb.base/step-line.exp @@ -29,7 +29,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/step-over-exit.exp b/gdb/testsuite/gdb.base/step-over-exit.exp index 9f4c826e72c..3cf5d0dc77e 100644 --- a/gdb/testsuite/gdb.base/step-over-exit.exp +++ b/gdb/testsuite/gdb.base/step-over-exit.exp @@ -39,7 +39,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { # 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.base/step-test.exp b/gdb/testsuite/gdb.base/step-test.exp index 4bede789015..280b892d9f2 100644 --- a/gdb/testsuite/gdb.base/step-test.exp +++ b/gdb/testsuite/gdb.base/step-test.exp @@ -27,7 +27,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debu clean_restart ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/structs.exp b/gdb/testsuite/gdb.base/structs.exp index 4fcef525a6f..912eb82584a 100644 --- a/gdb/testsuite/gdb.base/structs.exp +++ b/gdb/testsuite/gdb.base/structs.exp @@ -20,7 +20,7 @@ # test. if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" continue } diff --git a/gdb/testsuite/gdb.base/sym-file.exp b/gdb/testsuite/gdb.base/sym-file.exp index 6febac398a0..996ba827bb3 100644 --- a/gdb/testsuite/gdb.base/sym-file.exp +++ b/gdb/testsuite/gdb.base/sym-file.exp @@ -76,7 +76,7 @@ if {[prepare_for_testing $testfile $binfile "$srcfile $srcfile2" $exec_opts]} { gdb_load_shlib ${lib_so} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.base/symtab-search-order.exp b/gdb/testsuite/gdb.base/symtab-search-order.exp index f8f90367af3..c8d058a663b 100644 --- a/gdb/testsuite/gdb.base/symtab-search-order.exp +++ b/gdb/testsuite/gdb.base/symtab-search-order.exp @@ -33,7 +33,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib $lib1src $lib1 $lib_opts] != "" || [gdb_compile [list $srcfile $srcfile2] $binfile executable \ $exec_opts] != ""} { - untested "Could not compile $lib1, or $srcfile." + untested "could not compile $lib1, or $srcfile." return -1 } @@ -43,7 +43,7 @@ clean_restart $binfile gdb_load_shlib $lib1 if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/term.exp b/gdb/testsuite/gdb.base/term.exp index 6d22d0e1e1c..bb369772407 100644 --- a/gdb/testsuite/gdb.base/term.exp +++ b/gdb/testsuite/gdb.base/term.exp @@ -28,7 +28,7 @@ gdb_test "info terminal" \ "test info terminal" if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/type-opaque.exp b/gdb/testsuite/gdb.base/type-opaque.exp index 2b127521e08..8d9d845dec1 100644 --- a/gdb/testsuite/gdb.base/type-opaque.exp +++ b/gdb/testsuite/gdb.base/type-opaque.exp @@ -43,7 +43,7 @@ clean_restart ${binfile} gdb_load_shlib ${libobj} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/unload.exp b/gdb/testsuite/gdb.base/unload.exp index c058d3a0a81..aa256972f47 100644 --- a/gdb/testsuite/gdb.base/unload.exp +++ b/gdb/testsuite/gdb.base/unload.exp @@ -52,7 +52,7 @@ set exec_opts [list debug shlib_load additional_flags=-DSHLIB_NAME=\"${lib_dlope if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != "" || [gdb_compile $srcfile $binfile executable $exec_opts] != ""} { - untested "Couldn't compile $libsrc or $libsrc2 or $srcfile." + untested "couldn't compile $libsrc or $libsrc2 or $srcfile." return -1 } diff --git a/gdb/testsuite/gdb.base/until-nodebug.exp b/gdb/testsuite/gdb.base/until-nodebug.exp index 8e74a4ca7a7..3252941eaa2 100644 --- a/gdb/testsuite/gdb.base/until-nodebug.exp +++ b/gdb/testsuite/gdb.base/until-nodebug.exp @@ -23,7 +23,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile nodebug]} { } if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/until.exp b/gdb/testsuite/gdb.base/until.exp index 8df03a78ab0..b9b986ca803 100644 --- a/gdb/testsuite/gdb.base/until.exp +++ b/gdb/testsuite/gdb.base/until.exp @@ -26,7 +26,7 @@ set bp_location20 [gdb_get_line_number "set breakpoint 20 here"] set bp_location21 [gdb_get_line_number "set breakpoint 21 here"] if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/unwindonsignal.exp b/gdb/testsuite/gdb.base/unwindonsignal.exp index cf63c6dbd8e..1c0661da55e 100644 --- a/gdb/testsuite/gdb.base/unwindonsignal.exp +++ b/gdb/testsuite/gdb.base/unwindonsignal.exp @@ -22,7 +22,7 @@ if [target_info exists gdb,nosignals] { # Some targets can't do function calls, so don't even bother with this # test. if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" continue } @@ -34,7 +34,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { } if { ![runto_main] } { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/watch-cond.exp b/gdb/testsuite/gdb.base/watch-cond.exp index b046526ff67..f26741f1092 100644 --- a/gdb/testsuite/gdb.base/watch-cond.exp +++ b/gdb/testsuite/gdb.base/watch-cond.exp @@ -30,7 +30,7 @@ if [target_info exists gdb,no_hardware_watchpoints] { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return } @@ -50,7 +50,7 @@ if [target_info exists gdb,no_hardware_watchpoints] { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return } @@ -70,7 +70,7 @@ if [target_info exists gdb,no_hardware_watchpoints] { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.base/watch-non-mem.exp b/gdb/testsuite/gdb.base/watch-non-mem.exp index e1a5bb8f791..a773543afc4 100644 --- a/gdb/testsuite/gdb.base/watch-non-mem.exp +++ b/gdb/testsuite/gdb.base/watch-non-mem.exp @@ -25,7 +25,7 @@ if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.base/watch_thread_num.exp b/gdb/testsuite/gdb.base/watch_thread_num.exp index eff9fbde28b..7625722cdb3 100644 --- a/gdb/testsuite/gdb.base/watch_thread_num.exp +++ b/gdb/testsuite/gdb.base/watch_thread_num.exp @@ -60,7 +60,7 @@ gdb_test "continue" ".*Breakpoint .*loop.*" "Stopped in loop" gdb_test_multiple "thread" "Thread command" { -re ".*Current thread is (\[0-9\]*).*$gdb_prompt $" { - pass "Thread command" + pass "thread command" } } diff --git a/gdb/testsuite/gdb.base/watchpoint-reuse-slot.exp b/gdb/testsuite/gdb.base/watchpoint-reuse-slot.exp index 47c40ffe6bc..7492115dd46 100644 --- a/gdb/testsuite/gdb.base/watchpoint-reuse-slot.exp +++ b/gdb/testsuite/gdb.base/watchpoint-reuse-slot.exp @@ -34,7 +34,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.base/watchpoint-solib.exp b/gdb/testsuite/gdb.base/watchpoint-solib.exp index bd5006467e2..1ae972f5d54 100644 --- a/gdb/testsuite/gdb.base/watchpoint-solib.exp +++ b/gdb/testsuite/gdb.base/watchpoint-solib.exp @@ -42,7 +42,7 @@ set exec_opts [list debug shlib_load additional_flags=-DSHLIB_NAME=\"${lib_dlope if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcfile $binfile executable $exec_opts] != ""} { - untested "Couldn't compile $libsrc or $srcfile." + untested "couldn't compile $libsrc or $srcfile." return -1 } diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp index e4eab3da19b..6e262e9a770 100644 --- a/gdb/testsuite/gdb.base/watchpoint.exp +++ b/gdb/testsuite/gdb.base/watchpoint.exp @@ -347,7 +347,7 @@ proc test_watchpoint_triggered_in_syscall {} { # Run until we get to the first marker function. set x 0 set y 0 - set testname "Watch buffer passed to read syscall" + set testname "watch buffer passed to read syscall" if [runto marker2] then { gdb_test "watch buf\[0\]" ".*\[Ww\]atchpoint \[0-9\]*: buf\\\[0\\\]" gdb_test "watch buf\[1\]" ".*\[Ww\]atchpoint \[0-9\]*: buf\\\[1\\\]" diff --git a/gdb/testsuite/gdb.btrace/dlopen.exp b/gdb/testsuite/gdb.btrace/dlopen.exp index 2afb42bc347..05354f526fe 100644 --- a/gdb/testsuite/gdb.btrace/dlopen.exp +++ b/gdb/testsuite/gdb.btrace/dlopen.exp @@ -26,7 +26,7 @@ set binfile_lib [standard_output_file $basename_lib.so] if { [gdb_compile_shlib $srcfile_lib $binfile_lib \ [list additional_flags=-fPIC]] != "" } { - untested "Could not compile $binfile_lib." + untested "could not compile $binfile_lib." return -1 } diff --git a/gdb/testsuite/gdb.cell/arch.exp b/gdb/testsuite/gdb.cell/arch.exp index 56d2c731d46..f328ab66744 100644 --- a/gdb/testsuite/gdb.cell/arch.exp +++ b/gdb/testsuite/gdb.cell/arch.exp @@ -33,16 +33,16 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $spu_src $spu_bin executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } # Compile PPU binary. if { [gdb_cell_embedspu $spu_bin $spu_bin-embed.o {debug}] != "" } { - unsupported "Embedding spu binary failed." + unsupported "embedding spu binary failed." return -1 } if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o] $ppu_bin executable {debug}] != "" } { - unsupported "Compiling ppu binary failed." + unsupported "compiling ppu binary failed." return -1 } @@ -61,7 +61,7 @@ gdb_test "show architecture" \ "startup architecture is powerpc:common" if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } @@ -78,15 +78,15 @@ check_spu_arch "" send_gdb "thread\n" gdb_expect 10 { -re "Current thread is (\[0-9\]*) .*\r\n$gdb_prompt $" { - pass "Retrieve current thread" + pass "retrieve current thread" set thread_id $expect_out(1,string) } -re "$gdb_prompt $" { - fail "Retrieve current thread" + fail "retrieve current thread" return 0 } timeout { - fail "Retrieve current thread (timed out)" + fail "retrieve current thread (timed out)" return 0 } } diff --git a/gdb/testsuite/gdb.cell/break.exp b/gdb/testsuite/gdb.cell/break.exp index 60524793869..66ed6987f06 100644 --- a/gdb/testsuite/gdb.cell/break.exp +++ b/gdb/testsuite/gdb.cell/break.exp @@ -34,16 +34,16 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $spu_src $spu_bin executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } # Compile PPU binary. if { [gdb_cell_embedspu $spu_bin $spu_bin-embed.o {debug}] != "" } { - unsupported "Embedding spu binary failed." + unsupported "embedding spu binary failed." return -1 } if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o] $ppu_bin executable {debug}] != "" } { - unsupported "Compiling ppu binary failed." + unsupported "compiling ppu binary failed." return -1 } @@ -67,7 +67,7 @@ gdb_test "break main" \ "breakpoint main in ppu" if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } @@ -84,7 +84,7 @@ gdb_expect { -re ".*$spu_file.c.*Make breakpoint pending.*y or \\\[n\\\]. $" { gdb_test "y" "Breakpoint.*$spu_file.*pending." "set pending breakpoint" } - timeout { fail "Timeout while setting breakpoint in spu binary" } + timeout { fail "timeout while setting breakpoint in spu binary" } } # Check breakpoints. diff --git a/gdb/testsuite/gdb.cell/bt.exp b/gdb/testsuite/gdb.cell/bt.exp index cd5d843e883..ba4e2cf6674 100644 --- a/gdb/testsuite/gdb.cell/bt.exp +++ b/gdb/testsuite/gdb.cell/bt.exp @@ -37,24 +37,24 @@ if {[skip_cell_tests]} { # Compile SPU binaries. if { [gdb_compile_cell_spu $spu_src $spu_bin executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } if { [gdb_compile_cell_spu $spu2_src $spu2_bin executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } # Compile PPU binary. if { [gdb_cell_embedspu $spu_bin $spu_bin-embed.o {debug}] != "" } { - unsupported "Embedding spu binary failed." + unsupported "embedding spu binary failed." return -1 } if { [gdb_cell_embedspu $spu2_bin $spu2_bin-embed.o {debug}] != "" } { - unsupported "Embedding spu binary failed." + unsupported "embedding spu binary failed." return -1 } if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o $spu2_bin-embed.o] $ppu_bin executable {debug}] != "" } { - unsupported "Compiling ppu binary failed." + unsupported "compiling ppu binary failed." return -1 } @@ -68,7 +68,7 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${ppu_bin} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.cell/core.exp b/gdb/testsuite/gdb.cell/core.exp index 4cd9c7f33e8..68d98bdf5d3 100644 --- a/gdb/testsuite/gdb.cell/core.exp +++ b/gdb/testsuite/gdb.cell/core.exp @@ -38,16 +38,16 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $spu_src $spu_bin executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } # Compile PPU binary. if { [gdb_cell_embedspu $spu_bin $spu_bin-embed.o {debug}] != "" } { - unsupported "Embedding spu binary failed." + unsupported "embedding spu binary failed." return -1 } if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o] $ppu_bin executable {debug}] != "" } { - unsupported "Compiling ppu binary failed." + unsupported "compiling ppu binary failed." return -1 } diff --git a/gdb/testsuite/gdb.cell/data.exp b/gdb/testsuite/gdb.cell/data.exp index e373ba4efb7..9da96ab5400 100644 --- a/gdb/testsuite/gdb.cell/data.exp +++ b/gdb/testsuite/gdb.cell/data.exp @@ -34,16 +34,16 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $spu_src $spu_bin executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } # Compile PPU binary. if { [gdb_cell_embedspu $spu_bin $spu_bin-embed.o {debug}] != "" } { - unsupported "Embedding spu binary failed." + unsupported "embedding spu binary failed." return -1 } if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o] $ppu_bin executable {debug}] != "" } { - unsupported "Compiling ppu binary failed." + unsupported "compiling ppu binary failed." return -1 } @@ -74,7 +74,7 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${ppu_bin} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.cell/dwarfaddr.exp b/gdb/testsuite/gdb.cell/dwarfaddr.exp index a7331469d81..37a819214dd 100644 --- a/gdb/testsuite/gdb.cell/dwarfaddr.exp +++ b/gdb/testsuite/gdb.cell/dwarfaddr.exp @@ -30,7 +30,7 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $srcfile $binary executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } @@ -40,7 +40,7 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${binary} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.cell/ea-cache.exp b/gdb/testsuite/gdb.cell/ea-cache.exp index c567f38a210..a6b2595a476 100644 --- a/gdb/testsuite/gdb.cell/ea-cache.exp +++ b/gdb/testsuite/gdb.cell/ea-cache.exp @@ -33,16 +33,16 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $spu_src $spu_bin executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } # Compile PPU binary. if { [gdb_cell_embedspu $spu_bin $spu_bin-embed.o {debug}] != "" } { - unsupported "Embedding spu binary failed." + unsupported "embedding spu binary failed." return -1 } if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o] $ppu_bin executable {debug}] != "" } { - unsupported "Compiling ppu binary failed." + unsupported "compiling ppu binary failed." return -1 } @@ -56,7 +56,7 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${ppu_bin} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.cell/ea-standalone.exp b/gdb/testsuite/gdb.cell/ea-standalone.exp index 5079f366d22..9f8f81c469b 100644 --- a/gdb/testsuite/gdb.cell/ea-standalone.exp +++ b/gdb/testsuite/gdb.cell/ea-standalone.exp @@ -30,7 +30,7 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $srcfile $binary executable {debug}] != "" } { - unsupported "Compile spu binary failed, so all tests in this file will automatically fail." + unsupported "compile spu binary failed, so all tests in this file will automatically fail." return -1 } @@ -40,7 +40,7 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${binary} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.cell/ea-test.exp b/gdb/testsuite/gdb.cell/ea-test.exp index 6a5afd27635..57ed9e2d015 100644 --- a/gdb/testsuite/gdb.cell/ea-test.exp +++ b/gdb/testsuite/gdb.cell/ea-test.exp @@ -30,7 +30,7 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $source $binary executable {debug}] != "" } { - unsupported "Compile spu binary failed, so all tests in this file will automatically fail." + unsupported "compile spu binary failed, so all tests in this file will automatically fail." return -1 } @@ -40,7 +40,7 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${binary} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.cell/f-regs.exp b/gdb/testsuite/gdb.cell/f-regs.exp index 6e211a649f9..512f2d9be9e 100644 --- a/gdb/testsuite/gdb.cell/f-regs.exp +++ b/gdb/testsuite/gdb.cell/f-regs.exp @@ -33,16 +33,16 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $spu_src $spu_bin executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } # Compile PPU binary. if { [gdb_cell_embedspu $spu_bin $spu_bin-embed.o {debug}] != "" } { - unsupported "Embedding spu binary failed." + unsupported "embedding spu binary failed." return -1 } if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o] $ppu_bin executable {debug}] != "" } { - unsupported "Compiling ppu binary failed." + unsupported "compiling ppu binary failed." return -1 } @@ -74,7 +74,7 @@ gdb_test "info all-registers" \ "info all-registers" if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.cell/fork.exp b/gdb/testsuite/gdb.cell/fork.exp index 8437ab9279c..9e72f548164 100644 --- a/gdb/testsuite/gdb.cell/fork.exp +++ b/gdb/testsuite/gdb.cell/fork.exp @@ -34,16 +34,16 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $spu_src $spu_bin executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } # Compile PPU binary. if { [gdb_cell_embedspu $spu_bin $spu_bin-embed.o {debug}] != "" } { - unsupported "Embedding spu binary failed." + unsupported "embedding spu binary failed." return -1 } if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o] $ppu_bin executable {debug}] != "" } { - unsupported "Compiling ppu binary failed." + unsupported "compiling ppu binary failed." return -1 } @@ -57,7 +57,7 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${ppu_bin} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.cell/gcore.exp b/gdb/testsuite/gdb.cell/gcore.exp index ca1d20a26e4..ad8e4d6c97e 100644 --- a/gdb/testsuite/gdb.cell/gcore.exp +++ b/gdb/testsuite/gdb.cell/gcore.exp @@ -38,16 +38,16 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $spu_src $spu_bin executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } # Compile PPU binary. if { [gdb_cell_embedspu $spu_bin $spu_bin-embed.o {debug}] != "" } { - unsupported "Embedding spu binary failed." + unsupported "embedding spu binary failed." return -1 } if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o] $ppu_bin executable {debug}] != "" } { - unsupported "Compiling ppu binary failed." + unsupported "compiling ppu binary failed." return -1 } @@ -61,7 +61,7 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${ppu_bin} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.cell/mem-access.exp b/gdb/testsuite/gdb.cell/mem-access.exp index 4ba5e48c671..623d1666483 100644 --- a/gdb/testsuite/gdb.cell/mem-access.exp +++ b/gdb/testsuite/gdb.cell/mem-access.exp @@ -34,16 +34,16 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $spu_src $spu_bin executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } # Compile PPU binary. if { [gdb_cell_embedspu $spu_bin $spu_bin-embed.o {debug}] != "" } { - unsupported "Embedding spu binary failed." + unsupported "embedding spu binary failed." return -1 } if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o] $ppu_bin executable {debug}] != "" } { - unsupported "Compiling ppu binary failed." + unsupported "compiling ppu binary failed." return -1 } @@ -146,7 +146,7 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${ppu_bin} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.cell/ptype.exp b/gdb/testsuite/gdb.cell/ptype.exp index 291c7c4cb57..82c381cc119 100644 --- a/gdb/testsuite/gdb.cell/ptype.exp +++ b/gdb/testsuite/gdb.cell/ptype.exp @@ -33,16 +33,16 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $spu_src $spu_bin executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } # Compile PPU binary. if { [gdb_cell_embedspu $spu_bin $spu_bin-embed.o {debug}] != "" } { - unsupported "Embedding spu binary failed." + unsupported "embedding spu binary failed." return -1 } if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o] $ppu_bin executable {debug}] != "" } { - unsupported "Compiling ppu binary failed." + unsupported "compiling ppu binary failed." return -1 } @@ -56,7 +56,7 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${ppu_bin} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.cell/registers.exp b/gdb/testsuite/gdb.cell/registers.exp index 15b5dbfafa2..ced627a865d 100644 --- a/gdb/testsuite/gdb.cell/registers.exp +++ b/gdb/testsuite/gdb.cell/registers.exp @@ -33,16 +33,16 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $spu_src $spu_bin executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } # Compile PPU binary. if { [gdb_cell_embedspu $spu_bin $spu_bin-embed.o {debug}] != "" } { - unsupported "Embedding spu binary failed." + unsupported "embedding spu binary failed." return -1 } if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o] $ppu_bin executable {debug}] != "" } { - unsupported "Compiling ppu binary failed." + unsupported "compiling ppu binary failed." return -1 } @@ -61,7 +61,7 @@ gdb_test "info all-registers" \ "info all-registers" if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.cell/sizeof.exp b/gdb/testsuite/gdb.cell/sizeof.exp index c5769144562..721cd4d6b70 100644 --- a/gdb/testsuite/gdb.cell/sizeof.exp +++ b/gdb/testsuite/gdb.cell/sizeof.exp @@ -33,16 +33,16 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $spu_src $spu_bin executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } # Compile PPU binary. if { [gdb_cell_embedspu $spu_bin $spu_bin-embed.o {debug}] != "" } { - unsupported "Embedding spu binary failed." + unsupported "embedding spu binary failed." return -1 } if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o] $ppu_bin executable {debug}] != "" } { - unsupported "Compiling ppu binary failed." + unsupported "compiling ppu binary failed." return -1 } @@ -88,7 +88,7 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${ppu_bin} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.cell/solib-symbol.exp b/gdb/testsuite/gdb.cell/solib-symbol.exp index 21070bc1751..253a20d8bee 100644 --- a/gdb/testsuite/gdb.cell/solib-symbol.exp +++ b/gdb/testsuite/gdb.cell/solib-symbol.exp @@ -33,16 +33,16 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $spu_src $spu_bin executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } # Compile PPU binary. if { [gdb_cell_embedspu $spu_bin $spu_bin-embed.o {debug}] != "" } { - unsupported "Embedding spu binary failed." + unsupported "embedding spu binary failed." return -1 } if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o] $ppu_bin executable {debug}] != "" } { - unsupported "Compiling ppu binary failed." + unsupported "compiling ppu binary failed." return -1 } @@ -57,7 +57,7 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${ppu_bin} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.cell/solib.exp b/gdb/testsuite/gdb.cell/solib.exp index 05fcd9bd7ef..ad43b03f3de 100644 --- a/gdb/testsuite/gdb.cell/solib.exp +++ b/gdb/testsuite/gdb.cell/solib.exp @@ -33,16 +33,16 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $spu_src $spu_bin executable {debug}] != "" } { - unsupported "Compiling spu binary failed." + unsupported "compiling spu binary failed." return -1 } # Compile PPU binary. if { [gdb_cell_embedspu $spu_bin $spu_bin-embed.o {debug}] != "" } { - unsupported "Embedding spu binary failed." + unsupported "embedding spu binary failed." return -1 } if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o] $ppu_bin executable {debug}] != "" } { - unsupported "Compiling ppu binary failed." + unsupported "compiling ppu binary failed." return -1 } @@ -62,7 +62,7 @@ gdb_test "info sharedlibrary" \ "no shared library is loaded" if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.compile/compile-tls.exp b/gdb/testsuite/gdb.compile/compile-tls.exp index 2156ba6c304..107600aae05 100644 --- a/gdb/testsuite/gdb.compile/compile-tls.exp +++ b/gdb/testsuite/gdb.compile/compile-tls.exp @@ -22,7 +22,7 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ clean_restart ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.cp/exception.exp b/gdb/testsuite/gdb.cp/exception.exp index 970cf100004..5dd3449d41f 100644 --- a/gdb/testsuite/gdb.cp/exception.exp +++ b/gdb/testsuite/gdb.cp/exception.exp @@ -91,7 +91,7 @@ set ok 0 gdb_run_cmd gdb_test_multiple "" "Run to main" { -re "Temporary breakpoint 4,.*$gdb_prompt $" { - pass "Run to main" + pass "run to main" set ok 1 } } diff --git a/gdb/testsuite/gdb.cp/gdb2495.exp b/gdb/testsuite/gdb.cp/gdb2495.exp index 0ce1a53768e..7fe2b1242fa 100644 --- a/gdb/testsuite/gdb.cp/gdb2495.exp +++ b/gdb/testsuite/gdb.cp/gdb2495.exp @@ -54,7 +54,7 @@ if [get_compiler_info "c++"] { # Some targets can't do function calls, so don't even bother with this # test. if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" continue } diff --git a/gdb/testsuite/gdb.cp/local.exp b/gdb/testsuite/gdb.cp/local.exp index 33121398b1b..62c1fd83105 100644 --- a/gdb/testsuite/gdb.cp/local.exp +++ b/gdb/testsuite/gdb.cp/local.exp @@ -166,7 +166,7 @@ gdb_test "up" ".*main.*" "up from marker2" set eol "\[\t \]*\[\r\n\]+\[\t \]*" gdb_test_multiple "ptype Local" "Local out of scope" { -re "No symbol \"Local\" in current context.*${gdb_prompt} $" { - pass "Local out of scope" + pass "local out of scope" } -re "ptype Local${eol}type = class Local {${eol} public:${eol} int loc1;${eol}.*${eol} char loc_foo\\(char\\);${eol}}${eol}${gdb_prompt} " { # GCC emits STABS debugging information in a way that doesn't diff --git a/gdb/testsuite/gdb.cp/mb-inline.exp b/gdb/testsuite/gdb.cp/mb-inline.exp index f4932792d7d..7f4a874024a 100644 --- a/gdb/testsuite/gdb.cp/mb-inline.exp +++ b/gdb/testsuite/gdb.cp/mb-inline.exp @@ -83,7 +83,7 @@ delete_breakpoints set bp_location [gdb_get_line_number "set multi-line breakpoint here" $hdrfile] if { ![runto_main] } { - fail "Can't run to main for multi_line_foo tests." + fail "can't run to main for multi_line_foo tests." return 0 } diff --git a/gdb/testsuite/gdb.cp/mb-templates.exp b/gdb/testsuite/gdb.cp/mb-templates.exp index 2bc90b7265f..a17adf03d6d 100644 --- a/gdb/testsuite/gdb.cp/mb-templates.exp +++ b/gdb/testsuite/gdb.cp/mb-templates.exp @@ -117,7 +117,7 @@ delete_breakpoints set bp_location [gdb_get_line_number "set multi-line breakpoint here"] if { ![runto_main] } { - fail "Can't run to main for multi_line_foo tests." + fail "can't run to main for multi_line_foo tests." return 0 } diff --git a/gdb/testsuite/gdb.cp/pr10687.exp b/gdb/testsuite/gdb.cp/pr10687.exp index e7caa7f38c2..385e64a3ef7 100644 --- a/gdb/testsuite/gdb.cp/pr10687.exp +++ b/gdb/testsuite/gdb.cp/pr10687.exp @@ -20,7 +20,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.cp/pr9167.exp b/gdb/testsuite/gdb.cp/pr9167.exp index f7701fb3af6..cdd7d2a4e10 100644 --- a/gdb/testsuite/gdb.cp/pr9167.exp +++ b/gdb/testsuite/gdb.cp/pr9167.exp @@ -25,7 +25,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.cp/scope-err.exp b/gdb/testsuite/gdb.cp/scope-err.exp index b197829510e..7b11fad229d 100644 --- a/gdb/testsuite/gdb.cp/scope-err.exp +++ b/gdb/testsuite/gdb.cp/scope-err.exp @@ -28,7 +28,7 @@ if {[prepare_for_testing $testfile $exefile $srcfile {debug c++}]} { } if {![runto_main]} { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.cp/templates.exp b/gdb/testsuite/gdb.cp/templates.exp index c503598e197..8a60c6d8181 100644 --- a/gdb/testsuite/gdb.cp/templates.exp +++ b/gdb/testsuite/gdb.cp/templates.exp @@ -184,7 +184,7 @@ proc test_template_calls {} { global gdb_prompt if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" return } diff --git a/gdb/testsuite/gdb.cp/virtfunc.exp b/gdb/testsuite/gdb.cp/virtfunc.exp index 04fe5aa5e2b..2776b0a6467 100644 --- a/gdb/testsuite/gdb.cp/virtfunc.exp +++ b/gdb/testsuite/gdb.cp/virtfunc.exp @@ -177,7 +177,7 @@ proc test_virtual_calls {} { global nl if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" return 0 } diff --git a/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp b/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp index 2f175564040..313b56f5bbc 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp @@ -327,7 +327,7 @@ lappend opts "additional_flags=-DFDIR=\"fdir\"" lappend opts "additional_flags=-DFILE=\"${srctmpfile}\"" if { [gdb_compile "${asmsrcfile} ${srcdir}/${subdir}/$srcfile" "${binfile}" executable $opts] != "" } { - untested "Cannot compile ${asmsrcfile} or $srcfile" + untested "cannot compile ${asmsrcfile} or $srcfile" return -1 } diff --git a/gdb/testsuite/gdb.dwarf2/dw2-single-line-discriminators.exp b/gdb/testsuite/gdb.dwarf2/dw2-single-line-discriminators.exp index bb7b53e7feb..a10c5fa5a71 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-single-line-discriminators.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-single-line-discriminators.exp @@ -36,7 +36,7 @@ if { [prepare_for_testing "${testfile}.exp" "${testfile}" $srcfile {nodebug}] } } if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." continue } diff --git a/gdb/testsuite/gdb.fortran/complex.exp b/gdb/testsuite/gdb.fortran/complex.exp index 2d94e42f2c3..7046ba2cc17 100644 --- a/gdb/testsuite/gdb.fortran/complex.exp +++ b/gdb/testsuite/gdb.fortran/complex.exp @@ -16,7 +16,7 @@ standard_testfile .f if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug f90 quiet}]} { - untested "Couldn't compile ${srcfile}" + untested "couldn't compile ${srcfile}" return -1 } diff --git a/gdb/testsuite/gdb.fortran/library-module.exp b/gdb/testsuite/gdb.fortran/library-module.exp index 8a913edf43d..e2f03c32d8a 100644 --- a/gdb/testsuite/gdb.fortran/library-module.exp +++ b/gdb/testsuite/gdb.fortran/library-module.exp @@ -24,7 +24,7 @@ if [get_compiler_info] { } if { [gdb_compile_shlib "${srcdir}/${subdir}/${srclibfile}" $libfile {debug f90}] != "" } { - untested "Couldn't compile ${srclibfile}" + untested "couldn't compile ${srclibfile}" return -1 } @@ -33,7 +33,7 @@ if { [gdb_compile_shlib "${srcdir}/${subdir}/${srclibfile}" $libfile {debug f90 # warnings on ignored $libfile abort the process. if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable [list debug f90 shlib=$libfile]] != "" } { - untested "Couldn't compile ${srcfile}" + untested "couldn't compile ${srcfile}" return -1 } diff --git a/gdb/testsuite/gdb.guile/guile.exp b/gdb/testsuite/gdb.guile/guile.exp index 6f4374b4d68..37347b73a95 100644 --- a/gdb/testsuite/gdb.guile/guile.exp +++ b/gdb/testsuite/gdb.guile/guile.exp @@ -27,7 +27,7 @@ gdb_reinitialize_dir $srcdir/$subdir # We want to do some tests when Guile is not present. gdb_test_multiple "guile (display 23) (newline)" "verify guile support" { -re "Undefined command.*$gdb_prompt $" { - unsupported "Guile not supported." + unsupported "guile not supported." return } -re "not supported.*$gdb_prompt $" { diff --git a/gdb/testsuite/gdb.guile/scm-cmd.exp b/gdb/testsuite/gdb.guile/scm-cmd.exp index bf14dd0b142..5b1174c1384 100644 --- a/gdb/testsuite/gdb.guile/scm-cmd.exp +++ b/gdb/testsuite/gdb.guile/scm-cmd.exp @@ -28,7 +28,7 @@ if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } { if { [skip_guile_tests] } { continue } if ![gdb_guile_runto_main] { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.guile/scm-frame-inline.exp b/gdb/testsuite/gdb.guile/scm-frame-inline.exp index 93caaa7ded2..f1d58ed65c5 100644 --- a/gdb/testsuite/gdb.guile/scm-frame-inline.exp +++ b/gdb/testsuite/gdb.guile/scm-frame-inline.exp @@ -25,7 +25,7 @@ if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } { if { [skip_guile_tests] } { continue } if ![runto main] { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.guile/scm-objfile.exp b/gdb/testsuite/gdb.guile/scm-objfile.exp index 95e67ac0bf7..d99a519516c 100644 --- a/gdb/testsuite/gdb.guile/scm-objfile.exp +++ b/gdb/testsuite/gdb.guile/scm-objfile.exp @@ -28,7 +28,7 @@ if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } { if { [skip_guile_tests] } { continue } if ![gdb_guile_runto_main] { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.guile/scm-pretty-print.exp b/gdb/testsuite/gdb.guile/scm-pretty-print.exp index e2554a9a099..f17d827d103 100644 --- a/gdb/testsuite/gdb.guile/scm-pretty-print.exp +++ b/gdb/testsuite/gdb.guile/scm-pretty-print.exp @@ -30,7 +30,7 @@ if { [skip_guile_tests] } { continue } proc run_lang_tests {exefile lang} { global srcdir subdir srcfile testfile hex if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${exefile}" executable "debug $lang"] != "" } { - untested "Couldn't compile ${srcfile} in $lang mode" + untested "couldn't compile ${srcfile} in $lang mode" return } diff --git a/gdb/testsuite/gdb.guile/scm-symbol.exp b/gdb/testsuite/gdb.guile/scm-symbol.exp index de5747a5458..e143045159b 100644 --- a/gdb/testsuite/gdb.guile/scm-symbol.exp +++ b/gdb/testsuite/gdb.guile/scm-symbol.exp @@ -138,7 +138,7 @@ gdb_test "guile (print (symbol-symtab t))" "= #<gdb:symtab .*gdb.guile/scm-symbo # C++ tests # Recompile binary. if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}-cxx" executable "debug c++"] != "" } { - untested "Couldn't compile ${srcfile} in c++ mode" + untested "couldn't compile ${srcfile} in c++ mode" return -1 } diff --git a/gdb/testsuite/gdb.guile/scm-type.exp b/gdb/testsuite/gdb.guile/scm-type.exp index 87e85db0133..455d948cbe5 100644 --- a/gdb/testsuite/gdb.guile/scm-type.exp +++ b/gdb/testsuite/gdb.guile/scm-type.exp @@ -30,7 +30,7 @@ proc build_inferior {exefile lang} { global srcdir subdir srcfile if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${exefile}" executable "debug $lang"] != "" } { - untested "Couldn't compile ${srcfile} in $lang mode" + untested "couldn't compile ${srcfile} in $lang mode" return -1 } return 0 diff --git a/gdb/testsuite/gdb.guile/scm-value.exp b/gdb/testsuite/gdb.guile/scm-value.exp index 1d07c9fe05e..282a1ce7aa1 100644 --- a/gdb/testsuite/gdb.guile/scm-value.exp +++ b/gdb/testsuite/gdb.guile/scm-value.exp @@ -39,7 +39,7 @@ proc build_inferior {exefile lang} { if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${objfile}" object "debug $lang"] != "" || [gdb_compile "${objfile}" "${exefile}" executable "debug $lang"] != "" } { - untested "Couldn't compile ${srcfile} in $lang mode" + untested "couldn't compile ${srcfile} in $lang mode" return -1 } return 0 @@ -320,7 +320,7 @@ proc test_subscript_regression {exefile lang} { clean_restart ${exefile} if ![gdb_guile_runto_main ] { - fail "Can't run to main" + fail "can't run to main" return } @@ -450,7 +450,7 @@ test_value_hash # The following tests require execution. if ![gdb_guile_runto_main] { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.linespec/keywords.exp b/gdb/testsuite/gdb.linespec/keywords.exp index 11e2c4ce289..7baf641a5a4 100644 --- a/gdb/testsuite/gdb.linespec/keywords.exp +++ b/gdb/testsuite/gdb.linespec/keywords.exp @@ -23,7 +23,7 @@ if {[prepare_for_testing $testfile $exefile $srcfile {debug}]} { } if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.linespec/ls-errs.exp b/gdb/testsuite/gdb.linespec/ls-errs.exp index bc4ca2673c1..4276aa2c03f 100644 --- a/gdb/testsuite/gdb.linespec/ls-errs.exp +++ b/gdb/testsuite/gdb.linespec/ls-errs.exp @@ -48,7 +48,7 @@ proc do_test {lang} { gdb_test_no_output "set max-completions unlimited" if {![runto_main]} { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.linespec/macro-relative.exp b/gdb/testsuite/gdb.linespec/macro-relative.exp index 8eef3b68b11..4c6885a382f 100644 --- a/gdb/testsuite/gdb.linespec/macro-relative.exp +++ b/gdb/testsuite/gdb.linespec/macro-relative.exp @@ -22,7 +22,7 @@ if [using_fission] { } if [is_remote host] { - unsupported "Compiling on a remote host does not support a filename with directory." + unsupported "compiling on a remote host does not support a filename with directory." return 0 } diff --git a/gdb/testsuite/gdb.linespec/thread.exp b/gdb/testsuite/gdb.linespec/thread.exp index d3cefb7b703..a469f27ec88 100644 --- a/gdb/testsuite/gdb.linespec/thread.exp +++ b/gdb/testsuite/gdb.linespec/thread.exp @@ -24,7 +24,7 @@ if {[prepare_for_testing $testfile $exefile $srcfile {debug}]} { } if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp b/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp index cda8c4a3e2b..dc427209a89 100644 --- a/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp +++ b/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp @@ -31,7 +31,7 @@ set lib_opts "debug" 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 } @@ -39,7 +39,7 @@ set MIFLAGS "-i=mi" 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 } diff --git a/gdb/testsuite/gdb.mi/mi-dprintf-pending.exp b/gdb/testsuite/gdb.mi/mi-dprintf-pending.exp index 12a91cd99a3..b1c870ef98c 100644 --- a/gdb/testsuite/gdb.mi/mi-dprintf-pending.exp +++ b/gdb/testsuite/gdb.mi/mi-dprintf-pending.exp @@ -36,12 +36,12 @@ if {[get_compiler_info]} { } if {[gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != ""} { - untested "Could not compile $libsrc1" + untested "could not compile $libsrc1" return -1 } if {[gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} { - untested "Could not compile $srcdir/$subdir/$srcfile" + untested "could not compile $srcdir/$subdir/$srcfile" return -1 } diff --git a/gdb/testsuite/gdb.mi/mi-fullname-deleted.exp b/gdb/testsuite/gdb.mi/mi-fullname-deleted.exp index 884a19b216c..d538c68e28b 100644 --- a/gdb/testsuite/gdb.mi/mi-fullname-deleted.exp +++ b/gdb/testsuite/gdb.mi/mi-fullname-deleted.exp @@ -26,13 +26,13 @@ set srcfileabs [standard_output_file $srcfile] # "//$srcfile" It is used for the test of compare_filenames_for_search. if { [regsub {/[^/]+$} $srcfileabs {/\0} srcfileabs] != 1 } { - xfail "Cannot double the last slash separator" + xfail "cannot double the last slash separator" return -1 } if { [regsub {^(/[^/]+)/} $srcfileabs {\1subst/} srcfileabssubst] != 1 || [regsub {^(/[^/]+)/.*$} $srcfileabs {\1} initdir] != 1 } { - xfail "Missing root subdirectory" + xfail "missing root subdirectory" return -1 } diff --git a/gdb/testsuite/gdb.mi/mi-logging.exp b/gdb/testsuite/gdb.mi/mi-logging.exp index b66f5c2bc19..8babed01caf 100644 --- a/gdb/testsuite/gdb.mi/mi-logging.exp +++ b/gdb/testsuite/gdb.mi/mi-logging.exp @@ -54,9 +54,9 @@ close $chan set mi_log_prompt "\[(\]gdb\[)\] \[\r\n\]+" if [regexp "\\^done\[\r\n\]+$mi_log_prompt\\^running\[\r\n\]+\\*running,thread-id=\"all\"\[\r\n\]+$mi_log_prompt\\*stopped,reason=\"end-stepping-range\",.*\[\r\n\]+$mi_log_prompt\\^running\[\r\n\]+\\*running,thread-id=\"all\"\[\r\n\]+$mi_log_prompt\\*stopped,reason=\"end-stepping-range\",.*\[\r\n\]+$mi_log_prompt" $logcontent] { - pass "Log file contents" + pass "log file contents" } else { - fail "Log file contents" + fail "log file contents" } # Now try the redirect, which writes into the file only. @@ -77,9 +77,9 @@ set logcontent [read $chan] close $chan if [regexp "1001\\^done\[\r\n\]+$mi_log_prompt.*1002\\^running\[\r\n\]+\\*running,thread-id=\"all\"\[\r\n\]+$mi_log_prompt\\*stopped,reason=\"end-stepping-range\",.*\[\r\n\]+$mi_log_prompt.*1003\\^running\[\r\n\]+\\*running,thread-id=\"all\"\[\r\n\]+$mi_log_prompt\\*stopped,reason=\"end-stepping-range\",.*\[\r\n\]+$mi_log_prompt" $logcontent] { - pass "Redirect log file contents" + pass "redirect log file contents" } else { - fail "Redirect log file contents" + fail "redirect log file contents" } mi_gdb_exit diff --git a/gdb/testsuite/gdb.mi/mi-pending.exp b/gdb/testsuite/gdb.mi/mi-pending.exp index 48487cee1e5..668572c1759 100644 --- a/gdb/testsuite/gdb.mi/mi-pending.exp +++ b/gdb/testsuite/gdb.mi/mi-pending.exp @@ -41,12 +41,12 @@ if [get_compiler_info] { 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 } if { [gdb_compile_pthreads $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} { - untested "Could not compile $srcdir/$subdir/$srcfile." + untested "could not compile $srcdir/$subdir/$srcfile." return -1 } @@ -111,7 +111,7 @@ mi_gdb_test "-break-insert -p 2 -f pendfunc3" \ mi_send_resuming_command "exec-continue" "continuing execution to thread condition" # Check if we stopped in thread 2 like we should. -set testname "Run till MI pending breakpoint on pendfunc3 on thread 2" +set testname "run till MI pending breakpoint on pendfunc3 on thread 2" gdb_expect { -re "\\*stopped,reason=\"breakpoint-hit\",disp=\"keep\",bkptno=\"4\",frame=\{addr=\"$hex\",func=\"pendfunc3\".*thread-id=\"2\".*" { pass $testname diff --git a/gdb/testsuite/gdb.mi/mi-solib.exp b/gdb/testsuite/gdb.mi/mi-solib.exp index 222798707a2..6ac8c3a36a9 100644 --- a/gdb/testsuite/gdb.mi/mi-solib.exp +++ b/gdb/testsuite/gdb.mi/mi-solib.exp @@ -42,7 +42,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} $lib_flags] != "" || [gdb_compile ${srcfile_main} ${binfile} executable $bin_flags] != "" } { - untested "Could not compile $binfile_lib or $binfile." + untested "could not compile $binfile_lib or $binfile." return -1 } diff --git a/gdb/testsuite/gdb.mi/new-ui-mi-sync.exp b/gdb/testsuite/gdb.mi/new-ui-mi-sync.exp index 55c66a5c58f..b0f6c31e354 100644 --- a/gdb/testsuite/gdb.mi/new-ui-mi-sync.exp +++ b/gdb/testsuite/gdb.mi/new-ui-mi-sync.exp @@ -40,7 +40,7 @@ proc do_test {sync_command} { mi_gdb_exit if {[mi_gdb_start "separate-mi-tty"] != 0} { - fail "Could not start gdb" + fail "could not start gdb" return } diff --git a/gdb/testsuite/gdb.mi/user-selected-context-sync.exp b/gdb/testsuite/gdb.mi/user-selected-context-sync.exp index d3f75d80571..ef94775fd7d 100644 --- a/gdb/testsuite/gdb.mi/user-selected-context-sync.exp +++ b/gdb/testsuite/gdb.mi/user-selected-context-sync.exp @@ -396,7 +396,7 @@ proc_with_prefix test_setup { mode } { mi_gdb_load $binfile if { [mi_runto main] < 0 } { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.multi/dummy-frame-restore.exp b/gdb/testsuite/gdb.multi/dummy-frame-restore.exp index a0dddf59486..e0b7c419cfd 100644 --- a/gdb/testsuite/gdb.multi/dummy-frame-restore.exp +++ b/gdb/testsuite/gdb.multi/dummy-frame-restore.exp @@ -28,7 +28,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug}]} { # Inferior 1 stops at f1. if ![runto f1] then { - fail "Can't run to f1" + fail "can't run to f1" return 0 } @@ -42,7 +42,7 @@ delete_breakpoints # Inferior 2 stops at f2. if ![runto f2] then { - fail "Can't run to f2" + fail "can't run to f2" return 0 } diff --git a/gdb/testsuite/gdb.multi/multi-arch-exec.exp b/gdb/testsuite/gdb.multi/multi-arch-exec.exp index 88e5a621f3e..7b6b8188a7b 100644 --- a/gdb/testsuite/gdb.multi/multi-arch-exec.exp +++ b/gdb/testsuite/gdb.multi/multi-arch-exec.exp @@ -78,7 +78,7 @@ if { [prepare_for_testing ${testfile}.exp ${exec2} "${srcfile2}" \ clean_restart ${exec1} if ![runto_main] then { - fail "Couldn't run to main" + fail "couldn't run to main" return -1 } diff --git a/gdb/testsuite/gdb.multi/remove-inferiors.exp b/gdb/testsuite/gdb.multi/remove-inferiors.exp index d46beec0a9d..fe7d0bf8bb4 100644 --- a/gdb/testsuite/gdb.multi/remove-inferiors.exp +++ b/gdb/testsuite/gdb.multi/remove-inferiors.exp @@ -53,7 +53,7 @@ proc test_remove_inferiors { } { "load binary" if {![runto_main]} { - fail "Couldn't run to main." + fail "couldn't run to main." return } diff --git a/gdb/testsuite/gdb.multi/watchpoint-multi-exit.exp b/gdb/testsuite/gdb.multi/watchpoint-multi-exit.exp index e811422a582..2267413a879 100644 --- a/gdb/testsuite/gdb.multi/watchpoint-multi-exit.exp +++ b/gdb/testsuite/gdb.multi/watchpoint-multi-exit.exp @@ -35,7 +35,7 @@ proc do_test {dispose} { gdb_test_no_output "set detach-on-fork off" if ![runto "child_function"] { - fail "Can't run to child_function" + fail "can't run to child_function" return } diff --git a/gdb/testsuite/gdb.opt/solib-intra-step.exp b/gdb/testsuite/gdb.opt/solib-intra-step.exp index c8c156f0a6c..d6ec6323551 100644 --- a/gdb/testsuite/gdb.opt/solib-intra-step.exp +++ b/gdb/testsuite/gdb.opt/solib-intra-step.exp @@ -36,7 +36,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} $lib_flags] != "" || [gdb_compile ${srcfile} ${binfile} executable $bin_flags] != "" } { - untested "Could not compile $binfile_lib or $binfile." + untested "could not compile $binfile_lib or $binfile." return -1 } diff --git a/gdb/testsuite/gdb.perf/backtrace.exp b/gdb/testsuite/gdb.perf/backtrace.exp index eb94fb9bb25..412e20ce013 100644 --- a/gdb/testsuite/gdb.perf/backtrace.exp +++ b/gdb/testsuite/gdb.perf/backtrace.exp @@ -52,7 +52,7 @@ PerfTest::assemble { clean_restart $binfile if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.perf/single-step.exp b/gdb/testsuite/gdb.perf/single-step.exp index c2af8c9ab13..1cc94eec6d5 100644 --- a/gdb/testsuite/gdb.perf/single-step.exp +++ b/gdb/testsuite/gdb.perf/single-step.exp @@ -44,7 +44,7 @@ PerfTest::assemble { clean_restart $binfile if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } return 0 diff --git a/gdb/testsuite/gdb.perf/skip-command.exp b/gdb/testsuite/gdb.perf/skip-command.exp index d251725916e..755b3bf836a 100644 --- a/gdb/testsuite/gdb.perf/skip-command.exp +++ b/gdb/testsuite/gdb.perf/skip-command.exp @@ -94,7 +94,7 @@ proc run_skip_bench { kind text } { global SKIP_STEP_COUNT SKIP_DIRECTIVE_COUNT if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.perf/skip-prologue.exp b/gdb/testsuite/gdb.perf/skip-prologue.exp index 2d942fcd2e8..2c4aad47aa3 100644 --- a/gdb/testsuite/gdb.perf/skip-prologue.exp +++ b/gdb/testsuite/gdb.perf/skip-prologue.exp @@ -49,7 +49,7 @@ PerfTest::assemble { clean_restart $binfile if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } return 0 diff --git a/gdb/testsuite/gdb.perf/solib.exp b/gdb/testsuite/gdb.perf/solib.exp index 06a606cf224..e2b4baa9eef 100644 --- a/gdb/testsuite/gdb.perf/solib.exp +++ b/gdb/testsuite/gdb.perf/solib.exp @@ -77,7 +77,7 @@ PerfTest::assemble { clean_restart $binfile if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } return 0 diff --git a/gdb/testsuite/gdb.python/lib-types.exp b/gdb/testsuite/gdb.python/lib-types.exp index 003b218bbef..f09571887d8 100644 --- a/gdb/testsuite/gdb.python/lib-types.exp +++ b/gdb/testsuite/gdb.python/lib-types.exp @@ -28,7 +28,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} { if { [skip_python_tests] } { continue } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.python/py-as-string.exp b/gdb/testsuite/gdb.python/py-as-string.exp index 4c7dd0dda21..2b48501e0a5 100644 --- a/gdb/testsuite/gdb.python/py-as-string.exp +++ b/gdb/testsuite/gdb.python/py-as-string.exp @@ -25,7 +25,7 @@ if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } { } if ![runto_main] { - fail "Couldn't run to main." + fail "couldn't run to main." return 0 } diff --git a/gdb/testsuite/gdb.python/py-bad-printers.exp b/gdb/testsuite/gdb.python/py-bad-printers.exp index 6f677986380..14498204113 100644 --- a/gdb/testsuite/gdb.python/py-bad-printers.exp +++ b/gdb/testsuite/gdb.python/py-bad-printers.exp @@ -28,7 +28,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { if { [skip_python_tests] } { continue } if ![runto_main ] then { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.python/py-block.exp b/gdb/testsuite/gdb.python/py-block.exp index 2bd987e310f..45e4f072382 100644 --- a/gdb/testsuite/gdb.python/py-block.exp +++ b/gdb/testsuite/gdb.python/py-block.exp @@ -28,7 +28,7 @@ if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } { if { [skip_python_tests] } { continue } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.python/py-breakpoint.exp b/gdb/testsuite/gdb.python/py-breakpoint.exp index d4a1a488ffb..7503f5a7f4f 100644 --- a/gdb/testsuite/gdb.python/py-breakpoint.exp +++ b/gdb/testsuite/gdb.python/py-breakpoint.exp @@ -38,7 +38,7 @@ proc test_bkpt_basic { } { gdb_test "python print (gdb.breakpoints())" "\\(\\)" if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." return 0 } @@ -123,7 +123,7 @@ proc test_bkpt_deletion { } { clean_restart ${testfile} if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." return 0 } @@ -161,7 +161,7 @@ proc test_bkpt_cond_and_cmds { } { clean_restart ${testfile} if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." return 0 } @@ -213,7 +213,7 @@ proc test_bkpt_invisible { } { clean_restart ${testfile} if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." return 0 } @@ -263,7 +263,7 @@ proc test_watchpoints { } { } if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." return 0 } @@ -288,7 +288,7 @@ proc test_bkpt_internal { } { gdb_test_no_output "set can-use-hw-watchpoints 0" "" } if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." return 0 } delete_breakpoints @@ -318,7 +318,7 @@ proc test_bkpt_eval_funcs { } { gdb_test_no_output "set can-use-hw-watchpoints 0" "" } if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." return 0 } delete_breakpoints @@ -434,7 +434,7 @@ proc test_bkpt_temporary { } { clean_restart ${testfile} if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." return 0 } delete_breakpoints diff --git a/gdb/testsuite/gdb.python/py-cmd.exp b/gdb/testsuite/gdb.python/py-cmd.exp index 4742c44bf65..0665b8e1d32 100644 --- a/gdb/testsuite/gdb.python/py-cmd.exp +++ b/gdb/testsuite/gdb.python/py-cmd.exp @@ -28,7 +28,7 @@ if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } { if { [skip_python_tests] } { continue } if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." return 0 } diff --git a/gdb/testsuite/gdb.python/py-events.exp b/gdb/testsuite/gdb.python/py-events.exp index de8de073b6e..547870ab53e 100644 --- a/gdb/testsuite/gdb.python/py-events.exp +++ b/gdb/testsuite/gdb.python/py-events.exp @@ -34,7 +34,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} { - untested "Could not compile either $libsrc or $srcdir/$subdir/$srcfile." + untested "could not compile either $libsrc or $srcdir/$subdir/$srcfile." return -1 } diff --git a/gdb/testsuite/gdb.python/py-evthreads.exp b/gdb/testsuite/gdb.python/py-evthreads.exp index 93ff83dea34..c14b49a4306 100644 --- a/gdb/testsuite/gdb.python/py-evthreads.exp +++ b/gdb/testsuite/gdb.python/py-evthreads.exp @@ -46,7 +46,7 @@ gdb_breakpoint "thread2" gdb_breakpoint "thread3" gdb_run_cmd -set test "Run to breakpoint 1" +set test "run to breakpoint 1" gdb_test_multiple "" $test { -re "event type: stop\r\nstop reason: breakpoint\r\nfirst breakpoint number: 1\r\nbreakpoint number: 1\r\nthread num: 1\r\n.*$gdb_prompt $" { pass $test diff --git a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp b/gdb/testsuite/gdb.python/py-finish-breakpoint.exp index 81c7bbd6162..218baed540b 100644 --- a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp +++ b/gdb/testsuite/gdb.python/py-finish-breakpoint.exp @@ -37,7 +37,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} { - untested "Could not compile either $libsrc or $srcdir/$subdir/$srcfile." + untested "could not compile either $libsrc or $srcdir/$subdir/$srcfile." return -1 } @@ -64,7 +64,7 @@ clean_restart ${testfile} gdb_load_shlib ${lib_sl} if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." return 0 } @@ -115,7 +115,7 @@ gdb_test "source $python_file" "Python script imported.*" \ set cond_line [gdb_get_line_number "Condition Break."] if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." return 0 } @@ -168,7 +168,7 @@ gdb_test "source $python_file" "Python script imported.*" \ if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." return 0 } @@ -193,7 +193,7 @@ gdb_test "source $python_file" "Python script imported.*" \ "import python scripts" if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." return 0 } @@ -220,7 +220,7 @@ gdb_test "source $python_file" "Python script imported.*" \ "import python scripts" if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." return 0 } @@ -247,7 +247,7 @@ gdb_test "print increase(&i)" \ # if ![runto "test_exec_exit"] then { - fail "Cannot run to test_exec_exit." + fail "cannot run to test_exec_exit." return 0 } @@ -260,7 +260,7 @@ gdb_test "continue" "SimpleFinishBreakpoint out of scope.*" "catch out of scope # if ![runto "test_exec_exit"] then { - fail "Cannot run to test_exec_exit." + fail "cannot run to test_exec_exit." return 0 } diff --git a/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp b/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp index 0e8c4928225..8859d71d1d9 100644 --- a/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp +++ b/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp @@ -28,7 +28,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} { if { [skip_python_tests] } { continue } if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." return 0 } diff --git a/gdb/testsuite/gdb.python/py-frame-inline.exp b/gdb/testsuite/gdb.python/py-frame-inline.exp index 1372ee0f63e..98d349d9820 100644 --- a/gdb/testsuite/gdb.python/py-frame-inline.exp +++ b/gdb/testsuite/gdb.python/py-frame-inline.exp @@ -25,7 +25,7 @@ if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } { if { [skip_python_tests] } { continue } if ![runto main] then { - fail "Can't run to function f" + fail "can't run to function f" return 0 } diff --git a/gdb/testsuite/gdb.python/py-frame.exp b/gdb/testsuite/gdb.python/py-frame.exp index b5a46825bfc..f2a99078107 100644 --- a/gdb/testsuite/gdb.python/py-frame.exp +++ b/gdb/testsuite/gdb.python/py-frame.exp @@ -30,7 +30,7 @@ if { [skip_python_tests] } { continue } # The following tests require execution. if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.python/py-inferior.exp b/gdb/testsuite/gdb.python/py-inferior.exp index 9b90d0bb6de..ced81c696b5 100644 --- a/gdb/testsuite/gdb.python/py-inferior.exp +++ b/gdb/testsuite/gdb.python/py-inferior.exp @@ -44,7 +44,7 @@ gdb_test_multiple "show endian" "getting target endian" { # The following tests require execution. if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.python/py-infthread.exp b/gdb/testsuite/gdb.python/py-infthread.exp index 11f8d211a2d..9292d2833fa 100644 --- a/gdb/testsuite/gdb.python/py-infthread.exp +++ b/gdb/testsuite/gdb.python/py-infthread.exp @@ -33,7 +33,7 @@ if { [skip_python_tests] } { continue } # The following tests require execution. if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.python/py-mi.exp b/gdb/testsuite/gdb.python/py-mi.exp index 138aa2daf3d..6bbc51026a8 100644 --- a/gdb/testsuite/gdb.python/py-mi.exp +++ b/gdb/testsuite/gdb.python/py-mi.exp @@ -321,7 +321,7 @@ mi_gdb_test "-var-update c" \ gdb_exit if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}-cxx" \ executable {debug c++ additional_flags=-DMI}] != "" } { - untested "Couldn't compile ${srcfile} in c++ mode" + untested "couldn't compile ${srcfile} in c++ mode" return -1 } diff --git a/gdb/testsuite/gdb.python/py-objfile.exp b/gdb/testsuite/gdb.python/py-objfile.exp index 62ca3091983..9f7ded9d139 100644 --- a/gdb/testsuite/gdb.python/py-objfile.exp +++ b/gdb/testsuite/gdb.python/py-objfile.exp @@ -28,7 +28,7 @@ if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } { if { [skip_python_tests] } { continue } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } @@ -104,7 +104,7 @@ if { [prepare_for_testing ${testfile}.exp ${testfile}2 ${srcfile} {nodebug ldfla } if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.python/py-pp-maint.exp b/gdb/testsuite/gdb.python/py-pp-maint.exp index a424931078c..5bddfa2dda4 100644 --- a/gdb/testsuite/gdb.python/py-pp-maint.exp +++ b/gdb/testsuite/gdb.python/py-pp-maint.exp @@ -33,7 +33,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { if { [skip_python_tests] } { continue } if ![runto_main ] then { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.python/py-pp-registration.exp b/gdb/testsuite/gdb.python/py-pp-registration.exp index 95e43b7f792..2a8796cab6c 100644 --- a/gdb/testsuite/gdb.python/py-pp-registration.exp +++ b/gdb/testsuite/gdb.python/py-pp-registration.exp @@ -31,7 +31,7 @@ set remote_python_file [gdb_remote_download host \ ${srcdir}/${subdir}/${testfile}.py] if ![runto_main ] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.python/py-prettyprint.exp b/gdb/testsuite/gdb.python/py-prettyprint.exp index 91b9b0de3f9..86491e4e5e3 100644 --- a/gdb/testsuite/gdb.python/py-prettyprint.exp +++ b/gdb/testsuite/gdb.python/py-prettyprint.exp @@ -30,7 +30,7 @@ if { [skip_python_tests] } { continue } proc run_lang_tests {exefile lang} { global srcdir subdir srcfile testfile hex if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${exefile}" executable "debug $lang"] != "" } { - untested "Couldn't compile ${srcfile} in $lang mode" + untested "couldn't compile ${srcfile} in $lang mode" return -1 } diff --git a/gdb/testsuite/gdb.python/py-recurse-unwind.exp b/gdb/testsuite/gdb.python/py-recurse-unwind.exp index 97c69f7bc43..d611c90528b 100644 --- a/gdb/testsuite/gdb.python/py-recurse-unwind.exp +++ b/gdb/testsuite/gdb.python/py-recurse-unwind.exp @@ -41,7 +41,7 @@ gdb_test "source ${pyfile}" "Python script imported" \ # The following tests require execution. if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.python/py-shared.exp b/gdb/testsuite/gdb.python/py-shared.exp index 4a0c73829df..3e049b32495 100644 --- a/gdb/testsuite/gdb.python/py-shared.exp +++ b/gdb/testsuite/gdb.python/py-shared.exp @@ -28,14 +28,14 @@ set libsrc ${libfile}.c set library [standard_output_file ${libfile}.sl] if { [gdb_compile_shlib ${srcdir}/${subdir}/${libsrc} ${library} "debug"] != "" } { - untested "Could not compile shared library." + untested "could not compile shared library." return -1 } set exec_opts [list debug shlib=${library}] if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $exec_opts] != "" } { - untested "Could not compile $binfile." + untested "could not compile $binfile." return -1 } @@ -49,7 +49,7 @@ if { [skip_python_tests] } { continue } # The following tests require execution. if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.python/py-symbol.exp b/gdb/testsuite/gdb.python/py-symbol.exp index 4cdb3b89c23..41c4a9e218d 100644 --- a/gdb/testsuite/gdb.python/py-symbol.exp +++ b/gdb/testsuite/gdb.python/py-symbol.exp @@ -50,7 +50,7 @@ gdb_test "python print (gdb.lookup_global_symbol('qq').needs_frame)" \ if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } @@ -127,7 +127,7 @@ gdb_test "python print (t\[0\].symtab)" "${py_symbol_c}" "Get symtab" # C++ tests # Recompile binary. if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}-cxx" executable "debug c++"] != "" } { - untested "Couldn't compile ${srcfile} in c++ mode" + untested "couldn't compile ${srcfile} in c++ mode" return -1 } @@ -138,7 +138,7 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${binfile}-cxx if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } @@ -167,7 +167,7 @@ gdb_test "python print (cplusfunc.addr_class == gdb.SYMBOL_LOC_BLOCK)" "True" "T # Start with a fresh gdb. clean_restart ${testfile} if ![runto_main] then { - fail "Cannot run to main." + fail "cannot run to main." return 0 } diff --git a/gdb/testsuite/gdb.python/py-symtab.exp b/gdb/testsuite/gdb.python/py-symtab.exp index efb2cb98830..95c83c9b81a 100644 --- a/gdb/testsuite/gdb.python/py-symtab.exp +++ b/gdb/testsuite/gdb.python/py-symtab.exp @@ -28,7 +28,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { if { [skip_python_tests] } { continue } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.python/py-template.exp b/gdb/testsuite/gdb.python/py-template.exp index ea50f49e30b..28a5177850b 100644 --- a/gdb/testsuite/gdb.python/py-template.exp +++ b/gdb/testsuite/gdb.python/py-template.exp @@ -21,7 +21,7 @@ if { [skip_cplus_tests] } { continue } standard_testfile .cc if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable \ {debug c++}] != "" } { - untested "Couldn't compile ${srcfile}" + untested "couldn't compile ${srcfile}" return -1 } diff --git a/gdb/testsuite/gdb.python/py-type.exp b/gdb/testsuite/gdb.python/py-type.exp index 709c5878e1c..61c8c2faac6 100644 --- a/gdb/testsuite/gdb.python/py-type.exp +++ b/gdb/testsuite/gdb.python/py-type.exp @@ -29,7 +29,7 @@ proc build_inferior {exefile lang} { global srcdir subdir srcfile testfile hex if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${exefile}" executable "debug $lang"] != "" } { - untested "Couldn't compile ${srcfile} in $lang mode" + untested "couldn't compile ${srcfile} in $lang mode" return -1 } diff --git a/gdb/testsuite/gdb.python/py-unwind-maint.exp b/gdb/testsuite/gdb.python/py-unwind-maint.exp index 12530571ca0..cf78236564b 100644 --- a/gdb/testsuite/gdb.python/py-unwind-maint.exp +++ b/gdb/testsuite/gdb.python/py-unwind-maint.exp @@ -30,7 +30,7 @@ if { [skip_python_tests] } { continue } set pyfile [gdb_remote_download host ${srcdir}/${subdir}/${testfile}.py] if ![runto_main ] then { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.python/py-unwind.exp b/gdb/testsuite/gdb.python/py-unwind.exp index e31a4727564..80ee6809322 100644 --- a/gdb/testsuite/gdb.python/py-unwind.exp +++ b/gdb/testsuite/gdb.python/py-unwind.exp @@ -33,7 +33,7 @@ if { ![istarget x86_64-*-* ] || ![is_lp64_target] } { continue } # The following tests require execution. if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.python/py-value.exp b/gdb/testsuite/gdb.python/py-value.exp index 39b03850b61..5395f8cbbd1 100644 --- a/gdb/testsuite/gdb.python/py-value.exp +++ b/gdb/testsuite/gdb.python/py-value.exp @@ -39,7 +39,7 @@ proc build_inferior {exefile lang} { if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${objfile}" object "debug $lang"] != "" || [gdb_compile "${objfile}" "${exefile}" executable "debug $lang"] != "" } { - untested "Couldn't compile ${srcfile} in $lang mode" + untested "couldn't compile ${srcfile} in $lang mode" return -1 } return 0 @@ -528,7 +528,7 @@ test_value_hash # The following tests require execution. if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.python/python.exp b/gdb/testsuite/gdb.python/python.exp index 4072fa3d35b..2ff1f149a17 100644 --- a/gdb/testsuite/gdb.python/python.exp +++ b/gdb/testsuite/gdb.python/python.exp @@ -203,7 +203,7 @@ clean_restart ${testfile} # The following tests require execution. if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } @@ -324,7 +324,7 @@ gdb_test_multiple "set prompt blah " "set blah in GDB" { gdb_test_multiple "python gdb.prompt_hook = None" "Delete hook" { -re "\[\r\n\]$newprompt2 $" { - pass "Delete old hook" + pass "delete old hook" } } @@ -391,7 +391,7 @@ clean_restart ${testfile} # The following tests require execution. if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } @@ -447,7 +447,7 @@ clean_restart ${testfile} # The following tests require execution. if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.reverse/finish-reverse-bkpt.exp b/gdb/testsuite/gdb.reverse/finish-reverse-bkpt.exp index 1dff8e10002..795a313dd84 100644 --- a/gdb/testsuite/gdb.reverse/finish-reverse-bkpt.exp +++ b/gdb/testsuite/gdb.reverse/finish-reverse-bkpt.exp @@ -30,7 +30,7 @@ if { [prepare_for_testing $testfile.exp "$testfile" $srcfile] } { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.reverse/insn-reverse.exp b/gdb/testsuite/gdb.reverse/insn-reverse.exp index f52b40c04b1..a252959dffe 100644 --- a/gdb/testsuite/gdb.reverse/insn-reverse.exp +++ b/gdb/testsuite/gdb.reverse/insn-reverse.exp @@ -119,7 +119,7 @@ proc test { func } { set n_testcases [get_integer_valueof "n_testcases" 0] if { ${n_testcases} == 0 } { - untested "No test" + untested "no test" return 1 } diff --git a/gdb/testsuite/gdb.reverse/next-reverse-bkpt-over-sr.exp b/gdb/testsuite/gdb.reverse/next-reverse-bkpt-over-sr.exp index e06eb7e143e..e0cfcf73efe 100644 --- a/gdb/testsuite/gdb.reverse/next-reverse-bkpt-over-sr.exp +++ b/gdb/testsuite/gdb.reverse/next-reverse-bkpt-over-sr.exp @@ -34,7 +34,7 @@ if { [prepare_for_testing $testfile.exp $testfile $srcfile] } { } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.reverse/solib-precsave.exp b/gdb/testsuite/gdb.reverse/solib-precsave.exp index 6ce26eb03a0..3d1f4cb9516 100644 --- a/gdb/testsuite/gdb.reverse/solib-precsave.exp +++ b/gdb/testsuite/gdb.reverse/solib-precsave.exp @@ -40,12 +40,12 @@ if [get_compiler_info] { # Compile the first without debug info so that # stepping and reverse stepping doesn't end up inside them. if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib1src} ${library1} ""] != "" } { - untested "Could not compile shared library1." + untested "could not compile shared library1." return -1 } if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib2src} ${library2} "debug"] != "" } { - untested "Could not compile shared library2." + untested "could not compile shared library2." return -1 } @@ -58,7 +58,7 @@ set exec_opts [list debug shlib=${library1} shlib=${library2}] if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable \ [concat $exec_opts additional_flags=-Wl,-z,norelro]] != "" && [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $exec_opts] != "" } { - untested "Could not compile $binfile." + untested "could not compile $binfile." return -1 } diff --git a/gdb/testsuite/gdb.reverse/solib-reverse.exp b/gdb/testsuite/gdb.reverse/solib-reverse.exp index a370e94375f..13899529d1a 100644 --- a/gdb/testsuite/gdb.reverse/solib-reverse.exp +++ b/gdb/testsuite/gdb.reverse/solib-reverse.exp @@ -38,19 +38,19 @@ if [get_compiler_info] { # Compile the first without debug info so that # stepping and reverse stepping doesn't end up inside them. if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib1src} ${library1} ""] != "" } { - untested "Could not compile shared library1." + untested "could not compile shared library1." return -1 } if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib2src} ${library2} "debug"] != "" } { - untested "Could not compile shared library2." + untested "could not compile shared library2." return -1 } set exec_opts [list debug shlib=${library1} shlib=${library2}] if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $exec_opts] != "" } { - untested "Could not compile $binfile." + untested "could not compile $binfile." return -1 } diff --git a/gdb/testsuite/gdb.stabs/gdb11479.exp b/gdb/testsuite/gdb.stabs/gdb11479.exp index b5c5772b213..ab67280c40b 100644 --- a/gdb/testsuite/gdb.stabs/gdb11479.exp +++ b/gdb/testsuite/gdb.stabs/gdb11479.exp @@ -22,7 +22,7 @@ set testfile "gdb11479" proc do_test {version} { if ![runto_main] { - fail "Can't run to main $version" + fail "can't run to main $version" return -1 } gdb_test "rb test" "" "Set breakpoints $version" diff --git a/gdb/testsuite/gdb.stabs/weird.exp b/gdb/testsuite/gdb.stabs/weird.exp index 2a8ef3ec518..699b26be0cc 100644 --- a/gdb/testsuite/gdb.stabs/weird.exp +++ b/gdb/testsuite/gdb.stabs/weird.exp @@ -305,7 +305,7 @@ gdb_expect 60 { pass "weirdx.o read without error" } -re ".*$gdb_prompt $" { - fail "Errors reading weirdx.o" + fail "errors reading weirdx.o" } timeout { perror "couldn't load $binfile into $GDB (timed out)." diff --git a/gdb/testsuite/gdb.threads/fork-child-threads.exp b/gdb/testsuite/gdb.threads/fork-child-threads.exp index fcceb023901..8a7c596a90d 100644 --- a/gdb/testsuite/gdb.threads/fork-child-threads.exp +++ b/gdb/testsuite/gdb.threads/fork-child-threads.exp @@ -27,7 +27,7 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab clean_restart ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/fork-plus-threads.exp b/gdb/testsuite/gdb.threads/fork-plus-threads.exp index 0d621c3d46c..81eeda3f565 100644 --- a/gdb/testsuite/gdb.threads/fork-plus-threads.exp +++ b/gdb/testsuite/gdb.threads/fork-plus-threads.exp @@ -46,7 +46,7 @@ proc do_test { detach_on_fork } { set GDBFLAGS $saved_gdbflags if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/fork-thread-pending.exp b/gdb/testsuite/gdb.threads/fork-thread-pending.exp index 96187ece719..ff672944ccb 100644 --- a/gdb/testsuite/gdb.threads/fork-thread-pending.exp +++ b/gdb/testsuite/gdb.threads/fork-thread-pending.exp @@ -28,7 +28,7 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab clean_restart ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } @@ -86,7 +86,7 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.exp b/gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.exp index 364c5d48a88..0c1f0429f53 100644 --- a/gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.exp +++ b/gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.exp @@ -39,7 +39,7 @@ proc probe_displaced_stepping_support {} { gdb_test_no_output "set displaced on" if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } @@ -79,7 +79,7 @@ proc do_test { cond_bp_target detach_on_fork displaced } { set GDBFLAGS $saved_gdbflags if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/hand-call-in-threads.exp b/gdb/testsuite/gdb.threads/hand-call-in-threads.exp index 67c2c8e2205..1dd73b9403a 100644 --- a/gdb/testsuite/gdb.threads/hand-call-in-threads.exp +++ b/gdb/testsuite/gdb.threads/hand-call-in-threads.exp @@ -26,7 +26,7 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab # Some targets can't do function calls, so don't even bother with this # test. if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" continue } @@ -50,7 +50,7 @@ proc get_dummy_frame_number { } { clean_restart ${binfile} if { ![runto_main] } { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/interrupted-hand-call.exp b/gdb/testsuite/gdb.threads/interrupted-hand-call.exp index 556902c13f0..65ed279705a 100644 --- a/gdb/testsuite/gdb.threads/interrupted-hand-call.exp +++ b/gdb/testsuite/gdb.threads/interrupted-hand-call.exp @@ -27,14 +27,14 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab # Some targets can't do function calls, so don't even bother with this # test. if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" continue } clean_restart ${binfile} if { ![runto_main] } { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/linux-dp.exp b/gdb/testsuite/gdb.threads/linux-dp.exp index 9f717c79ffa..400fb16dff3 100644 --- a/gdb/testsuite/gdb.threads/linux-dp.exp +++ b/gdb/testsuite/gdb.threads/linux-dp.exp @@ -98,7 +98,7 @@ for {set i 0} {$i < 5} {incr i} { # It would be nice if we could catch the message that GDB prints # when it first notices that the thread library doesn't support # debugging, or if we could explicitly ask GDB somehow. - unsupported "This GDB does not support threads on this system." + unsupported "this GDB does not support threads on this system." return -1 } -re "$gdb_prompt $" { diff --git a/gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp b/gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp index a60f98ba71e..b97f71a751c 100644 --- a/gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp +++ b/gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp @@ -35,7 +35,7 @@ clean_restart ${binfile} gdb_test_no_output "set can-use-hw-watchpoints 1" "" if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return } diff --git a/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.exp b/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.exp index 56442b136b0..2913a636aa7 100644 --- a/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.exp +++ b/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.exp @@ -28,7 +28,7 @@ if {[prepare_for_testing "failed to prepare" \ } if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/non-ldr-exit.exp b/gdb/testsuite/gdb.threads/non-ldr-exit.exp index 7276b6c8100..39b98041539 100644 --- a/gdb/testsuite/gdb.threads/non-ldr-exit.exp +++ b/gdb/testsuite/gdb.threads/non-ldr-exit.exp @@ -23,7 +23,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug pthreads} } if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.threads/pending-step.exp b/gdb/testsuite/gdb.threads/pending-step.exp index d3c7d57de25..b8b6443cb47 100644 --- a/gdb/testsuite/gdb.threads/pending-step.exp +++ b/gdb/testsuite/gdb.threads/pending-step.exp @@ -57,7 +57,7 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab clean_restart ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/print-threads.exp b/gdb/testsuite/gdb.threads/print-threads.exp index 1cbec5f0864..3ead23c921a 100644 --- a/gdb/testsuite/gdb.threads/print-threads.exp +++ b/gdb/testsuite/gdb.threads/print-threads.exp @@ -50,16 +50,16 @@ proc test_all_threads { name kill } { gdb_test_multiple "continue" "all threads ran once" { -re "Breakpoint \[0-9\]+, thread_function \\(arg=.*\\) at .*print-threads.c:\[0-9\]+.*$gdb_prompt" { set i [expr $i + 1] - pass "Hit thread_function breakpoint, $i ($name)" + pass "hit thread_function breakpoint, $i ($name)" send_gdb "continue\n" exp_continue } -re "Breakpoint \[0-9\]+, .* kill \\(.*\\) .*$gdb_prompt" { set j [expr $j + 1] if { $kill == 1 } { - pass "Hit kill breakpoint, $j ($name)" + pass "hit kill breakpoint, $j ($name)" } else { - fail "Hit kill breakpoint, $j ($name) (unexpected)" + fail "hit kill breakpoint, $j ($name) (unexpected)" } send_gdb "continue\n" exp_continue @@ -76,7 +76,7 @@ proc test_all_threads { name kill } { if { $kill == 1 } { kfail "gdb/1265" "Running threads ($name) (zombie thread)" } else { - fail "Running threads ($name) (unknown output)" + fail "running threads ($name) (unknown output)" } } } diff --git a/gdb/testsuite/gdb.threads/process-dies-while-detaching.exp b/gdb/testsuite/gdb.threads/process-dies-while-detaching.exp index 52dc8dd433a..84e9cbcab44 100644 --- a/gdb/testsuite/gdb.threads/process-dies-while-detaching.exp +++ b/gdb/testsuite/gdb.threads/process-dies-while-detaching.exp @@ -193,7 +193,7 @@ proc test_detach {multi_process cmd} { clean_restart ${binfile} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -218,7 +218,7 @@ proc test_detach_watch {multi_process cmd} { clean_restart ${binfile} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } @@ -254,7 +254,7 @@ proc test_detach_killed_outside {multi_process cmd} { clean_restart ${binfile} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.threads/process-dies-while-handling-bp.exp b/gdb/testsuite/gdb.threads/process-dies-while-handling-bp.exp index 2db31afce11..efec5170ea3 100644 --- a/gdb/testsuite/gdb.threads/process-dies-while-handling-bp.exp +++ b/gdb/testsuite/gdb.threads/process-dies-while-handling-bp.exp @@ -46,7 +46,7 @@ proc do_test { non_stop cond_bp_target } { set GDBFLAGS $saved_gdbflags if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/pthreads.exp b/gdb/testsuite/gdb.threads/pthreads.exp index 1fb27cfbc77..2d265058ec5 100644 --- a/gdb/testsuite/gdb.threads/pthreads.exp +++ b/gdb/testsuite/gdb.threads/pthreads.exp @@ -189,13 +189,13 @@ proc check_control_c {} { # Verify that all threads are running. if [all_threads_running] then { - pass "All threads running after startup" + pass "all threads running after startup" } # Send a continue followed by ^C to the process to stop it. gdb_test_multiple "continue" "continue with all threads running" { -re "Continuing." { - pass "Continue with all threads running" + pass "continue with all threads running" } } after 2000 @@ -217,7 +217,7 @@ proc check_control_c {} { # Verify that all threads can be run again after a ^C stop. if [all_threads_running] then { - pass "All threads running after continuing from ^C stop" + pass "all threads running after continuing from ^C stop" } return 0 } diff --git a/gdb/testsuite/gdb.threads/queue-signal.exp b/gdb/testsuite/gdb.threads/queue-signal.exp index 187e0496663..3813b665eae 100644 --- a/gdb/testsuite/gdb.threads/queue-signal.exp +++ b/gdb/testsuite/gdb.threads/queue-signal.exp @@ -23,7 +23,7 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ clean_restart ${binfile} if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/reconnect-signal.exp b/gdb/testsuite/gdb.threads/reconnect-signal.exp index 1fe0f59f045..1d134e209a1 100644 --- a/gdb/testsuite/gdb.threads/reconnect-signal.exp +++ b/gdb/testsuite/gdb.threads/reconnect-signal.exp @@ -27,14 +27,14 @@ if { [gdb_compile_pthreads \ "${srcdir}/${subdir}/${srcfile}" \ "${binfile}" \ executable {debug}] != "" } { - untested "Couldn't compile test program." + untested "couldn't compile test program." return -1 } clean_restart $executable if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/signal-command-handle-nopass.exp b/gdb/testsuite/gdb.threads/signal-command-handle-nopass.exp index 97dc420c147..d3b16709dfe 100644 --- a/gdb/testsuite/gdb.threads/signal-command-handle-nopass.exp +++ b/gdb/testsuite/gdb.threads/signal-command-handle-nopass.exp @@ -41,7 +41,7 @@ proc test { step_over } { clean_restart ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/signal-command-multiple-signals-pending.exp b/gdb/testsuite/gdb.threads/signal-command-multiple-signals-pending.exp index 43fe779760d..581849d13f4 100644 --- a/gdb/testsuite/gdb.threads/signal-command-multiple-signals-pending.exp +++ b/gdb/testsuite/gdb.threads/signal-command-multiple-signals-pending.exp @@ -38,7 +38,7 @@ proc test { schedlock } { clean_restart ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/signal-delivered-right-thread.exp b/gdb/testsuite/gdb.threads/signal-delivered-right-thread.exp index b7ce8ef9456..b8e03cb7eab 100644 --- a/gdb/testsuite/gdb.threads/signal-delivered-right-thread.exp +++ b/gdb/testsuite/gdb.threads/signal-delivered-right-thread.exp @@ -35,7 +35,7 @@ proc test { command } { clean_restart ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/signal-sigtrap.exp b/gdb/testsuite/gdb.threads/signal-sigtrap.exp index c2789eb9697..6a3af56cd8f 100644 --- a/gdb/testsuite/gdb.threads/signal-sigtrap.exp +++ b/gdb/testsuite/gdb.threads/signal-sigtrap.exp @@ -37,7 +37,7 @@ proc test { sigtrap_thread } { clean_restart ${binfile} if ![runto "thread_function"] then { - fail "Can't run to thread_function" + fail "can't run to thread_function" return 0 } diff --git a/gdb/testsuite/gdb.threads/sigthread.exp b/gdb/testsuite/gdb.threads/sigthread.exp index 71ef75ac1dc..c746b39d342 100644 --- a/gdb/testsuite/gdb.threads/sigthread.exp +++ b/gdb/testsuite/gdb.threads/sigthread.exp @@ -24,7 +24,7 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ clean_restart ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/staticthreads.exp b/gdb/testsuite/gdb.threads/staticthreads.exp index 16fcb68d18e..6bd3c203d16 100644 --- a/gdb/testsuite/gdb.threads/staticthreads.exp +++ b/gdb/testsuite/gdb.threads/staticthreads.exp @@ -42,7 +42,7 @@ gdb_test_no_output "set print sevenbit-strings" runto_main gdb_test "break sem_post" -set test "Continue to main's call of sem_post" +set test "continue to main's call of sem_post" gdb_test_multiple "continue" "$test" { -re "Breakpoint .*, .*sem_post .*$gdb_prompt " { pass "$test" @@ -65,7 +65,7 @@ if [istarget hppa*-*-*] { rerun_to_main gdb_test "handle $sig nostop noprint pass" -set test "Handle $sig helps" +set test "handle $sig helps" gdb_test "continue" " .*sem_post .*" "handle $sig helps" diff --git a/gdb/testsuite/gdb.threads/stepi-random-signal.exp b/gdb/testsuite/gdb.threads/stepi-random-signal.exp index 2b64d5f35c3..5e558ddc21a 100644 --- a/gdb/testsuite/gdb.threads/stepi-random-signal.exp +++ b/gdb/testsuite/gdb.threads/stepi-random-signal.exp @@ -20,7 +20,7 @@ if { [gdb_compile_pthreads \ "${srcdir}/${subdir}/${srcfile}" \ "${binfile}" \ executable {debug}] != "" } { - untested "Couldn't compile test program." + untested "couldn't compile test program." return -1 } diff --git a/gdb/testsuite/gdb.threads/thread-unwindonsignal.exp b/gdb/testsuite/gdb.threads/thread-unwindonsignal.exp index 1327c7e1931..efa68d10ffe 100644 --- a/gdb/testsuite/gdb.threads/thread-unwindonsignal.exp +++ b/gdb/testsuite/gdb.threads/thread-unwindonsignal.exp @@ -27,14 +27,14 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab # Some targets can't do function calls, so don't even bother with this # test. if [target_info exists gdb,cannot_call_functions] { - unsupported "This target can not call functions" + unsupported "this target can not call functions" continue } clean_restart ${binfile} if { ![runto_main] } { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/thread_check.exp b/gdb/testsuite/gdb.threads/thread_check.exp index 52c6fa48fe4..e4ad3eaaa82 100644 --- a/gdb/testsuite/gdb.threads/thread_check.exp +++ b/gdb/testsuite/gdb.threads/thread_check.exp @@ -42,7 +42,7 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab clean_restart ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 1 } diff --git a/gdb/testsuite/gdb.threads/thread_events.exp b/gdb/testsuite/gdb.threads/thread_events.exp index c80d441767d..900cd29460f 100644 --- a/gdb/testsuite/gdb.threads/thread_events.exp +++ b/gdb/testsuite/gdb.threads/thread_events.exp @@ -112,7 +112,7 @@ proc test_thread_messages {enabled} { # The initial thread may log a 'New Thread' message, but we don't # check for it. if ![runto_main] then { - fail "Can't run to main $enabled_string" + fail "can't run to main $enabled_string" return 1 } diff --git a/gdb/testsuite/gdb.threads/tid-reuse.exp b/gdb/testsuite/gdb.threads/tid-reuse.exp index 4a2c10317cb..e2885ec3aaf 100644 --- a/gdb/testsuite/gdb.threads/tid-reuse.exp +++ b/gdb/testsuite/gdb.threads/tid-reuse.exp @@ -25,7 +25,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile { debug pthreads clean_restart ${binfile} if ![runto main] { - fail "Can't run to main" + fail "can't run to main" return -1 } diff --git a/gdb/testsuite/gdb.threads/tls-nodebug.exp b/gdb/testsuite/gdb.threads/tls-nodebug.exp index 3b20697a377..89ec6e6afd9 100644 --- a/gdb/testsuite/gdb.threads/tls-nodebug.exp +++ b/gdb/testsuite/gdb.threads/tls-nodebug.exp @@ -28,7 +28,7 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab clean_restart ${binfile} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/tls-shared.exp b/gdb/testsuite/gdb.threads/tls-shared.exp index 804e28adc61..2bbc4a5d019 100644 --- a/gdb/testsuite/gdb.threads/tls-shared.exp +++ b/gdb/testsuite/gdb.threads/tls-shared.exp @@ -39,7 +39,7 @@ clean_restart ${binfile} gdb_load_shlib ${binfile_lib} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/tls-so_extern.exp b/gdb/testsuite/gdb.threads/tls-so_extern.exp index dde7bcd1edd..2142d152174 100644 --- a/gdb/testsuite/gdb.threads/tls-so_extern.exp +++ b/gdb/testsuite/gdb.threads/tls-so_extern.exp @@ -38,7 +38,7 @@ clean_restart ${binfile} gdb_load_shlib ${binfile_lib} if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/gdb.threads/tls.exp b/gdb/testsuite/gdb.threads/tls.exp index 5c07844f147..f6e988c5132 100644 --- a/gdb/testsuite/gdb.threads/tls.exp +++ b/gdb/testsuite/gdb.threads/tls.exp @@ -157,7 +157,7 @@ gdb_test "print a_thread_local" \ "Cannot read .a_thread_local. without registers" if ![runto_main] then { - fail "Can't run to main" + fail "can't run to main" return 0 } @@ -263,7 +263,7 @@ foreach i [array names spin_threads] { } if {$thrs_in_spin == 0} { - fail "No thread backtrace reported spin (vsyscall kernel problem?)" + fail "no thread backtrace reported spin (vsyscall kernel problem?)" } gdb_test "continue" ".*Breakpoint 4.*before exit.*" "threads exited" @@ -271,10 +271,10 @@ gdb_test "continue" ".*Breakpoint 4.*before exit.*" "threads exited" send_gdb "info thread\n" gdb_expect { -re ".* 1 *Thread.*2 *Thread.*$gdb_prompt $" { - fail "Too many threads left at end" + fail "too many threads left at end" } -re ".*\\\* 1 *Thread.*main.*$gdb_prompt $" { - pass "Expect only base thread at end" + pass "expect only base thread at end" } -re ".*No stack.*$gdb_prompt $" { fail "runaway at end" diff --git a/gdb/testsuite/gdb.threads/wp-replication.exp b/gdb/testsuite/gdb.threads/wp-replication.exp index 12ec87a5a91..88a2e06ad6e 100644 --- a/gdb/testsuite/gdb.threads/wp-replication.exp +++ b/gdb/testsuite/gdb.threads/wp-replication.exp @@ -43,7 +43,7 @@ gdb_test_no_output "set can-use-hw-watchpoints 1" "" # Run to `main' where we begin our tests. if ![runto_main] then { - fail "Failed to run to main" + fail "failed to run to main" return 0 } @@ -86,7 +86,7 @@ gdb_test_no_output "set breakpoint always-inserted off" # (through board settings) that it did not support them in the first place. # Just exit. if { $hwatch_count == 0} { - fail "No hardware watchpoints available" + fail "no hardware watchpoints available" return 0 } diff --git a/gdb/testsuite/gdb.trace/actions-changed.exp b/gdb/testsuite/gdb.trace/actions-changed.exp index 296277af49c..3b8e6bab7fa 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 c4d16054ca8..f02890ad3ee 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 881a7986481..44a76579711 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 9fef3f06448..118060a8251 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 f225429a20e..c2f2b5c0bed 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 652b6c1b2b8..bffd5759dd5 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 240284b4e29..5c45021d744 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 e8ed51712cd..ced00952aac 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 0b12c8d16c5..b48d9699301 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 e90485cfb28..8b720d42e10 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 7ba212a38a8..1561ead24b0 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 567954a3605..3e2aff7c2e5 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 a49cd17c7cb..3236d7c46f8 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 ce023895c3a..3d57623424d 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 a0e49afd451..43b34c99663 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 1a4783daac8..cf9a448c0d9 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 7ee8a4f046b..06d86e6d038 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 93bfc79bf1e..a790063c438 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 c5e2e2bcddf..d8d68ecf0a0 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 2ec858a39a9..df7e39d1655 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 f7905fb275e..28ffc2859a5 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 7e6cbf52796..8e963c35404 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 7bc80b885f3..444b453141b 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 ba8c3d21dc2..81da27d2cde 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 35402cbe42b..b82967d68b8 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 7d8962767a4..f487ec6507f 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 a70ad54507a..dfbbdca461b 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 48e495ee78e..f36133a542e 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 1c002c1e8d6..4cb05d512f3 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 73bc6e7bac1..d6ce4ce1ccd 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 6394926a7f6..6b11fcf73af 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 183b4c39094..9f89d3d0eb9 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 d78547d9dcb..cfd7db350cc 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 a90d02d5d5e..b7b2ea1491a 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 e36dba42fc9..0e93e517125 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 0c35c92e14e..43891fa99c8 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 b58034499b6..bab2a615682 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 11ef69171c2..645dcbcc38f 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 4c52c64a744..52735d31e73 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 e6388393bc9..885fe23a3d7 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 de6efb60c36..c3957c2d31d 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 f146745c843..d9e2d6b5fcd 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 ed1b53363f8..d7cf0202f60 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 79785e21448..b090f76e06e 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 fe4588ae10f..2705852ab7e 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 } diff --git a/gdb/testsuite/lib/gdb-guile.exp b/gdb/testsuite/lib/gdb-guile.exp index 7789449567f..8f73f5a7e29 100644 --- a/gdb/testsuite/lib/gdb-guile.exp +++ b/gdb/testsuite/lib/gdb-guile.exp @@ -116,7 +116,7 @@ proc gdb_install_guile_module { } { proc gdb_guile_runto_main { } { if ![runto_main] { - fail "Can't run to main" + fail "can't run to main" return 0 } diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index e1e98803885..b9b3a45a79d 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -523,7 +523,7 @@ proc runto { function args } { } -re "The target does not support running in non-stop mode.\r\n$gdb_prompt $" { if { $print_fail } { - unsupported "Non-stop mode not supported" + unsupported "non-stop mode not supported" } return 0 } @@ -3150,7 +3150,7 @@ gdb_caching_proc target_is_gdbserver { global gdb_prompt set is_gdbserver -1 - set test "Probing for GDBserver" + set test "probing for GDBserver" gdb_test_multiple "monitor help" $test { -re "The following monitor commands are supported.*Quit GDBserver.*$gdb_prompt $" { @@ -3602,7 +3602,7 @@ proc gdb_compile_pthreads {source dest type options} { } } if {!$built_binfile} { - unsupported "Couldn't compile [file tail $source]: ${why_msg}" + unsupported "couldn't compile [file tail $source]: ${why_msg}" return -1 } } @@ -3731,7 +3731,7 @@ proc gdb_compile_shlib_pthreads {sources dest options} { } } if {!$built_binfile} { - unsupported "Couldn't compile $sources: ${why_msg}" + unsupported "couldn't compile $sources: ${why_msg}" return -1 } } @@ -3771,7 +3771,7 @@ proc gdb_compile_objc {source dest type options} { } } if {!$built_binfile} { - unsupported "Couldn't compile [file tail $source]: ${why_msg}" + unsupported "couldn't compile [file tail $source]: ${why_msg}" return -1 } } diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 7c2bb3e243a..622b7cc10d1 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -269,12 +269,12 @@ proc default_mi_gdb_start { args } { verbose "GDB initialized." } -re ".*unrecognized option.*for a complete list of options." { - untested "Skip mi tests (not compiled with mi support)." + untested "skip mi tests (not compiled with mi support)." remote_close host return -1 } -re ".*Interpreter `mi' unrecognized." { - untested "Skip mi tests (not compiled with mi support)." + untested "skip mi tests (not compiled with mi support)." remote_close host return -1 } @@ -462,7 +462,7 @@ proc mi_gdb_target_cmd { targetname serialport } { continue } -re "Non-stop mode requested, but remote does not support non-stop.*$mi_gdb_prompt" { - unsupported "Non-stop mode not supported" + unsupported "non-stop mode not supported" return 1 } -re "Timeout reading from remote system.*$mi_gdb_prompt$" { @@ -989,7 +989,7 @@ proc mi_run_cmd_full {use_mi_command args} { -re "${run_match}\\^running\r\n(\\*running,thread-id=\"\[^\"\]+\"\r\n|=thread-created,id=\"1\",group-id=\"\[0-9\]+\"\r\n)*(${library_loaded_re})*(${thread_selected_re})?${mi_gdb_prompt}" { } -re "\\^error,msg=\"The target does not support running in non-stop mode.\"" { - unsupported "Non-stop mode not supported" + unsupported "non-stop mode not supported" return -1 } timeout { diff --git a/gdb/testsuite/lib/pascal.exp b/gdb/testsuite/lib/pascal.exp index 5ef3065fff0..ac29f7e4c88 100644 --- a/gdb/testsuite/lib/pascal.exp +++ b/gdb/testsuite/lib/pascal.exp @@ -158,7 +158,7 @@ proc gdb_compile_pascal {source destfile type options} { } elseif { $pascal_compiler_is_gpc == 1 } { set result [gpc_compile $source $destfile $type $options] } else { - unsupported "No pascal compiler found" + unsupported "no pascal compiler found" return "No pascal compiler. Compilation failed." } diff --git a/gdb/testsuite/lib/perftest.exp b/gdb/testsuite/lib/perftest.exp index 7659ee015f9..2f8da14217c 100644 --- a/gdb/testsuite/lib/perftest.exp +++ b/gdb/testsuite/lib/perftest.exp @@ -90,7 +90,7 @@ namespace eval PerfTest { if { [string compare $GDB_PERFTEST_MODE "run"] != 0 } { if { [eval compile {$compile}] } { - untested "Could not compile source files." + untested "could not compile source files." return } } diff --git a/gdb/testsuite/lib/prelink-support.exp b/gdb/testsuite/lib/prelink-support.exp index 0584669dd7f..1d28b9b2a31 100644 --- a/gdb/testsuite/lib/prelink-support.exp +++ b/gdb/testsuite/lib/prelink-support.exp @@ -62,7 +62,7 @@ proc symlink_resolve {file} { set loop [expr $loop + 1] if {$loop > 30} { - fail "Looping symlink resolution for $file" + fail "looping symlink resolution for $file" return "" } } diff --git a/gdb/testsuite/lib/selftest-support.exp b/gdb/testsuite/lib/selftest-support.exp index f171cc8f31f..ea8d6f290dc 100644 --- a/gdb/testsuite/lib/selftest-support.exp +++ b/gdb/testsuite/lib/selftest-support.exp @@ -72,7 +72,7 @@ proc selftest_setup { executable function } { } if { $gdb_file_cmd_debug_info != "debug" } then { - untested "No debug information, skipping testcase." + untested "no debug information, skipping testcase." return -1 } |