diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2013-11-07 02:04:28 -0800 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2013-11-07 02:04:28 -0800 |
commit | d52cd232cb3a7a9f6e6857110d9119c1675d2d32 (patch) | |
tree | efb1a8d906d569c26ab110aa3b56ca61bb63e583 /gdb/sparc-tdep.c | |
parent | fa4d0c4081f7337c0126a01f16959f7a4e864ff5 (diff) | |
download | gdb-d52cd232cb3a7a9f6e6857110d9119c1675d2d32.zip gdb-d52cd232cb3a7a9f6e6857110d9119c1675d2d32.tar.gz gdb-d52cd232cb3a7a9f6e6857110d9119c1675d2d32.tar.bz2 |
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.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r-- | gdb/sparc-tdep.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } } |