summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/break-interp.exp
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-09-10 20:29:25 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-09-10 20:29:25 +0000
commit8e64f2a0d16624f14501c568f4bb2d7d79be9670 (patch)
tree528e819f52cb58c267156256d143c53acb4a0bd7 /gdb/testsuite/gdb.base/break-interp.exp
parent3329c4b5af72fec17d4ac07f49edf9c8cfb6f23b (diff)
downloadbinutils-gdb-8e64f2a0d16624f14501c568f4bb2d7d79be9670.tar.gz
gdb/testsuite/
* gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add is_lp64_target to check 64bit target.
Diffstat (limited to 'gdb/testsuite/gdb.base/break-interp.exp')
-rw-r--r--gdb/testsuite/gdb.base/break-interp.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/break-interp.exp b/gdb/testsuite/gdb.base/break-interp.exp
index d3dd2489049..6566baaea4c 100644
--- a/gdb/testsuite/gdb.base/break-interp.exp
+++ b/gdb/testsuite/gdb.base/break-interp.exp
@@ -401,7 +401,7 @@ proc test_ld {file ifmain trynosym displacement} {
}
# `info sym' cannot be tested for .opd as the binary may not have
# symbols.
- if [istarget powerpc64-*] {
+ if {[istarget powerpc64-*] && [is_lp64_target]} {
set test "convert entry point"
gdb_test_multiple "p *(void(*)(void) *) 0x$entrynohex" $test {
-re " =( \\(\[^0-9\]*\\))? 0x(\[0-9a-f\]+)( < \[^\r\n\]*)?\r\n$gdb_prompt $" {