diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-09-10 20:29:25 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-09-10 20:29:25 +0000 |
commit | 8e64f2a0d16624f14501c568f4bb2d7d79be9670 (patch) | |
tree | 528e819f52cb58c267156256d143c53acb4a0bd7 | |
parent | 3329c4b5af72fec17d4ac07f49edf9c8cfb6f23b (diff) | |
download | gdb-8e64f2a0d16624f14501c568f4bb2d7d79be9670.zip gdb-8e64f2a0d16624f14501c568f4bb2d7d79be9670.tar.gz gdb-8e64f2a0d16624f14501c568f4bb2d7d79be9670.tar.bz2 |
gdb/testsuite/
* gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
is_lp64_target to check 64bit target.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/break-interp.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2c1e8ef..7c1a7da 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/gdb.base/break-interp.exp b/gdb/testsuite/gdb.base/break-interp.exp index d3dd248..6566baa 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 $" { |