@@ -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
}
@@ -50,7 +50,7 @@ proc altivec_abi_tests { extra_flags force_abi } {
set result [catch "exec $readelf_program -A $binfile" output]
if {$result == 0 && ![regexp Tag_GNU_Power_ABI_Vector $output]} {
- untested "ABI not marked"
+ untested "abi not marked"
return
}
}
@@ -27,7 +27,7 @@ if { [gdb_skip_float_test] } {
standard_testfile
if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} {debug quiet}] } {
- unsupported "ARM NEON is not supported"
+ unsupported "arm NEON is not supported"
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
}
@@ -59,7 +59,7 @@ if ![runto_main] {
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
}
@@ -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"
}
}
}
@@ -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
}
@@ -25,7 +25,7 @@ if {![istarget "powerpc*-*-*"]} then {
}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${objfile}" object {debug}] != "" } {
- untested "PowerPC instructions disassembly"
+ untested "powerpc instructions disassembly"
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 {
@@ -29,7 +29,7 @@ set binfile [standard_output_file ${testfile}]
# Don't use "debug", so that we don't have line information for the assembly
# fragments.
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] != "" } {
- untested "PowerPC prologue tests"
+ untested "powerpc prologue tests"
return -1
}
@@ -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
}
@@ -56,7 +56,7 @@ gdb_expect { -re ".*$gdb_prompt $" {} }
# First, verify if FPSCR exists and is all zeroes.
gdb_test_multiple "print \$fpscr" "FPSCR exists" {
- -re " = 0\[\r\n\]+$gdb_prompt $" { pass "FPSCR is all zeroes" }
+ -re " = 0\[\r\n\]+$gdb_prompt $" { pass "fpscr is all zeroes" }
-re " = void\[\r\n\]+$gdb_prompt $" {
# There's no FPSCR. Skip this testcase.
@@ -63,7 +63,7 @@ proc compile_and_dump {variant ccopts binfile} {
proc test_linux_v2 {} {
global gdb_prompt
- set test "Linux v2"
+ set test "linux v2"
gdb_test_multiple "info reg system_call" "$test" {
-re "system_call\[ \t\]+0x\[0-9a-z\]+\t.*\r\n$gdb_prompt $" {
pass "$test"
@@ -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"
+ pass "te support available"
}
-re "$gdb_prompt $" {
- unsupported "No TE support (unknown error)."
+ unsupported "no TE support (unknown error)."
return
}
}
@@ -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
}
@@ -25,7 +25,7 @@ standard_testfile
# Don't use "debug", so that we don't have line information for the assembly
# fragments.
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {"additional_flags=-mthumb"}] != "" } {
- untested "ARM prologue tests"
+ untested "arm prologue tests"
return -1
}
@@ -40,7 +40,7 @@ gdb_load ${binfile}
#
if ![runto_main] then {
- untested "ARM prologue tests"
+ untested "arm prologue tests"
return -1
}
@@ -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)"
@@ -36,7 +36,7 @@ gdb_test_multiple $test $test {
}
if { !$have_native } {
- unsupported "No \"target native\" support."
+ unsupported "no \"target native\" support."
return
}
@@ -62,7 +62,7 @@ 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
}
@@ -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
}
@@ -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
}
@@ -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 $" {
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -142,7 +142,7 @@ gdb_test "p debugdata_function" \
clean_restart "$testfile.test"
if {$gdb_file_cmd_debug_info == "lzma"} {
- unsupported "LZMA support not available in this gdb"
+ unsupported "lzma support not available in this gdb"
} else {
gdb_test "p debugdata_function" \
{ = {<text variable, no debug info>} 0x[0-9a-f]+ <debugdata_function>} \
@@ -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
}
@@ -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
}
@@ -30,7 +30,7 @@ if ![runto_main] {
# 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,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"
@@ -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
}
@@ -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
}
@@ -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 @@ 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
}
@@ -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
}
@@ -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
@@ -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
}
@@ -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
@@ -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."
}
#
@@ -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
}
@@ -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"
}
}
@@ -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 {
@@ -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
}
@@ -59,7 +59,7 @@ gdb_test_multiple $test $test {
}
if { [llength $probes] == 0 } {
xfail $test
- untested "GDB is using probes"
+ untested "gdb is using probes"
return
}
@@ -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"
@@ -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,7 +78,7 @@ 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
}
@@ -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
}
@@ -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
}
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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"
}
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
@@ -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
}
@@ -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 $" {
@@ -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
}
@@ -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
}
@@ -61,7 +61,7 @@ mi_gdb_test "777-gdb-set stop-on-solib-events 1" "777\\^done" \
mi_run_with_cli
# Also test that the CLI solib event note is output.
-set test "CLI prints solib event"
+set test "cli prints solib event"
gdb_expect {
-re "~\"Stopped due to shared library event \\(no libraries added or removed\\)\\\\n" {
pass "$test"
@@ -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
}
@@ -64,7 +64,7 @@ if { [istarget "aarch64*-*-*"] } {
if {[info exists ARM_CC_FOR_TARGET]} {
lappend options "compiler=${ARM_CC_FOR_TARGET}"
} else {
- unsupported "ARM compiler is not known"
+ unsupported "arm compiler is not known"
return -1
}
} else {
@@ -63,7 +63,7 @@ if [istarget "aarch64*-*-*"] {
if {[info exists ARM_CC_FOR_TARGET]} {
lappend options "compiler=${ARM_CC_FOR_TARGET}"
} else {
- unsupported "ARM compiler is not known"
+ unsupported "arm compiler is not known"
return -1
}
} else {
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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"
}
}
@@ -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
}
@@ -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
}
@@ -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)."
@@ -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
}
@@ -27,7 +27,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
}
@@ -75,12 +75,12 @@ gdb_expect {
exp_continue
}
eof {
- pass "GDB exits after multi-threaded program exits messily"
+ pass "gdb exits after multi-threaded program exits messily"
}
-re "Cannot find thread ${decimal}: generic error\[\r\n\]*$gdb_prompt $" {
kfail "gdb/568" "GDB exits after multi-threaded program exits messily"
}
timeout {
- fail "GDB exits after multi-threaded program exits messily (timeout)"
+ fail "gdb exits after multi-threaded program exits messily (timeout)"
}
}
@@ -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 $" {
@@ -175,10 +175,10 @@ gdb_test_multiple "quit" "GDB exits after stopping multithreaded program" {
exp_continue
}
eof {
- pass "GDB exits after stopping multithreaded program"
+ pass "gdb exits after stopping multithreaded program"
}
timeout {
- fail "GDB exits after stopping multithreaded program (timeout)"
+ fail "gdb exits after stopping multithreaded program (timeout)"
}
}
@@ -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)"
}
}
}
@@ -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
}
@@ -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"
@@ -84,7 +84,7 @@ gdb_test_multiple "info threads" "$test" {
# Check that the program can be quit.
-set test "GDB exits with static thread program"
+set test "gdb exits with static thread program"
gdb_test_multiple "quit" "$test" {
-re "Quit anyway\\? \\(y or n\\) $" {
send_gdb "y\n"
@@ -27,7 +27,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
}
@@ -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
}
@@ -165,7 +165,7 @@ if ![runto_main] {
}
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
}
@@ -33,7 +33,7 @@ if ![runto_main] {
}
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
}
@@ -54,7 +54,7 @@ if ![runto_main] {
}
if { ![gdb_target_supports_trace] } then {
- unsupported "Current target does not support trace"
+ unsupported "current target does not support trace"
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]
@@ -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.
@@ -65,7 +65,7 @@ if ![runto_main] {
}
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
}
@@ -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
}
@@ -107,7 +107,7 @@ if {[gdb_test "" "Breakpoint ${decimal}, main.*"] != 0} {
}
if { ![gdb_target_supports_trace] } then {
- unsupported "Current target does not support trace"
+ unsupported "current target does not support trace"
return 1
}
@@ -27,7 +27,7 @@ if ![runto_main] {
}
if ![gdb_target_supports_trace] {
- unsupported "Current target does not support trace"
+ unsupported "current target does not support trace"
return -1
}
@@ -27,7 +27,7 @@ if ![runto_main] {
}
if ![gdb_target_supports_trace] {
- unsupported "Current target does not support trace"
+ unsupported "current target does not support trace"
return -1
}
@@ -115,7 +115,7 @@ if ![runto_main] {
}
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
}
@@ -252,7 +252,7 @@ if ![runto_main] {
}
if ![gdb_target_supports_trace] {
- unsupported "Current target does not support trace"
+ unsupported "current target does not support trace"
return -1
}
@@ -70,7 +70,7 @@ proc test_create_delete_modify_tsv { } {
}
if ![gdb_target_supports_trace] {
- unsupported "Current target does not support trace"
+ unsupported "current target does not support trace"
return -1
}
gdb_exit
@@ -238,7 +238,7 @@ if ![runto_main] {
}
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
}
@@ -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
}
@@ -52,7 +52,7 @@ if ![runto_main] {
}
if ![gdb_target_supports_trace] {
- unsupported "Current target does not support trace"
+ unsupported "current target does not support trace"
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
}
@@ -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
}
@@ -84,7 +84,7 @@ if ![runto_main] {
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"
}
@@ -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
}
@@ -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
}
@@ -33,7 +33,7 @@ set additional_flags [list quiet debug shlib=$libipa shlib_load \
"additional_flags=-lust -lurcu-bp" ]
if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $additional_flags] != ""} {
- untested "UST library or headers are not installed"
+ untested "ust library or headers are not installed"
return -1
}
@@ -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
}
@@ -369,7 +369,7 @@ if ![runto_main] {
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}
@@ -58,7 +58,7 @@ if ![runto_main] {
}
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
}
@@ -124,7 +124,7 @@ if ![runto_main] {
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"
}
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -25,11 +25,11 @@ proc skip_guile_tests {} {
gdb_test_multiple "guile (display \"test\\n\")" "verify guile support" {
-re "Undefined command.*$gdb_prompt $" {
- unsupported "Guile not supported."
+ unsupported "guile not supported."
return 1
}
-re "not supported.*$gdb_prompt $" {
- unsupported "Guile support is disabled."
+ unsupported "guile support is disabled."
return 1
}
-re "$gdb_prompt $" {}
@@ -1746,7 +1746,7 @@ proc skip_python_tests_prompt { prompt_regexp } {
gdb_test_multiple "python print ('test')" "verify python support" {
-re "not supported.*$prompt_regexp" {
- unsupported "Python support is disabled."
+ unsupported "python support is disabled."
return 1
}
-re "$prompt_regexp" {}
@@ -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 $" {
@@ -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
}
@@ -2032,13 +2032,13 @@ proc check_mi_and_console_threads {name} {
}
}
if {$fails > 0} {
- fail "MI and console have same threads ($name)"
+ fail "mi and console have same threads ($name)"
# Send a list of failures to the log
send_log "Console has thread ids: $console_thread_list\n"
send_log "MI has thread ids: $mi_thread_list\n"
} else {
- pass "MI and console have same threads ($name)"
+ pass "mi and console have same threads ($name)"
}
}
}
@@ -158,12 +158,12 @@ 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."
}
if ![file exists $destfile] {
- unsupported "Pascal compilation failed: $result"
+ unsupported "pascal compilation failed: $result"
return "Pascal 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 ""
}
}
@@ -59,10 +59,10 @@ proc default_prompt_gdb_start { } {
fail "double prompted"
}
-re "\[\r\n\]$gdb_prompt_fail $" {
- fail "GDB initializing first prompt"
+ fail "gdb initializing first prompt"
}
-re "\[\r\n\]$gdb_prompt $" {
- pass "GDB initializing first prompt"
+ pass "gdb initializing first prompt"
}
-re "$gdb_prompt $" {
perror "GDB never initialized."
@@ -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
}