aboutsummaryrefslogtreecommitdiff
path: root/opcodes/m32r-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-12-09 22:46:26 +1030
committerAlan Modra <amodra@gmail.com>2019-12-10 09:04:15 +1030
commit103ebbc35cc1975442e1e6233207d8d7b2016556 (patch)
tree8bb0547dd5e1709b30e6d36fd30215b74ad25bd5 /opcodes/m32r-dis.c
parent6f0e0752309e3e3016a48db1672e3092c677020c (diff)
downloadgdb-103ebbc35cc1975442e1e6233207d8d7b2016556.zip
gdb-103ebbc35cc1975442e1e6233207d8d7b2016556.tar.gz
gdb-103ebbc35cc1975442e1e6233207d8d7b2016556.tar.bz2
Use disassemble_info.private_data in place of insn_sets
No cgen target uses private_data. This patch removes a disassemble_info field that is only used by cgen, and instead uses private_data. It also removes a macro that is no longer used. include/ * dis-asm.h (struct disassemble_info): Delete insn_sets. (INIT_DISASSEMBLE_INFO_NO_ARCH): Don't define. opcodes/ * cgen-dis.in (print_insn_@arch@): Replace insn_sets with private_data. * disassemble.c (disassemble_init_for_target): Likewise. * bpf-dis.c: Regenerate. * epiphany-dis.c: Regenerate. * fr30-dis.c: Regenerate. * frv-dis.c: Regenerate. * ip2k-dis.c: Regenerate. * iq2000-dis.c: Regenerate. * lm32-dis.c: Regenerate. * m32c-dis.c: Regenerate. * m32r-dis.c: Regenerate. * mep-dis.c: Regenerate. * mt-dis.c: Regenerate. * or1k-dis.c: Regenerate. * xc16x-dis.c: Regenerate. * xstormy16-dis.c: Regenerate.
Diffstat (limited to 'opcodes/m32r-dis.c')
-rw-r--r--opcodes/m32r-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/m32r-dis.c b/opcodes/m32r-dis.c
index 8722d6b..c778b88 100644
--- a/opcodes/m32r-dis.c
+++ b/opcodes/m32r-dis.c
@@ -630,7 +630,7 @@ print_insn_m32r (bfd_vma pc, disassemble_info *info)
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
}
#else
- isa = info->insn_sets;
+ isa = info->private_data;
#endif
/* If we've switched cpu's, try to find a handle we've used before */