OSDN Git Service

gdb/testsuite/
authorjkratoch <jkratoch>
Fri, 10 Sep 2010 20:29:25 +0000 (20:29 +0000)
committerjkratoch <jkratoch>
Fri, 10 Sep 2010 20:29:25 +0000 (20:29 +0000)
* gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
is_lp64_target to check 64bit target.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/break-interp.exp

index 2c1e8ef..7c1a7da 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-10  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
+
+       * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
+       is_lp64_target to check 64bit target.
+
 2010-09-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
index d3dd248..6566baa 100644 (file)
@@ -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 $" {