]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
This testcase currently does not handle powerpc branches. It kinda
authorLuis Machado <lgustavo@codesourcery.com>
Wed, 2 Jul 2014 10:59:02 +0000 (11:59 +0100)
committerLuis Machado <lgustavo@codesourcery.com>
Wed, 2 Jul 2014 10:59:02 +0000 (11:59 +0100)
does in a way, because the arm/aarch64 branch instruction is the
same as powerpc's, but the target triplet pattern is not there.

In summary, the testcase fails to locate the branch offset and causes
a failure and the early termination of the test.

The following patch adds a separate conditional block for powerpc (to keep
things organized), allowing the testcase to continue.

2014-07-02  Luis Machado  <lgustavo@codesourcery.com>

* gdb.trace/entry-values.exp: Handle powerpc-specific branch
instruction.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/entry-values.exp

index 90be171001ef91c21c5af9da0b29619153d62d83..af1dc6632f9e8ddf006d5051afdff04820b790bd 100644 (file)
@@ -1,3 +1,8 @@
+2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
+
+       * gdb.trace/entry-values.exp: Handle powerpc-specific branch
+       instruction.
+
 2014-06-30  Mark Wielaard  <mjw@redhat.com>
 
        * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
index f10ffa6b6e032bd3155a9a9264552417f37a54b8..d648bd1fcc858540cd05d022632b91c3d8404864 100644 (file)
@@ -79,6 +79,8 @@ if { [istarget "arm*-*-*"] || [istarget "aarch64*-*-*"] } {
     set call_insn "bl"
 } elseif { [istarget "s390*-*-*"] } {
     set call_insn "brasl"
+} elseif { [istarget "powerpc*-*-*"] } {
+    set call_insn "bl"
 } else {
     set call_insn "call"
 }