* sparc-desc.h: New file.
* sparc-opc.h: New file.
* decode64.c: New file.
* decode64.h: New file.
* sem64.c: New file.
* cpu64.c: New file.
* cpu64.h: New file.
* model64.h: New file.
* mloop64.in: New file.
* regs64.h: New file.
* trap64.c: New file.
* cpu32.h,decode32.c,decode32.h,model32.c,sem32.c: Rebuild.
* configure.host, configure.tgt: Comment out Gould configs.
* Makefile.in: Comment out Gould-related actions.
* gould-xdep.c, gould-tdep.c, config/gould/*: Comment out.
* NEWS: Mention obsolete status.
And the first one bites the dust...
(cgen.o): Ditto.
(EXTRA_as_new_SOURCES): Comment out.
(.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
* Makefile.in: Rebuild.
* doc/Makefile.in: Rebuild.
* configure.in: Require autoconf 2.13. Redo using_cgen handling.
Delete call to AM_CYGWIN32. Replace AM_EXEEXT with AC_EXEEXT.
(AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
* configure: Rebuild.
* aclocal.m4: Rebuild.
* config.in: Rebuild.
* cgen.c: Include cgen-desc.h, not cgen-opc.h.
(*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
(gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
(gas_cgen_record_fixup): Remove unnecessary != 0 test.
(gas_cgen_record_fixup_exp): Ditto.
(gas_cgen_finish_insn): Ditto. Refer to operand table via cpu
descriptor, not global variable.
(gas_cgen_md_apply_fix3): Refer to operand_table via cpu
descriptor, not global variable. Refer to insert_operand handler
via cpu descriptor, not global function.
* cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
* config/tc-fr30.c: Include opcodes/fr30-desc.h.
(*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
* config/tc-m32r.c: Ditto.
(assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
(md_assemble): Ditto.
(md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
(cgen.o): Ditto.
(EXTRA_as_new_SOURCES): Comment out.
(.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
* Makefile.in: Rebuild.
* configure.in: Require autoconf 2.13. Redo using_cgen handling.
Delete call to AM_CYGWIN32. Replace AM_EXEEXT with AC_EXEEXT.
(AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
* configure: Rebuild.
* aclocal.m4: Rebuild.
* config.in: Rebuild.
* cgen.c: Include cgen-desc.h, not cgen-opc.h.
(*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
(gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
(gas_cgen_record_fixup): Remove unnecessary != 0 test.
(gas_cgen_record_fixup_exp): Ditto.
(gas_cgen_finish_insn): Ditto. Refer to operand table via cpu
descriptor, not global variable.
(gas_cgen_md_apply_fix3): Refer to operand_table via cpu
descriptor, not global variable. Refer to insert_operand handler
via cpu descriptor, not global function.
* cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
* config/tc-fr30.c: Include opcodes/fr30-desc.h.
(*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
* config/tc-m32r.c: Ditto.
(assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
(md_assemble): Ditto.
(md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
All uses updated. New members int_insn_p, max_insn_size,
parse_operand,insert_operand,extract_operand,print_operand,
sizeof_fields,set_fields_bitsize,get_int_operand,set_int_operand,
get_vma_operand,set_vma_operand,parse_handlers,insert_handlers,
extract_handlers,print_handlers.
(CGEN_ATTR): Change type of num_nonbools to unsigned int.
(CGEN_ATTR_BOOL_OFFSET): New macro.
(CGEN_ATTR_MASK): Subtract it to compute bit number.
(CGEN_ATTR_VALUE): Redo bool/nonbool attr calculation.
(cgen_opcode_handler): Renamed from cgen_base.
(CGEN_HW_ATTR_VALUE): Renamed from CGEN_HW_ATTR, all uses updated.
(CGEN_OPERAND_ATTR_VALUE): Renamed from CGEN_OPERAND_ATTR,
all uses updated.
(CGEN_OPERAND_INDEX): Rewrite to use table entry, not global.
(enum cgen_opinst_type): Renamed from cgen_operand_instance_type.
(CGEN_IFLD_ATTR_VALUE): Renamed from CGEN_IFLD_ATTR, all uses updated.
(CGEN_OPCODE,CGEN_IBASE): New types.
(CGEN_INSN): Rewrite.
(CGEN_{ASM,DIS}_HASH*): Delete.
(init_opcode_table,init_ibld_table): Declare.
* gdbtk-hooks.c: Remove gdbtk_ignorable_warning prototype.
It is in gdbtk.h.
(report_error): New function. Displays debugging information
if a hook function fails. All hook functions should probably
call this.
(gdbtk_warning): Call report_error() if there is a problem.
(gdbtk_register_changed): Call report_error() if there is a problem.
(gdbtk_memory_changed): Call report_error() if there is a problem.
(gdbtk_ignorable_warning): Pass along class argument. If there
is a problem, call report_error().
* gdbtk-cmds.c: Remove TclDebug prototype. It is in gdbtk.h.
(gdb_loadfile): Add class name to gdbtk_ignorable_warning call.
* gdbtk.c (TclDebug): Add "priority" argument. Calls "dbug"
instead of "debug". Removed non-ANSI ifdefs.
* gdbtk.h: Fixed protos for gdbtk_ignorable_warning and TclDebug.
* gnu-regex.c: Check ENABLE_NLS instead of HAVE_LIBINTL_H.
* configure.in: Don't check for libintl.h.
* configure, config.in: Regenerated.
Fixes a problem on debian systems, a conflict between the
/usr/include/libintl.h and the routines that are actually linked in,
up in ../intl.
* Makefile.in: Add GDBTK_CFLAGS - this is now used to hold
-fwritable-strings when compiling with Tk8.1.
* configure.in: Add GDBTK_CFLAGS, set it to -fwritable-strings for
Tcl/Tk8.1 & greater.
* acinclude.m4: Move the rest of the defines to find Itcl, Itk &
Tix from aclocal.m4 to here.
* aclocal.m4: regenerate.
* configure: regenerate.
* gdbtk-hooks.c (x_event): Tcl_ObjGetVar2 was removed from
Tcl8.1. Use Tcl_GetVar2 instead.
* gdbtk-hooks.c (gdbtk_trace_find): Fix up call to
Tcl_GlobalEvalObj for Tcl/Tk 8.1.
* gdbtk-hooks.c (gdbtk_trace_start_stop): Call to Tcl_EvalObj was
inefficient, replace with call to Tcl_GlobalEval.
* gdbtk.c: Don't swap out the Tcl_Alloc calls in gdbtk.c. We took
care of that in Tcl itself for 8.1.
* gdbtk.c: Remove const from the script string since Tcl8.1 has
taken to scribbling sentinals into strings passed to it again...
* gdbtk-cmds.c (wrapped_call): Change declaration of 1st arg from
char * to PTR to eliminate warning.
* gdbtk-cmds.c (perror_with_name_wrapper): Ditto
merge some HP changes into mainline, describe some previously
undocumented features, describe more of the target commands
available, eliminate obsolete section on renamed commands.
* all-cfg.texi, HPPA-cfg.texi: Remove some obsolete conditionals.