summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2008-08-03 01:51:30 +0000
committercognet <cognet@FreeBSD.org>2008-08-03 01:51:30 +0000
commit17ddb2b74506b2f3bba3fb7c4a88355af62a3040 (patch)
treecfd6b53313609221286e6f921e2e9003f029b4ca /sys/arm
parent8d3ee4e8261bf45d0ba58c75002ccdd4000b9ce9 (diff)
downloadFreeBSD-src-17ddb2b74506b2f3bba3fb7c4a88355af62a3040.zip
FreeBSD-src-17ddb2b74506b2f3bba3fb7c4a88355af62a3040.tar.gz
Add blx as a branch instruction.
MFC after: 3 days
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/include/db_machdep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm/include/db_machdep.h b/sys/arm/include/db_machdep.h
index 60cd872..0985b18 100644
--- a/sys/arm/include/db_machdep.h
+++ b/sys/arm/include/db_machdep.h
@@ -74,7 +74,8 @@ typedef int db_expr_t;
#define inst_branch(ins) (((ins) & 0x0f000000) == 0x0a000000 || \
((ins) & 0x0fdffff0) == 0x079ff100 || \
- ((ins) & 0x0ff0f000) == 0x0590f000)
+ ((ins) & 0x0ff0f000) == 0x0590f000 || \
+ ((ins) & 0x0ffffff0) == 0x012fff30) /* blx */
#define inst_load(ins) (0)
#define inst_store(ins) (0)
OpenPOWER on IntegriCloud