This is the mail archive of the binutils@sources.redhat.com 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]

opcodes/cgen-dis.in: arch_name vs printable_name



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;


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