This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
opcodes/cgen-dis.in: arch_name vs printable_name
- To: cgen at sources dot redhat dot com
- Subject: opcodes/cgen-dis.in: arch_name vs printable_name
- From: DJ Delorie <dj at redhat dot com>
- Date: Mon, 9 Jul 2001 15:34:13 -0400
- CC: binutils at sources dot redhat dot com, dj at greed dot delorie dot com
Why is arch_type->printable_name being used in print_insn_@arch@?
Shouldn't it use arch_type->arch_name ? I mean, the printable name is
just that - for printing - and could be anything, like "SuperFOO
processor with FPU and a side of fries" for all we know.
2001-07-09 DJ Delorie <dj@redhat.com>
* cgen-dis.in (print_insn_@arch@): Use arch_name, not
printable_name.
Index: cgen-dis.in
===================================================================
RCS file: /cvs/uberbaum/opcodes/cgen-dis.in,v
retrieving revision 1.10
diff -p -3 -r1.10 cgen-dis.in
*** cgen-dis.in 2001/05/15 18:10:05 1.10
--- cgen-dis.in 2001/07/09 19:33:23
*************** print_insn_@arch@ (pc, info)
*** 417,423 ****
if (!arch_type)
abort ();
! mach_name = arch_type->printable_name;
prev_isa = isa;
prev_mach = mach;
--- 417,423 ----
if (!arch_type)
abort ();
! mach_name = arch_type->arch_name;
prev_isa = isa;
prev_mach = mach;