public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* opcodes/cgen-dis.in: arch_name vs printable_name
@ 2001-07-09 12:34 DJ Delorie
  0 siblings, 0 replies; only message in thread
From: DJ Delorie @ 2001-07-09 12:34 UTC (permalink / raw)
  To: cgen; +Cc: binutils, dj

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-09 12:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-09 12:34 opcodes/cgen-dis.in: arch_name vs printable_name DJ Delorie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).