diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/dump.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/dump.exp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/dump.exp b/gdb/testsuite/gdb.base/dump.exp index 5885307cea7..1120d41321c 100644 --- a/gdb/testsuite/gdb.base/dump.exp +++ b/gdb/testsuite/gdb.base/dump.exp @@ -31,8 +31,15 @@ set testfile "dump" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} +set options {debug} -if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { +if [istarget "alpha*-*-*"] then { + # SREC etc cannot handle 64-bit addresses. Force the test + # program into the low 31 bits of the address space. + lappend options "additional_flags=-Wl,-taso" +} + +if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable ${options}] != "" } { gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." } |