binutils-gdb/opcodes
Yao Qi 43cdf5aeb8 Pass noaliases_p to aarch64_decode_insn
Nowadays aarch64_decode_insn is a public interface used by both
opcodes and gdb.  However, its behaviour relies on a global variable
no_aliases, which isn't a good practise.  On the other hand, In default,
no_aliases is zero, but in GDB, we do want no alias when decoding
instructions for prologue analysis (patches to be posted), so that we
can handle both instructions "add" and "mov" (an alias of "add") as
"add".  The code in GDB can be simplified.

This patch adds a new argument in aarch64_decode_insn, and pass no_aliases
to it.  In GDB side, always pass 1 to it.

include/opcode:

2015-10-28  Yao Qi  <yao.qi@linaro.org>

	* aarch64.h (aarch64_decode_insn): Update declaration.

opcodes:

2015-10-28  Yao Qi  <yao.qi@linaro.org>

	* aarch64-dis.c	(aarch64_decode_insn): Add one argument
	noaliases_p.  Update comments.  Pass noaliases_p rather than
	no_aliases to aarch64_opcode_decode.
	(print_insn_aarch64_word): Pass no_aliases to
	aarch64_decode_insn.

gdb:

2015-10-28  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c (aarch64_software_single_step): Pass 1 to
	aarch64_decode_insn.
