@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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"
}
}
}
@@ -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
}
@@ -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
}
}
@@ -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
}
@@ -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
}
@@ -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 {
@@ -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
}
@@ -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
}
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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)"
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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 $" {
@@ -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 $" {
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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)" }
}
#
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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"
}
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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)"
@@ -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
}
@@ -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}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
@@ -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}"
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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" }
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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"
@@ -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
}
@@ -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
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
@@ -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 {
@@ -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."
}
#
@@ -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
}
@@ -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
}
@@ -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"
}
}
@@ -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
}
@@ -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 {
@@ -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
}
@@ -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"
@@ -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)
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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"
}
}
@@ -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
}
@@ -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
}
@@ -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\\\]"
@@ -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
}
@@ -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
}
}
@@ -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.
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
}
@@ -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
}
@@ -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
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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 $" {
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
@@ -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
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
@@ -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
}
@@ -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
@@ -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
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
@@ -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
}
@@ -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
}
@@ -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
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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"
@@ -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)."
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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 $" {
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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)"
}
}
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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"
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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"
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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]
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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"
}
@@ -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 .*"
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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}
@@ -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
}
@@ -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
}
@@ -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}
@@ -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"
}
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
}
@@ -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 {
@@ -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."
}
@@ -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
}
}
@@ -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 ""
}
}
@@ -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
}