aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJose E. Marchesi <jose.marchesi@oracle.com>2013-11-07 02:04:28 -0800
committerJose E. Marchesi <jose.marchesi@oracle.com>2013-11-07 02:04:28 -0800
commitd52cd232cb3a7a9f6e6857110d9119c1675d2d32 (patch)
treeefb1a8d906d569c26ab110aa3b56ca61bb63e583 /gdb
parentfa4d0c4081f7337c0126a01f16959f7a4e864ff5 (diff)
downloadgdb-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')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/sparc-tdep.c1
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;
}
}