binutils-gdb/include
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
..
aout
cgen
coff
elf Fix errors in the gas testsuite for the ARC target. 2015-10-28 13:48:00 +00:00
gdb Remove leading/trailing white spaces in ChangeLog 2015-07-24 04:16:47 -07:00
mach-o
nlm
opcode Pass noaliases_p to aarch64_decode_insn 2015-10-28 14:22:57 +00:00
som
vms
alloca-conf.h
ansidecl.h Sync ansidecl.h with GCC 2015-08-12 05:02:21 -07:00
bfdlink.h Add "-z call-nop=PADDING" option to ld 2015-10-22 04:56:39 -07:00
binary-io.h
bout.h
ChangeLog Add "-z call-nop=PADDING" option to ld 2015-10-22 04:56:39 -07:00
ChangeLog-9103
COPYING
COPYING3
demangle.h Remove trailing spaces in demangle.h 2015-07-14 09:18:16 -07:00
dis-asm.h New ARC implementation. 2015-10-07 14:20:19 +01:00
dwarf2.def Resync files in the binutils repository that are maintained in the gcc repository. 2015-09-30 17:55:16 +01:00
dwarf2.h
dyn-string.h
fibheap.h
filenames.h
floatformat.h
fnmatch.h
fopen-bin.h
fopen-same.h
fopen-vms.h
gcc-c-fe.def
gcc-c-interface.h
gcc-interface.h
getopt.h
hashtab.h Sync hashtab.h, splay-tree.h with GCC 2015-07-14 09:18:16 -07:00
hp-symtab.h
ieee.h
leb128.h
libiberty.h Sync libiberty from GCC, replaying updates to configure scripts 2015-06-24 21:43:02 +02:00
longlong.h Sync longlong.h with GCC 2015-07-14 09:18:16 -07:00
lto-symtab.h
MAINTAINERS
md5.h
oasys.h
objalloc.h
obstack.h
os9k.h
partition.h
plugin-api.h
progress.h
safe-ctype.h
sha1.h
simple-object.h
sort.h
splay-tree.h Sync hashtab.h, splay-tree.h with GCC 2015-07-14 09:18:16 -07:00
symcat.h
timeval-utils.h
vtv-change-permission.h
xregex2.h
xregex.h
xtensa-config.h
xtensa-isa-internal.h
xtensa-isa.h