aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/gdb.multi/multi-arch-exec.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.multi/multi-arch-exec.exp b/gdb/testsuite/gdb.multi/multi-arch-exec.exp
index e9a8abd..a5d1ed4 100644
--- a/gdb/testsuite/gdb.multi/multi-arch-exec.exp
+++ b/gdb/testsuite/gdb.multi/multi-arch-exec.exp
@@ -71,7 +71,9 @@ proc append_arch2_options {options_var} {
}
}
- if [istarget "s390*-*-*"] {
+ if [istarget "powerpc64*-*-*"] {
+ set march "-m64"
+ } else if [istarget "s390*-*-*"] {
set march "-m31"
} else {
set march "-m32"