diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/sparc-tdep.c | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 88ea859..01f4453 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2013-11-07 Jose E. Marchesi <jose.marchesi@oracle.com> + + * sparc-tdep.c (sparc_analyze_control_transfer): Assertion + removed to allow analyzing unconditional branch instructions + with PC-relative offsets of zero. + 2013-11-07 Yao Qi <yao@codesourcery.com> * mi/mi-cmd-var.c: Include "language.h". diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index 880d276..53014a0 100644 --- a/gdb/sparc-tdep.c +++ b/gdb/sparc-tdep.c @@ -1538,7 +1538,6 @@ sparc_analyze_control_transfer (struct frame_info *frame, if (X_A (insn)) *npc = 0; - gdb_assert (offset != 0); return pc + offset; } } |