]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* rx-tdep.c (rx_analyze_prologue): Don't require branches to have
authorDJ Delorie <dj@redhat.com>
Thu, 29 Jul 2010 17:35:34 +0000 (17:35 +0000)
committerDJ Delorie <dj@redhat.com>
Thu, 29 Jul 2010 17:35:34 +0000 (17:35 +0000)
conditions.

gdb/ChangeLog
gdb/rx-tdep.c

index e52d24ac3f5d084d5b7a96a8c68d70fb6d38b61e..03909268d499caef2ab92ad2636f304ebf5eb1f3 100644 (file)
@@ -1,3 +1,8 @@
+2010-07-29  DJ Delorie  <dj@redhat.com>
+
+       * rx-tdep.c (rx_analyze_prologue): Don't require branches to have
+       conditions.
+
 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
 
        * PROBLEMS: Remove mention of all problems.
index de9eec634829068d77987031569d4e3c6ba2af68..d265dc3516a9af675025cd74bb3bc0aa35589c8b 100644 (file)
@@ -296,7 +296,6 @@ rx_analyze_prologue (CORE_ADDR start_pc,
        }
       else if (opc.id == RXO_branch
               && opc.op[0].type == RX_Operand_Immediate
-              && opc.op[1].type == RX_Operand_Condition
               && next_pc < opc.op[0].addend)
        {
          /* When a loop appears as the first statement of a function