Doug Evans c2009f4a31 Move all global state data into opcode table struct, and treat
opcode table as something that is "opened/closed".
	* cgen-asm.c (all fns): New first arg of opcode table descriptor.
	(cgen_asm_init): Delete.
	(cgen_set_parse_operand_fn): New function.
	* cgen-dis.c (all fns): New first arg of opcode table descriptor.
	(cgen_dis_init): Delete.
	* cgen-opc.c (all fns): New first arg of opcode table descriptor.
	(cgen_current_{opcode_table_mach,endian}): Delete.
	* cgen-asm.in (all fns): New first arg of opcode table descriptor.
	* cgen-dis.in (all fns): Ditto.
	* cgen-opc.in (all fns): Ditto.
	* m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate.

	* cgen-asm.in (parse_insn_normal): Ignore case in mnemonics.

	* cgen-dis.in (print_normal): Split into two.
	(print_address): New function.
	(extract_insn_normal): Clarify insn_value arg.
	(print_int_insn): Renamed from print_insn.
	(print_insn): New arg.
	(print_insn_@arch@): Open opcode table if not already done so.
	Move reading of insn into print_insn.
1998-08-03 19:56:43 +00:00
..
1998-07-24 03:58:14 +00:00
1998-04-28 22:43:01 +00:00
1996-07-22 18:38:50 +00:00
1998-02-23 21:17:29 +00:00
1998-01-16 00:23:38 +00:00
1997-02-23 23:05:35 +00:00
1993-03-19 22:20:43 +00:00
1998-06-19 14:43:45 +00:00
1996-09-02 16:41:29 +00:00
1998-06-01 16:36:09 +00:00
1995-01-16 00:35:55 +00:00
1995-01-16 00:35:55 +00:00