aboutsummaryrefslogtreecommitdiff
path: root/gdb/rx-tdep.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2010-07-29 17:35:34 +0000
committerDJ Delorie <dj@redhat.com>2010-07-29 17:35:34 +0000
commitd0d995612d39d0be3e1629f07e524f219e90b92e (patch)
treeb07f13e2875bd215631a4fb6d69c98ef63a18c1d /gdb/rx-tdep.c
parent0b29bddec8f241f1db08b1ccc48df65fc260dc31 (diff)
downloadgdb-d0d995612d39d0be3e1629f07e524f219e90b92e.zip
gdb-d0d995612d39d0be3e1629f07e524f219e90b92e.tar.gz
gdb-d0d995612d39d0be3e1629f07e524f219e90b92e.tar.bz2
* rx-tdep.c (rx_analyze_prologue): Don't require branches to have
conditions.
Diffstat (limited to 'gdb/rx-tdep.c')
-rw-r--r--gdb/rx-tdep.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/rx-tdep.c b/gdb/rx-tdep.c
index de9eec6..d265dc3 100644
--- a/gdb/rx-tdep.c
+++ b/gdb/rx-tdep.c
@@ -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