This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Pass noaliases_p to aarch64_decode_insn


Hi Yao,

Nowadays aarch64_decode_insn is a public interface used by both
opcodes and gdb.

This is a bit worrying, given that the interface is undocumented. Plus now we are changing it without updating any kind of version information. Not good, but not your fault either.


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

-aarch64_decode_insn (aarch64_insn, aarch64_inst *);
+aarch64_decode_insn (aarch64_insn, aarch64_inst *, int);

I think that it would be better if the new parameter was a bfd_boolean rather than an int. The patch is approved with this change.

Cheers
  Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]