Fix test names starting with uppercase output by basic functions

The following patch is based on the previous patch i sent and handles cases of
test names that start with an uppercase letter. Test names should start with
lowercase unless it starts with the name of a technology, architecture, ISA
etc.

This first patch addresses cases of test names output explicitly via xfail,
kfail, kpass, fail, pass, unsupported, untested and also names set with the
pattern "set test" and "set testname".

gdb/testsuite/ChangeLog:
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names starting with uppercase throughout all the files below.

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

View file

@ -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.

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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"
}
}
}

View file

@ -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
}

View file

@ -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
}
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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 {

View file

@ -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
}

View file

@ -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
}
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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)"

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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 $" {

View file

@ -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 $" {

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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)" }
}
#

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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"
}
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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)"

View file

@ -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
}

View file

@ -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}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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

View file

@ -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}"

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

Some files were not shown because too many files have changed in this diff Show more