aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/arm.h
diff options
context:
space:
mode:
authorMatthew Wahab <matthew.wahab@arm.com>2015-06-02 12:24:24 +0100
committerJiong Wang <jiong.wang@arm.com>2015-06-02 12:24:24 +0100
commit1af1dd51db991700c0e66b35d777a44e6953bbd2 (patch)
treed1d052bdbef26c5bbf10185c7e21757e57d042dc /include/opcode/arm.h
parent9e1f0fa7f3f7aef95d27e197562906bc648849bb (diff)
downloadgdb-1af1dd51db991700c0e66b35d777a44e6953bbd2.zip
gdb-1af1dd51db991700c0e66b35d777a44e6953bbd2.tar.gz
gdb-1af1dd51db991700c0e66b35d777a44e6953bbd2.tar.bz2
[ARM] Rework CPU feature selection in the disassembler
include/opcode/ * arm.h (ARM_FEATURE_ALL): New. opcodes/ * arm-dis.c (select_arm_features): Rework to avoid used of redefined macros.
Diffstat (limited to 'include/opcode/arm.h')
-rw-r--r--include/opcode/arm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/opcode/arm.h b/include/opcode/arm.h
index 1bf6b3c..cbe9e7d 100644
--- a/include/opcode/arm.h
+++ b/include/opcode/arm.h
@@ -244,6 +244,7 @@
#define ARM_ARCH_NONE ARM_FEATURE_LOW (0, 0)
#define FPU_NONE ARM_FEATURE_LOW (0, 0)
#define ARM_ANY ARM_FEATURE (-1, -1, 0) /* Any basic core. */
+#define ARM_FEATURE_ALL ARM_FEATURE (-1, -1, -1)/* All CPU and FPU features. */
#define FPU_ANY_HARD ARM_FEATURE_COPROC (FPU_FPA | FPU_VFP_HARD | FPU_MAVERICK)
#define ARM_ARCH_THUMB2 ARM_FEATURE_CORE_LOW (ARM_EXT_V6T2 | ARM_EXT_V7 \
| ARM_EXT_V7A | ARM_EXT_V7R \