From 8e64f2a0d16624f14501c568f4bb2d7d79be9670 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Fri, 10 Sep 2010 20:29:25 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.base/break-interp.exp (test_ld) : Add is_lp64_target to check 64bit target. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/break-interp.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2c1e8efe0a5..7c1a7daf597 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-09-10 Edjunior Barbosa Machado + + * gdb.base/break-interp.exp (test_ld) : Add + is_lp64_target to check 64bit target. + 2010-09-09 Jan Kratochvil * gdb.base/break-interp.exp (reach): Permit leading . for ppc64. 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 $" { -- 2.30.2