aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-02 15:51:24 +0000
committerRichard Henderson <rth@redhat.com>2003-06-02 15:51:24 +0000
commitf6347e16334910d73f974b8b35092a979ddabb04 (patch)
tree2f0e7a1b482b07876b6463f3b293323b0642d79f /gdb
parentc1ed1235d7943e118f65f6fd906be98113b16df5 (diff)
downloadgdb-f6347e16334910d73f974b8b35092a979ddabb04.zip
gdb-f6347e16334910d73f974b8b35092a979ddabb04.tar.gz
gdb-f6347e16334910d73f974b8b35092a979ddabb04.tar.bz2
* gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/dump.exp9
2 files changed, 12 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index e5f278e..b4f4994 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-02 Richard Henderson <rth@redhat.com>
+
+ * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
+
2003-06-01 Daniel Jacobowitz <drow@mvista.com>
* gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
diff --git a/gdb/testsuite/gdb.base/dump.exp b/gdb/testsuite/gdb.base/dump.exp
index 5885307..1120d41 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."
}