diff options
author | Pierre Langlois <pierre.langlois@arm.com> | 2015-09-21 15:01:04 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-09-21 15:01:04 +0100 |
commit | 6ec5f4be052e594dc90b6677fec1c1e7727d9651 (patch) | |
tree | a3cd573fae1dca52781754dedb6c281563509679 /gdb/ChangeLog | |
parent | 787749ead66eee8c20754c160bd79404b2109553 (diff) | |
download | gdb-6ec5f4be052e594dc90b6677fec1c1e7727d9651.zip gdb-6ec5f4be052e594dc90b6677fec1c1e7727d9651.tar.gz gdb-6ec5f4be052e594dc90b6677fec1c1e7727d9651.tar.bz2 |
Make aarch64_decode_adrp handle both ADR and ADRP instructions
We will need to decode both ADR and ADRP instructions in GDBserver.
This patch makes common code handle both cases, even if GDB only needs
to decode the ADRP instruction.
gdb/ChangeLog:
* aarch64-tdep.c (aarch64_analyze_prologue): New is_adrp
variable. Call aarch64_decode_adr instead of
aarch64_decode_adrp.
* arch/aarch64-insn.h (aarch64_decode_adrp): Delete.
(aarch64_decode_adr): New function declaration.
* arch/aarch64-insn.c (aarch64_decode_adrp): Delete.
(aarch64_decode_adr): New function, factored out from
aarch64_decode_adrp to decode both adr and adrp instructions.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7d8feeb..935daf1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,16 @@ 2015-09-21 Pierre Langlois <pierre.langlois@arm.com> + * aarch64-tdep.c (aarch64_analyze_prologue): New is_adrp + variable. Call aarch64_decode_adr instead of + aarch64_decode_adrp. + * arch/aarch64-insn.h (aarch64_decode_adrp): Delete. + (aarch64_decode_adr): New function declaration. + * arch/aarch64-insn.c (aarch64_decode_adrp): Delete. + (aarch64_decode_adr): New function, factored out from + aarch64_decode_adrp to decode both adr and adrp instructions. + +2015-09-21 Pierre Langlois <pierre.langlois@arm.com> + * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-insn.o. (HFILES_NO_SRCDIR): Add arch/aarch64-insn.h. (aarch64-insn.o): New rule. |