+2020-10-20 Tom de Vries <tdevries@suse.de>
+
+ * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
+ * gdb.dwarf2/dw2-line-number-zero.exp: Same.
+ * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
+ * gdb.dwarf2/dw2-ranges-base.exp: Same.
+ * gdb.dwarf2/dw2-ranges.exp: Same.
+ * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
+ * gdb.dwarf2/var-access.exp: Same.
+
2020-10-19 Tom Tromey <tromey@adacore.com>
PR tui/26719
standard_testfile .S
if { ![istarget "x86_64-*-*"] || ![is_lp64_target] } {
- verbose "Skipping $testfile.exp"
+ verbose "Skipping $gdb_test_file_name."
return
}
# This test can only be run on targets which support DWARF-2 and use gas.
if {![dwarf2_support]} {
- verbose "Skipping dw2-line-number-zero test."
+ verbose "Skipping $gdb_test_file_name."
return 0
}
return -1
}
if !$gcc_compiled {
- verbose "Skipping dw2-line-number-zero test."
+ verbose "Skipping $gdb_test_file_name."
return 0
}
load_lib dwarf.exp
-set testname [file rootname [file tail [info script]]]
-
# This test can only be run on targets which support DWARF-2 and use gas.
if {![dwarf2_support]} {
- verbose "Skipping $testname test."
+ verbose "Skipping $gdb_test_file_name."
return 0
}
return -1
}
if !$gcc_compiled {
- verbose "Skipping $testname test."
+ verbose "Skipping $gdb_test_file_name."
return 0
}
# This test can only be run on targets which support DWARF-2 and use gas.
if {![dwarf2_support]} {
- verbose "Skipping DW_AT_ranges test."
+ verbose "Skipping $gdb_test_file_name."
return 0
}
return -1
}
if !$gcc_compiled {
- verbose "Skipping DW_AT_ranges test."
+ verbose "Skipping $gdb_test_file_name."
return 0
}
# This test can only be run on targets which support DWARF-2 and use gas.
if {![dwarf2_support]} {
- verbose "Skipping DW_AT_ranges test."
+ verbose "Skipping $gdb_test_file_name."
return 0
}
return -1
}
if !$gcc_compiled {
- verbose "Skipping DW_AT_ranges test."
+ verbose "Skipping $gdb_test_file_name."
return 0
}
# This test can only be run on targets which support DWARF-2 and use gas.
if {![dwarf2_support]} {
- verbose "Skipping dw2-vendor-extended-opcode test."
+ verbose "Skipping $gdb_test_file_name."
return 0
}
return -1
}
if !$gcc_compiled {
- verbose "Skipping dw2-vendor-extended-opcode test."
+ verbose "Skipping $gdb_test_file_name."
return 0
}
} elseif { [is_amd64_regs_target] } {
set regname {rax rdx}
} else {
- verbose "Skipping tests for accessing DWARF-described variables."
+ verbose "Skipping $gdb_test_file_name."
return
}