diff options
author | Tamar Christina <tamar.christina@arm.com> | 2018-10-03 18:35:15 +0100 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2018-10-03 18:36:30 +0100 |
commit | 1d4823943d92e7fccb0616f885c029d9952cfb0e (patch) | |
tree | f0f117535ae9a23e44db11a8681765fcd82d2232 /opcodes/ChangeLog | |
parent | 7e84b55d8f973b011f55f604a76c2d1d989d0b6b (diff) | |
download | gdb-1d4823943d92e7fccb0616f885c029d9952cfb0e.zip gdb-1d4823943d92e7fccb0616f885c029d9952cfb0e.tar.gz gdb-1d4823943d92e7fccb0616f885c029d9952cfb0e.tar.bz2 |
AArch64: Refactor err_type.
Previously the ERR_ values were defined as different constants, to make this a
bit more type safe and so they can be more easily re-used I'm changing them into
an actual enum and updating any usages.
include/
* opcode/aarch64.h (enum err_type): New.
(aarch64_decode_insn): Use it.
opcodes/
* aarch64-dis.c (ERR_OK, ERR_UND, ERR_UNP, ERR_NYI): Remove.
(aarch64_decode_insn, print_insn_aarch64_word): Use err_type.
Diffstat (limited to 'opcodes/ChangeLog')
-rw-r--r-- | opcodes/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 2ccfe8e..1da4e80 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,10 @@ 2018-10-03 Tamar Christina <tamar.christina@arm.com> + * aarch64-dis.c (ERR_OK, ERR_UND, ERR_UNP, ERR_NYI): Remove. + (aarch64_decode_insn, print_insn_aarch64_word): Use err_type. + +2018-10-03 Tamar Christina <tamar.christina@arm.com> + * aarch64-asm.c (aarch64_opcode_encode): Add insn_sequence. * aarch64-dis.c (insn_sequence): New. |