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 /bfd | |
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 'bfd')
0 files changed, 0 insertions, 0 deletions