forked from Imagelibrary/binutils-gdb
Use require dwarf2_support
This changes some tests to use "require dwarf2_support".
This commit is contained in:
@@ -79,10 +79,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
unsupported "dwarf2 support required for this test"
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c .S
|
||||
|
||||
|
||||
@@ -20,9 +20,7 @@ load_lib compile-support.exp
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c -dbg.S
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ load_lib dwarf.exp
|
||||
|
||||
if { [skip_cplus_tests] } { return }
|
||||
|
||||
if { ![dwarf2_support] } { return }
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .cc .S
|
||||
set asm_file [standard_output_file ${srcfile2}]
|
||||
|
||||
@@ -24,9 +24,7 @@ if {[skip_cplus_tests]} {
|
||||
}
|
||||
|
||||
# This test can only be run on x86-like targets which support DWARF.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
if {![istarget "x86_64-*-*"] || ![is_lp64_target]} {
|
||||
return 0
|
||||
|
||||
@@ -18,9 +18,7 @@
|
||||
|
||||
load_lib dwarf.exp
|
||||
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
if {[skip_cplus_tests]} {
|
||||
return
|
||||
|
||||
@@ -18,12 +18,7 @@
|
||||
load_lib "d-support.exp"
|
||||
load_lib "dwarf.exp"
|
||||
|
||||
if { [skip_d_tests] } { continue }
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require !skip_d_tests dwarf2_support
|
||||
|
||||
standard_testfile circular.c circular-dw.S
|
||||
|
||||
|
||||
@@ -18,12 +18,7 @@
|
||||
load_lib "d-support.exp"
|
||||
load_lib "dwarf.exp"
|
||||
|
||||
if { [skip_d_tests] } { return -1 }
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require !skip_d_tests dwarf2_support
|
||||
|
||||
standard_testfile watch-loc.c watch-loc-dw.S
|
||||
|
||||
|
||||
@@ -18,9 +18,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile ada-linkage-name.c -debug.S
|
||||
|
||||
|
||||
@@ -19,9 +19,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c -debug.S
|
||||
|
||||
|
||||
@@ -19,9 +19,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile main.c -debug.S
|
||||
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c -dw.S
|
||||
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile main.c -dw.S
|
||||
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile main.c -dw.S
|
||||
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c -dw.S
|
||||
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile main.c -dw.S
|
||||
|
||||
|
||||
@@ -19,9 +19,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile main.c .S
|
||||
set executable ${testfile}
|
||||
|
||||
@@ -17,9 +17,7 @@ load_lib dwarf.exp
|
||||
# Test DW_OP_call_frame_cfa.
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
# This test can only be run on x86 targets.
|
||||
if {![is_x86_like_target]} {
|
||||
return 0
|
||||
|
||||
@@ -27,9 +27,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c .S
|
||||
|
||||
|
||||
@@ -23,9 +23,7 @@
|
||||
|
||||
load_lib dwarf.exp
|
||||
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c .S
|
||||
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c -debug.S -foo.c
|
||||
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c -debug.S
|
||||
|
||||
|
||||
@@ -19,9 +19,7 @@ standard_testfile .S
|
||||
set test "clztest"
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if ![dwarf2_support] {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# This test can only be run on x86-64 targets.
|
||||
if {![istarget x86_64-*] || ![is_lp64_target]} {
|
||||
|
||||
@@ -21,9 +21,7 @@ load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use
|
||||
# gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c .S
|
||||
|
||||
|
||||
@@ -18,9 +18,7 @@
|
||||
|
||||
load_lib dwarf.exp
|
||||
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile main.c .S
|
||||
|
||||
|
||||
@@ -18,9 +18,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# Only run on targets which support dwarf and gas.
|
||||
if { ![dwarf2_support] } {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile main.c .S
|
||||
|
||||
|
||||
@@ -21,9 +21,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c -debug.S
|
||||
|
||||
|
||||
@@ -19,9 +19,7 @@
|
||||
load_lib "dwarf.exp"
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile main.c cu-no-addrs.S
|
||||
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c -dw.S
|
||||
|
||||
|
||||
@@ -17,10 +17,7 @@ load_lib dwarf.exp
|
||||
# Test with two aranges entries referring to the same CU.
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
verbose "Skipping $gdb_test_file_name."
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c -dw.S
|
||||
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile _start.c debug-names.S
|
||||
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile _start.c debug-names.S
|
||||
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile _start.c debug-names.S
|
||||
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile _start.c debug-names.S
|
||||
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile _start.c debug-names.S
|
||||
|
||||
|
||||
@@ -17,9 +17,7 @@ load_lib dwarf.exp
|
||||
# Minimal DWARF-2 unit test
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile
|
||||
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
set executable ${testfile}
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile main.c -dw.S
|
||||
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
if {[skip_cplus_tests]} { continue }
|
||||
|
||||
|
||||
@@ -17,9 +17,7 @@ load_lib dwarf.exp
|
||||
# Minimal DWARF-2 unit test
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
set dwarf_srcfile "file1.txt"
|
||||
|
||||
@@ -30,9 +30,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile main.c -other.S -dwarf.S
|
||||
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c .S
|
||||
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
set executable ${testfile}
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c -2.S
|
||||
|
||||
|
||||
@@ -17,9 +17,7 @@ load_lib dwarf.exp
|
||||
# Minimal DWARF-2 unit test
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
set dwarf_srcfile "file1.txt"
|
||||
|
||||
@@ -19,9 +19,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile main.c -dw.S
|
||||
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# Some targets have leading underscores on assembly symbols.
|
||||
set additional_flags [gdb_target_symbol_prefix_flags_asm]
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c -debug.S
|
||||
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if ![dwarf2_support] {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# This test can only be run on x86-64 targets.
|
||||
if {![istarget x86_64-*] || ![is_lp64_target]} {
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# Some targets have leading underscores on assembly symbols.
|
||||
set additional_flags [gdb_target_symbol_prefix_flags_asm]
|
||||
|
||||
@@ -17,9 +17,7 @@ load_lib dwarf.exp
|
||||
# Minimal DWARF-2 unit test
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
set dwarf_srcfile "file1.txt"
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
|
||||
|
||||
@@ -21,9 +21,7 @@ if { [skip_cplus_tests] } { continue }
|
||||
|
||||
load_lib dwarf.exp
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S -main.c
|
||||
|
||||
|
||||
@@ -20,9 +20,7 @@ load_lib dwarf.exp
|
||||
# in the length of the CU. */
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# This test has hard-wired assumptions that host and build filenames are
|
||||
# the same, and assumes POSIX pathname syntax.
|
||||
|
||||
@@ -25,9 +25,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# The .c files use __attribute__.
|
||||
if ![is_c_compiler_gcc] {
|
||||
|
||||
@@ -14,9 +14,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
load_lib dwarf.exp
|
||||
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
set executable ${testfile}
|
||||
|
||||
@@ -18,9 +18,7 @@ load_lib dwarf.exp
|
||||
# introduced by GCC PR debug/40659.
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
set executable ${testfile}
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# This test can only be run on x86_64 targets.
|
||||
if {![istarget "x86_64-*-*"] || ![is_lp64_target]} {
|
||||
|
||||
@@ -17,9 +17,7 @@ load_lib dwarf.exp
|
||||
# Test G++ 4.1 producing DW_TAG_namespace with DW_AT_name "::".
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
set executable ${testfile}
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
if { [prepare_for_testing "failed to prepare" "dw2-entry-value" {dw2-entry-value-main.c dw2-entry-value.S} {nodebug}] } {
|
||||
return -1
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
|
||||
|
||||
@@ -17,9 +17,7 @@ load_lib dwarf.exp
|
||||
# Note: Inspired from dw2-basic.exp.
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
set dwarf_srcfile "file1.txt"
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile dw2-fixed-point.c dw2-fixed-point-dw.S
|
||||
|
||||
|
||||
@@ -19,9 +19,7 @@ load_lib dwarf.exp
|
||||
# This is GDB PR symtab/13277.
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
set executable ${testfile}
|
||||
|
||||
@@ -18,9 +18,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S main.c
|
||||
|
||||
|
||||
@@ -18,9 +18,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c -dw.S
|
||||
|
||||
|
||||
@@ -18,9 +18,7 @@ load_lib dwarf.exp
|
||||
# introduced by GCC PR debug/40659.
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
|
||||
|
||||
@@ -19,9 +19,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if ![dwarf2_support] {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# This test can only be run on x86_64 targets.
|
||||
if {![istarget "x86_64-*-*"] || ![is_lp64_target]} {
|
||||
|
||||
@@ -53,9 +53,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# The .c files use __attribute__.
|
||||
if ![is_c_compiler_gcc] {
|
||||
|
||||
@@ -48,9 +48,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# The .c files use __attribute__.
|
||||
if ![is_c_compiler_gcc] {
|
||||
|
||||
@@ -37,9 +37,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# The .c files use __attribute__.
|
||||
if ![is_c_compiler_gcc] {
|
||||
|
||||
@@ -26,9 +26,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# The .c files use __attribute__.
|
||||
if ![is_c_compiler_gcc] {
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S -main.c
|
||||
|
||||
|
||||
@@ -27,9 +27,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# The .c files use __attribute__.
|
||||
if ![is_c_compiler_gcc] {
|
||||
|
||||
@@ -26,9 +26,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# The .c files use __attribute__.
|
||||
if ![is_c_compiler_gcc] {
|
||||
|
||||
@@ -20,9 +20,7 @@ load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets that support DWARF-2 and use
|
||||
# gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c .S
|
||||
|
||||
|
||||
@@ -17,9 +17,7 @@ load_lib dwarf.exp
|
||||
# Minimal DWARF-2 unit test
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
set dwarf_srcfile "file1.txt"
|
||||
|
||||
@@ -17,9 +17,7 @@ load_lib dwarf.exp
|
||||
# Intermixed 32-bit and 64-bit DWARF format tests.
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
set dwarf_srcfile "file1.txt"
|
||||
|
||||
@@ -26,9 +26,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# The .c files use __attribute__.
|
||||
if ![is_c_compiler_gcc] {
|
||||
|
||||
@@ -26,9 +26,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# The .c files use __attribute__.
|
||||
if ![is_c_compiler_gcc] {
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile main.c .S
|
||||
|
||||
|
||||
@@ -15,10 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
verbose "Skipping $gdb_test_file_name."
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# The .c files use __attribute__.
|
||||
if ![is_c_compiler_gcc] {
|
||||
|
||||
@@ -21,9 +21,7 @@ if { [skip_cplus_tests] } { continue }
|
||||
|
||||
load_lib dwarf.exp
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
set executable ${testfile}
|
||||
|
||||
@@ -19,10 +19,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
verbose "Skipping $gdb_test_file_name."
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# The .c files use __attribute__.
|
||||
if ![is_c_compiler_gcc] {
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# This testfile has reproducibility only with cc-with-index.sh.
|
||||
|
||||
|
||||
@@ -21,9 +21,7 @@ load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use
|
||||
# gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c -dw.S
|
||||
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
|
||||
|
||||
@@ -17,9 +17,7 @@ load_lib dwarf.exp
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c .S
|
||||
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
if { [prepare_for_testing "failed to prepare" "dw2-noloc" {dw2-noloc-main.c dw2-noloc.S} {nodebug}] } {
|
||||
return -1
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile
|
||||
|
||||
|
||||
@@ -17,9 +17,7 @@ load_lib dwarf.exp
|
||||
# Test DW_OP_call2 and DW_OP_call4, PR gdb/10640.
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S main.c
|
||||
|
||||
|
||||
@@ -18,9 +18,7 @@ load_lib dwarf.exp
|
||||
set test "dw2-op-out-param"
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if ![dwarf2_support] {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# This test can only be run on x86-64 targets.
|
||||
if {![istarget x86_64-*] || ![is_lp64_target]} {
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# Some targets have leading underscores on assembly symbols.
|
||||
set additional_flags [gdb_target_symbol_prefix_flags_asm]
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .c -dw.S
|
||||
|
||||
|
||||
@@ -19,10 +19,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
verbose "Skipping $gdb_test_file_name."
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
# The .c files use __attribute__.
|
||||
if ![is_c_compiler_gcc] {
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S -main.c
|
||||
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
load_lib dwarf.exp
|
||||
|
||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||
if {![dwarf2_support]} {
|
||||
return 0
|
||||
}
|
||||
require dwarf2_support
|
||||
|
||||
standard_testfile .S
|
||||
set dwarf_srcfile "file1.txt"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user