Richard Henderson [Thu, 6 May 1999 19:52:29 +0000 (19:52 +0000)]
* symbols.c (symbol_find_base): Use memcpy instead of strcpy.
Don't copy before downcaseing.
Richard Henderson [Thu, 6 May 1999 17:12:02 +0000 (17:12 +0000)]
Fred Fish <fnf@be.com>
* dwarf2.c (read_abbrevs): Change cast of dwarf_abbrev_buffer
assignment from "unsigned char *" to "char *".
(decode_line_info): Likewise for dwarf_line_buffer assignment.
Ian Lance Taylor [Thu, 6 May 1999 11:03:33 +0000 (11:03 +0000)]
* rename.c (smart_rename): Fix test of whether file exists.
Nick Clifton [Thu, 6 May 1999 07:41:56 +0000 (07:41 +0000)]
Set display_endian based on target endianism.
Nick Clifton [Thu, 6 May 1999 07:20:24 +0000 (07:20 +0000)]
Remove traces of mcore.
Nick Clifton [Thu, 6 May 1999 07:08:37 +0000 (07:08 +0000)]
remove mentions of mcore.
Nick Clifton [Thu, 6 May 1999 07:07:55 +0000 (07:07 +0000)]
Currently CYGNUS local
Stan Shebs [Wed, 5 May 1999 21:45:13 +0000 (21:45 +0000)]
import gdb-
19990504 snapshot
Catherine Moore [Wed, 5 May 1999 19:02:14 +0000 (19:02 +0000)]
* dlltool.c (interwork): Remove.
(arm_interwork_jtab): Use bx insn.
(thumb_jtab): Likewise.
(MARM_INTERWORK): New machine type.
(rvaafter): Handle it.
(rvabefore) Likewise.
(asm_prefix): Likewise.
(gen_exp_type): Check machine type instead of
interwork flag.
(make_one_lib_file): Likewise.
(make_head): Likewise.
(make_tail): Likewise.
(usage): Update machine types.
(main): Remove -interwork support.
Catherine Moore [Wed, 5 May 1999 18:56:25 +0000 (18:56 +0000)]
* coff-arm.c (coff_arm_relocate_section): Add one to
address of ARM_RVA32 thumb functions.
Stan Shebs [Wed, 5 May 1999 14:45:51 +0000 (14:45 +0000)]
import gdb-
19990504 snapshot
Catherine Moore [Wed, 5 May 1999 11:34:29 +0000 (11:34 +0000)]
Remove extra copy of elf32_m68k_copy_private_bfd_data.
Catherine Moore [Wed, 5 May 1999 11:00:55 +0000 (11:00 +0000)]
* readelf.c (get_machine_flags): Check for EF_CPU32.
(get_data_encoding): Fix typo.
Catherine Moore [Wed, 5 May 1999 10:58:59 +0000 (10:58 +0000)]
* tc-m68k.c: Include elf/m68k.h.
(m68k_elf_final_processing): New routine.
* tc-m68k.h (elf_tc_final_processing m68k_elf_final_processing):
Define.
Catherine Moore [Wed, 5 May 1999 10:57:16 +0000 (10:57 +0000)]
* m68k.h (EF_CPU32): Define.
Catherine Moore [Wed, 5 May 1999 10:56:18 +0000 (10:56 +0000)]
* elf32-m68k.c (elf32_m68k_set_private_flags): New.
(elf32_m68k_copy_private_bfd_data): New.
(elf32_m68k_merge_private_bfd_data): New.
(elf32_m68k_print_private_bfd_data): New.
(CPU32_FLAG): Define.
(PLT_CPU32_ENTRY_SIZE): Define.
(elf_cpu32_plt0_entry): Declare.
(elf_cpu32_plt_entry): Declare.
(elf_m68k_adjust_dynamic_symbol): Generate cpu32 plt entries.
(elf_m68k_finish_dynamic_symbol): Likewise.
(elf_m68k_finish_dynamic_sections): Likewise.
(elf_backend_plt_header_size): Remove definition.
(bfd_elf32_bfd_copy_private_bfd_data): Define.
(bfd_elf32_bfd_merge_private_bfd_data): Define.
(bfd_elf32_bfd_set_private_flags): Define.
(bfd_elf32_bfd_print_private_bfd_data): Define.
Stan Shebs [Tue, 4 May 1999 18:52:32 +0000 (18:52 +0000)]
Remove pregenerated info file
Jeff Law [Mon, 3 May 1999 09:26:28 +0000 (09:26 +0000)]
* config/tc-hppa.c (md_apply_fix): Handle 22 bit fmt insn like a
17 bit fmt insn.
Jeff Law [Mon, 3 May 1999 09:12:29 +0000 (09:12 +0000)]
M
* som.c (som_fixup_formats): Fix comments for R_SHORT_PCREL_MODE
and R_LONG_PCREL_MODE.
Jeff Law [Mon, 3 May 1999 09:12:28 +0000 (09:12 +0000)]
ÿ
* som.c (som_fixup_formats): Fix comments for R_SHORT_PCREL_MODE
and R_LONG_PCREL_MODE.
Richard Henderson [Mon, 3 May 1999 07:29:11 +0000 (07:29 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
Richard Henderson [Mon, 3 May 1999 07:29:11 +0000 (07:29 +0000)]
19990502 sourceware import
Stan Shebs [Tue, 27 Apr 1999 01:33:01 +0000 (01:33 +0000)]
import gdb-
19990422 snapshot
Stan Shebs [Tue, 27 Apr 1999 01:30:31 +0000 (01:30 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
Stan Shebs [Tue, 27 Apr 1999 01:30:31 +0000 (01:30 +0000)]
import gdb-
19990422 snapshot
Stan Shebs [Tue, 27 Apr 1999 01:26:45 +0000 (01:26 +0000)]
import gdb-
19990422 snapshot
Stan Shebs [Mon, 26 Apr 1999 18:34:20 +0000 (18:34 +0000)]
import gdb-
19990422 snapshot
Stan Shebs [Mon, 26 Apr 1999 18:30:31 +0000 (18:30 +0000)]
import gdb-
19990422 snapshot
Stan Shebs [Mon, 26 Apr 1999 18:30:31 +0000 (18:30 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
Stan Shebs [Mon, 26 Apr 1999 18:25:51 +0000 (18:25 +0000)]
import gdb-
19990422 snapshot
Stan Shebs [Mon, 26 Apr 1999 17:34:15 +0000 (17:34 +0000)]
Not part of the sources
Stan Shebs [Fri, 16 Apr 1999 01:35:26 +0000 (01:35 +0000)]
Initial creation of sourceware repository
Stan Shebs [Fri, 16 Apr 1999 01:34:55 +0000 (01:34 +0000)]
Initial creation of sourceware repository
Stan Shebs [Fri, 16 Apr 1999 01:34:55 +0000 (01:34 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
Stan Shebs [Fri, 16 Apr 1999 01:34:49 +0000 (01:34 +0000)]
Initial creation of sourceware repository
Stan Shebs [Fri, 16 Apr 1999 01:34:07 +0000 (01:34 +0000)]
Initial creation of sourceware repository
Mark Alexander [Mon, 15 Feb 1999 02:23:56 +0000 (02:23 +0000)]
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
coffread.c will correctly handle char or short function parameters.
Ken Raeburn [Mon, 15 Feb 1999 00:00:20 +0000 (00:00 +0000)]
config/tc-alpha.c (md_show_usage): Put \ before newline in strings always.
Richard Henderson [Sat, 13 Feb 1999 22:13:09 +0000 (22:13 +0000)]
* config/tc-alpha.c (cpu_types): Enable EV6 PALcode with -m21264.
(emit_insn): Look for pc-relative and no-overflow specifiers on
internal relocation types.
Jim Blandy [Sat, 13 Feb 1999 21:59:27 +0000 (21:59 +0000)]
Add clauses for tx19, vr4xxx, vr4320, tx49, and r5900
Jim Blandy [Sat, 13 Feb 1999 21:37:36 +0000 (21:37 +0000)]
*** empty log message ***
Jim Blandy [Sat, 13 Feb 1999 21:37:16 +0000 (21:37 +0000)]
* doc/c-mips.texi (MIPS Opts): Updated list of -mNNNN and
-mcpu=NNNN flags.
Jim Blandy [Sat, 13 Feb 1999 21:36:35 +0000 (21:36 +0000)]
* config/tc-mips.c: Remove all the mips_NNNN variables; just use
mips_cpu instead.
(mips_4650, mips_4010, mips_4100): Variables removed.
start-sanitize-vr4xxx
(mips_4121): Variable removed.
end-sanitize-vr4xxx
start-sanitize-vr4320
(mips_4320): Variable removed.
end-sanitize-vr4320
start-sanitize-cygnus
(mips_5400): Variable removed.
end-sanitize-cygnus
start-sanitize-r5900
(mips_5900): Variable removed.
end-sanitize-r5900
start-sanitize-tx49
(mips_4900): Variable removed.
end-sanitize-tx49
(hilo_interlocks, gpr_interlocks, append_insn, macro_build, macro,
macro2, mips16_macro, mips_ip): Test mips_cpu, not the mips_NNNN
variables.
(md_begin): Don't bother initializing the mips_NNNN variables;
mips_cpu is set, and that's good enough now.
(md_parse_option): Have the -mNNNN options set mips_cpu instead of
the mips_NNNN variable. The -no-mNNNN flags are now no-ops.
(show): New function, to handle wrapping in the CPU lists.
(md_show_usage): Update lists of -mcpu and -mNNNN switches.
Jim Blandy [Sat, 13 Feb 1999 21:19:17 +0000 (21:19 +0000)]
*** empty log message ***
Jim Blandy [Sat, 13 Feb 1999 20:07:02 +0000 (20:07 +0000)]
*** empty log message ***
Jim Blandy [Sat, 13 Feb 1999 20:06:53 +0000 (20:06 +0000)]
* gas/mips/mips.exp: Run the new tests, below.
* gas/mips/elf_e_flags1.d, gas/mips/elf_e_flags2.d,
gas/mips/elf_e_flags3.d, gas/mips/elf_e_flags4.d: New files.
* gas/mips/elf_e_flags.c, gas/mips/elf_e_flags.s: New files.
Jim Blandy [Sat, 13 Feb 1999 20:04:28 +0000 (20:04 +0000)]
*** empty log message ***
Jim Blandy [Sat, 13 Feb 1999 20:04:14 +0000 (20:04 +0000)]
*** empty log message ***
Richard Henderson [Sat, 13 Feb 1999 08:18:51 +0000 (08:18 +0000)]
* config/tc-i386.c (i386_intel_operand): Ignore `SHORT' rather
than treat as an immediate specifier.
Stan Shebs [Fri, 12 Feb 1999 02:02:45 +0000 (02:02 +0000)]
* gdb.texinfo: Update the credits.
Richard Henderson [Fri, 12 Feb 1999 00:27:34 +0000 (00:27 +0000)]
* config/tc-i386.c: Prototype many functions.
(set_intel_syntax): Accept `prefix'/`noprefix' specifiers.
(i386_immediate): Remove unused second argument.
(i386_intel_operand): Fix i386_is_reg typo.
(i386_operand): Use allow_naked_reg.
(output_invalid): Make operand int for K&R.
Martin Hunt [Fri, 12 Feb 1999 00:00:14 +0000 (00:00 +0000)]
1999-02-11 Martin Hunt <hunt@cygnus.com>
* gdbtk-variable.c (variable_format): Enable binary format.
Martin Hunt [Thu, 11 Feb 1999 21:12:19 +0000 (21:12 +0000)]
*** empty log message ***
Martin Hunt [Thu, 11 Feb 1999 21:11:58 +0000 (21:11 +0000)]
1999-02-11 Martin Hunt <hunt@cygnus.com>
* gdbtk-hooks.c: Change ALL Tcl_Eval calls in hooks to
call report_error() if there are errors.
Martin Hunt [Thu, 11 Feb 1999 20:53:23 +0000 (20:53 +0000)]
1999-02-11 Martin Hunt <hunt@cygnus.com>
* gdbtk.c, gdbtk-cmds.c, gdbtk-hooks.c: Removed old IDE stuff.
Jason Molenda [Thu, 11 Feb 1999 19:22:23 +0000 (19:22 +0000)]
1999-02-11 Jason Molenda (jsm@bugshack.cygnus.com)
* configure, aclocal.m4: Regenerate with correct version of aclocal.
Ian Lance Taylor [Thu, 11 Feb 1999 16:22:25 +0000 (16:22 +0000)]
* Makefile.am (EXTRA_as_new_SOURCES): Uncomment--fixed by automake
patch.
* Makefile.in: Rebuild.
Nick Clifton [Thu, 11 Feb 1999 16:14:01 +0000 (16:14 +0000)]
Fix for PR 19070 - add ability to detect and generate errors when sections
overlap.
Doug Evans [Thu, 11 Feb 1999 03:24:19 +0000 (03:24 +0000)]
* gas/m32r/allinsn.d: Prefix all | with \.
(push,pop): Fix expected output.
* gas/m32r/relax-1.d: Emitted nops are serial, not parallel.
* gas/m32r/fslot.d: Prefix all | with \.
* gas/m32r/fslotx.d: Prefix all | with \.
* gas/m32r/m32rx.d: Assemble with -O to get effect we're testing for.
Prefix all | with \. Fix misc. typos.
* gas/m32r/m32rx.s (bc__add,bcl__addi): Use non-relaxable versions
of branches so we get the effect we're testing for.
* gas/m32r/relax-2.d: Prefix all | with \.
| must be prefixed with \ (or otherwise escaped).
Fix problems that were then revealed.
Some still remain in m32rx.[ds].
Syd Polk [Thu, 11 Feb 1999 02:15:40 +0000 (02:15 +0000)]
1999-02-10 Syd Polk <spolk@cygnus.com>
* acinclude.m4: Fix for new location of itclConfig.sh and itkConfig.sh.
* aclocal.m4: Regnerate.
* configure: Regenerate.
Stan Shebs [Thu, 11 Feb 1999 02:02:02 +0000 (02:02 +0000)]
Remove java sanitization.
Jason Molenda [Thu, 11 Feb 1999 01:58:22 +0000 (01:58 +0000)]
1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
* demangle.c: Fix comments to mention "set demangle-style"
instead of "set demangle".
Run through indent to fix minor indenting problems.
Bob Manson [Thu, 11 Feb 1999 01:54:15 +0000 (01:54 +0000)]
* i386-tdep.c (gdb_print_insn_i386): Add missing returns.
Disassembly fails on sparc host otherwise (for obvious reasons).
Doug Evans [Thu, 11 Feb 1999 00:58:29 +0000 (00:58 +0000)]
* config/tc-dvp.h (tc_symbol_chars): Define.
pr 19072
Jason Molenda [Thu, 11 Feb 1999 00:57:35 +0000 (00:57 +0000)]
1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
* gdb.base/smoke.exp: Disambiguate two test case names (both
called ``print'').
Doug Evans [Thu, 11 Feb 1999 00:31:53 +0000 (00:31 +0000)]
* Makefile.in: Rebuild.
Stan Shebs [Thu, 11 Feb 1999 00:24:38 +0000 (00:24 +0000)]
Removing java sanitization!
Doug Evans [Wed, 10 Feb 1999 23:39:09 +0000 (23:39 +0000)]
* sparc-desc.c: New file.
* 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.
Stan Shebs [Wed, 10 Feb 1999 21:28:03 +0000 (21:28 +0000)]
Declare Gould configuration obsolete:
* 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...
Doug Evans [Wed, 10 Feb 1999 20:22:20 +0000 (20:22 +0000)]
fix sanitization of m32r-desc.c,m32r-desc.h,m32r-ibld.c,m32r-opinst.c
Christopher Faylor [Wed, 10 Feb 1999 17:19:01 +0000 (17:19 +0000)]
Fix a typo.
Doug Evans [Wed, 10 Feb 1999 09:42:33 +0000 (09:42 +0000)]
* Makefile.in (SPARC64_OBJS): Add dev64.o.
(CPU_OBJS): New variable.
(SIM_OBJS): Add sparc-desc.o.
(SIM_EXTRA_DEPS): Replace cpu-opc.h with sparc-desc.h.
(sim-core.o): Add dev64.h dependency.
(dev64.o): Add rule.
(stamp-arch,stamp-cpu32): Update FLAGS variable, option syntax changed.
(stamp-cpu64): Ditto.
(stamp-desc): New rule.
* configure.in (sim_link_files,sim_link_links): Delete.
Set cpu_objs to one of SPARC32_OBJS,SPARC64_OBJS.
* configure: Rebuild.
* acconfig.h: Rebuild.
* config.in: Rebuild.
* dev64.c: New file.
* dev64.h: New file.
* sparc64.c: New file.
* trap64.h: New file.
* arch.c,arch.h,cpuall.h: Rebuild.
* cpu32.c,decode32.c,decode32.h,model32.c,sem32.c: Rebuild.
* sim-if.c (sparc_disassemble_insn): New function.
(sim_open): sparc_cgen_cpu_open renamed from sparc_cgen_opcode_open.
Set disassembler.
(sim_close): sparc_cgen_cpu_open renamed from sparc_cgen_opcode_open.
* sim-main.h: Don't include cpu-opc.h,cpu-sim.h. Include
sparc-desc.h,sparc-opc.h,sparc-sim.h.
Doug Evans [Wed, 10 Feb 1999 09:23:35 +0000 (09:23 +0000)]
* Makefile.in (SIM_EXTRA_DEPS): Add m32r-desc.h, delete cpu-opc.h.
(stamp-arch,stamp-cpu): Update FLAGS variable, option syntax changed.
(stamp-xmloop): s/-parallel/-parallel-write/.
(stamp-xcpu): Update FLAGS variable, option syntax changed.
* configure.in (sim_link_files,sim_link_links): Delete.
* configure: Rebuild.
* decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
* decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild.
* mloop.in (execute): CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
* sim-if.c (sim_open): m32r_cgen_cpu_open renamed from
m32r_cgen_opcode_open. Set disassembler.
(sim_close): m32r_cgen_cpu_open renamed from m32r_cgen_opcode_open.
* sim-main.h: Don't include cpu-opc.h,cpu-sim.h. Include
m32r-desc.h,m32r-opc.h,m32r-sim.h.
Doug Evans [Wed, 10 Feb 1999 08:56:15 +0000 (08:56 +0000)]
* configure.in (sparc*): Configure sparc subdir if --with-cgen or
--with-cgen-sim.
* configure: Rebuild.
Doug Evans [Wed, 10 Feb 1999 03:20:59 +0000 (03:20 +0000)]
* Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h.
(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.
Doug Evans [Wed, 10 Feb 1999 03:19:32 +0000 (03:19 +0000)]
* Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h.
(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.
Doug Evans [Wed, 10 Feb 1999 02:38:05 +0000 (02:38 +0000)]
* i960c-asm.c,i960c-dis.c,i960c-opc.c,i960c-opc.h: Delete.
* i960-dis.c (print_insn_i960): Rename from print_insn_i960_orig.
* Makefile.am: Remove references to them.
(HFILES): Add fr30-desc.h,m32r-desc.h.
(CFILES): Add fr30-desc.c,fr30-ibld.c,m32r-desc.c,m32r-ibld.c,
m32r-opinst.c.
(ALL_MACHINES): Update.
* configure.in: Redo handling of cgen_files.
(bfd_i960_arch): Delete i960c-*.lo files.
* configure: Regenerate.
* cgen-asm.c (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
(hash_insn_array): Rewrite.
* cgen-dis.c (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
(hash_insn_array): Rewrite.
* cgen-opc.c (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
(cgen_lookup_insn,cgen_get_insn_operands): Define here.
(cgen_lookup_get_insn_operands): Ditto.
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerate.
* m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate.
* po/POTFILES.in: Rebuild.
* po/opcodes.pot: Rebuild.
* Makefile.am (fr30 cgen dependencies): Add new files.
(m32r cgen dependencies): Add new files.
(CGENFILES): Update for opcode table reorg.
(run-cgen): Pass $(extrafiles).
(stamp-m32r): Set extrafiles to "opinst".
* cgen-opc.in: Delete.
* cgen-ibld.in: New file.
* cgen-asm.in: Include @prefix@-desc.h.
(insert_1,insert_normal,insert_insn_normal): Moved to cgen-ibld.in.
* cgen-dis.in: Include @prefix@-desc.h.
(fill_cache,extract_1,extract_normal,extract_insn_normal): Moved to
cgen-ibld.in.
* cgen.sh: Accept new arg to handle generation of opinst file.
Generate arch-desc.[ch],arch-opinst.c,arch-ibld.c files.
Doug Evans [Wed, 10 Feb 1999 01:47:02 +0000 (01:47 +0000)]
cleanup last change
Doug Evans [Wed, 10 Feb 1999 01:45:30 +0000 (01:45 +0000)]
(CGEN_INSN_ATTR): New type.
Doug Evans [Wed, 10 Feb 1999 01:12:01 +0000 (01:12 +0000)]
* cgen.h (CGEN_CPU_DESC): Renamed from CGEN_OPCODE_DESC.
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.
Martin Hunt [Tue, 9 Feb 1999 22:18:52 +0000 (22:18 +0000)]
1999-02-09 Martin Hunt <hunt@cygnus.com>
* 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.
Jim Blandy [Tue, 9 Feb 1999 21:22:15 +0000 (21:22 +0000)]
*** empty log message ***
DJ Delorie [Tue, 9 Feb 1999 20:05:42 +0000 (20:05 +0000)]
* sparcl-tdep.c: UDP download works in cygwin
Elena Zannoni [Tue, 9 Feb 1999 16:05:46 +0000 (16:05 +0000)]
Tue Feb 9 10:38:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* configure.in: Do not use the ./support directory.
* configure: Regenerate.
Nick Clifton [Tue, 9 Feb 1999 15:49:01 +0000 (15:49 +0000)]
Fix Label1 - Label2 relocartions for ELF targets
Jason Molenda [Tue, 9 Feb 1999 07:03:23 +0000 (07:03 +0000)]
1999-02-08 Jason Molenda (jsm@bugshack.cygnus.com)
* 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.
Stan Shebs [Tue, 9 Feb 1999 02:19:18 +0000 (02:19 +0000)]
* NEWS: Mention new X packet and PowerPC variant support.
Stan Shebs [Tue, 9 Feb 1999 01:38:18 +0000 (01:38 +0000)]
* gdb.texinfo: Fix mistakes noticed in printout of last
draft, add Alpha to discussion of heuristic fence post.
Nick Clifton [Mon, 8 Feb 1999 17:29:05 +0000 (17:29 +0000)]
Fix tests to pass on ARM targets
Nick Clifton [Mon, 8 Feb 1999 17:07:07 +0000 (17:07 +0000)]
Add support for StrongARM host/target.
David Taylor [Mon, 8 Feb 1999 17:07:06 +0000 (17:07 +0000)]
dsrec.c (make_srec): cast targ_addr to int in call to sprintf, otherwise on
big endian machines (e.g., sparc) with a bfd_vma of 64 bits, everything
gets loaded at location 0. (PR 18929)
Ian Lance Taylor [Mon, 8 Feb 1999 16:19:20 +0000 (16:19 +0000)]
Mon Feb 8 11:18:14 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* elf32-m68k.c (reloc_map): Use the correct types for the struct
fields instead of unsigned char.
Nick Clifton [Mon, 8 Feb 1999 12:47:01 +0000 (12:47 +0000)]
Add support for StrongARM target.
Nick Clifton [Mon, 8 Feb 1999 12:44:13 +0000 (12:44 +0000)]
Add support for StrongARM target
Nick Clifton [Mon, 8 Feb 1999 12:41:43 +0000 (12:41 +0000)]
Add support for StrongARM target.
Nick Clifton [Mon, 8 Feb 1999 12:35:29 +0000 (12:35 +0000)]
Add support for strongarm target.
Andrew Cagney [Sun, 7 Feb 1999 22:35:03 +0000 (22:35 +0000)]
From Frank Ch. Eigler <fche@cygnus.com>
* infrun.c (wait_for_inferior): Allow SIGTRAP to be "pass"ed to target program.
(But the comments are cagney's and not Frank's.)
Doug Evans [Sat, 6 Feb 1999 03:56:24 +0000 (03:56 +0000)]
* gas/m32r/relax-2.[sd]: New testcase.
* gas/m32r/m32rx.exp: Run it.
PR 19068
Doug Evans [Sat, 6 Feb 1999 03:29:45 +0000 (03:29 +0000)]
* config/tc-m32r.c (assemble_two_insns): Always call fill_insn.
PR 19068
Jim Ingham [Sat, 6 Feb 1999 01:50:46 +0000 (01:50 +0000)]
1999-02-05 James Ingham <jingham@cygnus.com>
* 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