From d0d995612d39d0be3e1629f07e524f219e90b92e Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Thu, 29 Jul 2010 17:35:34 +0000 Subject: [PATCH] * rx-tdep.c (rx_analyze_prologue): Don't require branches to have conditions. --- gdb/ChangeLog | 5 +++++ gdb/rx-tdep.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e52d24ac3f5..03909268d49 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-07-29 DJ Delorie + + * rx-tdep.c (rx_analyze_prologue): Don't require branches to have + conditions. + 2010-07-29 Pedro Alves * PROBLEMS: Remove mention of all problems. diff --git a/gdb/rx-tdep.c b/gdb/rx-tdep.c index de9eec63482..d265dc3516a 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 -- 2.30.2