From: Jose E. Marchesi Date: Thu, 7 Nov 2013 10:04:28 +0000 (-0800) Subject: 2013-11-07 Jose E. Marchesi X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=d52cd232cb3a7a9f6e6857110d9119c1675d2d32;p=deliverable%2Fbinutils-gdb.git 2013-11-07 Jose E. Marchesi * sparc-tdep.c (sparc_analyze_control_transfer): Assertion removed to allow analyzing unconditional branch instructions with PC-relative offsets of zero. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 88ea85980e..01f4453988 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2013-11-07 Jose E. Marchesi + + * 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 * mi/mi-cmd-var.c: Include "language.h". diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index 880d276888..53014a0e55 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; } }