gdb/testsuite/

* gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
	is_lp64_target to check 64bit target.
This commit is contained in:
Jan Kratochvil 2010-09-10 20:29:25 +00:00
parent 3329c4b5af
commit 8e64f2a0d1
2 changed files with 6 additions and 1 deletions

View 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.

View 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 $" {