2015-10-28 14:22:57 +00:00
..
po Updare French translation for binutils and German translation for opcodes. 2015-09-28 16:34:00 +01:00
.gitignore
aarch64-asm-2.c
aarch64-asm.c
aarch64-asm.h
aarch64-dis-2.c
aarch64-dis.c Pass noaliases_p to aarch64_decode_insn 2015-10-28 14:22:57 +00:00
aarch64-dis.h
aarch64-gen.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
aarch64-opc-2.c
aarch64-opc.c Avoid using 'template' C++ keyword 2015-10-07 15:22:47 +01:00
aarch64-opc.h
aarch64-tbl.h Fix the disassembly of the AArch64 SIMD EXT instruction. 2015-08-11 18:00:36 +01:00
aclocal.m4
alpha-dis.c
alpha-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
arc-dis.c Fix compile time warning compiling ARC port. 2015-10-08 12:34:13 +01:00
arc-dis.h New ARC implementation. 2015-10-07 14:20:19 +01:00
arc-ext.c New ARC implementation. 2015-10-07 14:20:19 +01:00
arc-ext.h New ARC implementation. 2015-10-07 14:20:19 +01:00
arc-fxi.h New ARC implementation. 2015-10-07 14:20:19 +01:00
arc-opc.c New ARC implementation. 2015-10-07 14:20:19 +01:00
arc-regs.h New ARC implementation. 2015-10-07 14:20:19 +01:00
arc-tbl.h New ARC implementation. 2015-10-07 14:20:19 +01:00
arm-dis.c Fixes for unpredictable nops and 26-bit versions of teq,tst,cmn,cmp. 2015-08-13 11:39:08 +01:00
avr-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
bfin-dis.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
cgen-asm.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
cgen-asm.in Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
cgen-bitset.c
cgen-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
cgen-dis.in Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
cgen-ibld.in Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
cgen-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
cgen.sh Trailing space in opcodes/ generated files 2015-08-17 12:07:12 +09:30
ChangeLog Pass noaliases_p to aarch64_decode_insn 2015-10-28 14:22:57 +00:00
ChangeLog-0001
ChangeLog-0203
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006 Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ChangeLog-2007 Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-9297
ChangeLog-9899
config.in
configure Regenerate configure files 2015-07-27 07:56:32 -07:00
configure.ac Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
configure.com Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
cr16-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
cr16-opc.c
cris-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
cris-opc.c
crx-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
crx-opc.c
d10v-dis.c
d10v-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
d30v-dis.c
d30v-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
dep-in.sed
dis-buf.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
dis-init.c
disassemble.c
dlx-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
epiphany-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
epiphany-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
epiphany-desc.h
epiphany-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
epiphany-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
epiphany-opc.c
epiphany-opc.h
fr30-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
fr30-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
fr30-desc.h
fr30-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
fr30-ibld.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
fr30-opc.c
fr30-opc.h
frv-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
frv-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
frv-desc.h
frv-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
frv-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
frv-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
frv-opc.h
ft32-dis.c The FT32's disassembly of 10-bit literals has the incorrect mask. 2015-09-25 12:33:30 -07:00
ft32-opc.c
h8300-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
h8500-dis.c
h8500-opc.h
hppa-dis.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
i370-dis.c
i370-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
i386-dis-evex.h Fix memory operand size for vcvtt?ps2u?qq instructions 2015-07-22 13:26:21 -07:00
i386-dis.c Fix the partial disassembly of a broken three byte instruction at the end of a function. 2015-08-24 14:50:15 +01:00
i386-gen.c Remove CpuFMA4 support from CPU_ZNVER1_FLAGS. 2015-08-07 07:31:51 -07:00
i386-init.h Remove CpuFMA4 support from CPU_ZNVER1_FLAGS. 2015-08-07 07:31:51 -07:00
i386-opc.c
i386-opc.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
i386-opc.tbl Add support for monitorx/mwaitx instructions 2015-06-30 07:50:12 -07:00
i386-reg.tbl
i386-tbl.h Add support for monitorx/mwaitx instructions 2015-06-30 07:50:12 -07:00
i860-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
i960-dis.c
ia64-asmtab.c Trailing space in opcodes/ generated files 2015-08-17 12:07:12 +09:30
ia64-asmtab.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ia64-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ia64-gen.c Trailing space in opcodes/ generated files 2015-08-17 12:07:12 +09:30
ia64-ic.tbl
ia64-opc-a.c
ia64-opc-b.c
ia64-opc-d.c
ia64-opc-f.c
ia64-opc-i.c
ia64-opc-m.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ia64-opc-x.c
ia64-opc.c
ia64-opc.h
ia64-raw.tbl
ia64-war.tbl
ia64-waw.tbl
ip2k-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ip2k-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ip2k-desc.h
ip2k-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ip2k-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ip2k-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ip2k-opc.h
iq2000-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
iq2000-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
iq2000-desc.h
iq2000-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
iq2000-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
iq2000-opc.c
iq2000-opc.h
lm32-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
lm32-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
lm32-desc.h
lm32-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
lm32-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
lm32-opc.c
lm32-opc.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
lm32-opinst.c
m32c-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32c-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32c-desc.h
m32c-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32c-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32c-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32c-opc.h
m32r-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32r-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32r-desc.h
m32r-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32r-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32r-opc.c
m32r-opc.h
m32r-opinst.c
m68hc11-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m68hc11-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m68k-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m68k-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m88k-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m10200-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m10200-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m10300-dis.c
m10300-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
MAINTAINERS
Makefile.am Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
Makefile.in Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
makefile.vms Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mcore-dis.c Stop "objdump -d" from disassembling past a symbolic address. 2015-06-22 16:53:27 +01:00
mcore-opc.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mep-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mep-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mep-desc.h
mep-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mep-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mep-opc.c
mep-opc.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
metag-dis.c
microblaze-dis.c
microblaze-dis.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
microblaze-opc.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
microblaze-opcm.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
micromips-opc.c [MIPS] Map 'move' to 'or'. 2015-08-12 17:10:22 +01:00
mips16-opc.c
mips-dis.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
mips-formats.h
mips-opc.c [MIPS] Map 'move' to 'or'. 2015-08-12 17:10:22 +01:00
mmix-dis.c
mmix-opc.c
moxie-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
moxie-opc.c
msp430-decode.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
msp430-decode.opc
msp430-dis.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
mt-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mt-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mt-desc.h
mt-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mt-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mt-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mt-opc.h
nds32-asm.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
nds32-asm.h
nds32-dis.c
nds32-opc.h
nios2-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
nios2-opc.c Opcodes and assembler support for Nios II R2 2015-07-01 16:08:03 -07:00
ns32k-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
opc2c.c Trailing space in opcodes/ generated files 2015-08-17 12:07:12 +09:30
opintl.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
or1k-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
or1k-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
or1k-desc.h
or1k-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
or1k-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
or1k-opc.c
or1k-opc.h
or1k-opinst.c
pdp11-dis.c
pdp11-opc.c
pj-dis.c
pj-opc.c
ppc-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ppc-opc.c Patches for illegal ppc 500 instructions 2015-09-28 12:09:51 +09:30
rl78-decode.c Fix RL78 disassembly of DE+offset addressing to always show the offset, even when zero. 2015-10-27 15:24:40 +00:00
rl78-decode.opc Fix RL78 disassembly of DE+offset addressing to always show the offset, even when zero. 2015-10-27 15:24:40 +00:00
rl78-dis.c Display system registers by their names when disassembling RL78 instructions. 2015-10-27 14:49:02 +00:00
rx-decode.c Enhance the RX disassembler to detect and report bad instructions. 2015-09-22 17:21:13 +01:00
rx-decode.opc Enhance the RX disassembler to detect and report bad instructions. 2015-09-22 17:21:13 +01:00
rx-dis.c Enhance the RX disassembler to detect and report bad instructions. 2015-09-22 17:21:13 +01:00
s390-dis.c
s390-mkopc.c Add support for extensions in the .machine pseudoop on S/390, e.g. ".machine zEC12+nohtm+vx" 2015-09-29 13:22:07 +01:00
s390-opc.c S/390: Fix instruction type of troo, trot, trto, and trtt. 2015-10-14 10:58:41 +02:00
s390-opc.txt S/390: Fix instruction type of troo, trot, trto, and trtt. 2015-10-14 10:58:41 +02:00
score7-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
score-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
score-opc.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
sh64-dis.c
sh64-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
sh64-opc.h
sh-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
sh-opc.h Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
sparc-dis.c Support for the sparc %pmcdper privileged register. 2015-08-25 17:16:34 +02:00
sparc-opc.c
spu-dis.c
spu-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
stamp-h.in
sysdep.h
tic4x-dis.c
tic6x-dis.c Stop "objdump -d" from disassembling past a symbolic address. 2015-06-22 16:53:27 +01:00
tic30-dis.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
tic54x-dis.c
tic54x-opc.c
tic80-dis.c
tic80-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
tilegx-dis.c
tilegx-opc.c
tilepro-dis.c
tilepro-opc.c
v850-dis.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
v850-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
vax-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
visium-dis.c
visium-opc.c
w65-dis.c
w65-opc.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xc16x-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xc16x-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xc16x-desc.h
xc16x-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xc16x-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xc16x-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xc16x-opc.h
xgate-dis.c
xgate-opc.c
xstormy16-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xstormy16-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xstormy16-desc.h
xstormy16-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xstormy16-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xstormy16-opc.c
xstormy16-opc.h
xtensa-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
z8k-dis.c
z8k-opc.h
z8kgen.c
z80-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00