external/binutils.git
24 years ago * gdb.texinfo: Remove duplicate @syncodeindex. From Brian
Eli Zaretskii [Wed, 24 May 2000 16:20:24 +0000 (16:20 +0000)]
* gdb.texinfo: Remove duplicate @syncodeindex.  From Brian
        Youmans.

24 years ago * mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES.
Diego Novillo [Wed, 24 May 2000 15:24:56 +0000 (15:24 +0000)]
* mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES.
(STD_REGISTER_NAMES): New name for REGISTER_NAMES.
(reg_names): Rename to std_reg_names. Change it to a char **
static variable.
(std_reg_names): New name for reg_names.
(set_mips_isa_type): Set reg_names to point to std_reg_names by
default.

24 years agoet al. not et.al.
Andrew Cagney [Wed, 24 May 2000 11:39:44 +0000 (11:39 +0000)]
et al. not et.al.

24 years agoChange profiling so that it is enabled by default. Re-generate everything.
Andrew Cagney [Wed, 24 May 2000 04:39:50 +0000 (04:39 +0000)]
Change profiling so that it is enabled by default.  Re-generate everything.

24 years ago* config/i386/nbsd.mt (TDEPFILES): Move solib.o from here...
J.T. Conklin [Wed, 24 May 2000 04:16:28 +0000 (04:16 +0000)]
* config/i386/nbsd.mt (TDEPFILES): Move solib.o from here...
* config/i386/nbsd.mh (NATDEPFILES): ...to here.
* config/m68k/nbsd.mt (TDEPFILES): Move solib.o from here...
* config/m68k/nbsd.mh (NATDEPFILES): ...to here.
* config/ns32k/nbsd.mt (TDEPFILES): Move solib.o from here...
* config/ns32k/nbsd.mh (NATDEPFILES): ...to here.

* config/powerpc/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o.
* configure.tgt (powerpc-*-netbsd*): add gdbserver to configdirs.
* gdbserver/low-nbsd.c (initialize_arch): Define for PPC.
(fetch_inferior_registers): Likewise.
(store_inferior_registers): Likewise.

* gdbserver/low-nbsd.c (fetch_inferior_registers): Handle X86
floating point registers.
(store_inferior_registers): Likewise.
-------------------------------------------------------------------

24 years agoRemove quotes from arround for loop arg.
Andrew Cagney [Wed, 24 May 2000 02:18:18 +0000 (02:18 +0000)]
Remove quotes from arround for loop arg.

24 years agoAdd special case handling when GDB set CPSR register
Nick Clifton [Tue, 23 May 2000 23:52:46 +0000 (23:52 +0000)]
Add special case handling when GDB set CPSR register

24 years ago* i387-nat.h, i387-nat.c: New files.
Mark Kettenis [Tue, 23 May 2000 23:44:44 +0000 (23:44 +0000)]
* i387-nat.h, i387-nat.c: New files.

24 years agoWhen deciding if ".text" section should be read-only, don't forget to reset
Nick Clifton [Tue, 23 May 2000 21:03:35 +0000 (21:03 +0000)]
When deciding if ".text" section should be read-only, don't forget to reset
SEC_READONLY because it could be already set.

24 years ago* config/sparc/nm-linux.h: Include config/nm-linux.h.
Alexandre Oliva [Tue, 23 May 2000 20:34:09 +0000 (20:34 +0000)]
* config/sparc/nm-linux.h: Include config/nm-linux.h.
* config/powerpc/nm-linux.h: Likewise.

24 years agoone line fix by Gregory Lielens <Gregory.Lielens@fft.be> to fix a problem
David Taylor [Tue, 23 May 2000 15:56:33 +0000 (15:56 +0000)]
one line fix by Gregory Lielens <Gregory.Lielens@fft.be> to fix a problem
with the printing of complex numbers (it would print the real part twice).

24 years agoAdd make_cleanup_close() function.
Andrew Cagney [Tue, 23 May 2000 14:48:13 +0000 (14:48 +0000)]
Add make_cleanup_close() function.

24 years ago2000-05-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 23 May 2000 14:20:57 +0000 (14:20 +0000)]
2000-05-23  H.J. Lu  <hjl@gnu.org>

* elf32-mips.c (mips_elf_calculate_relocation): Check
h->root.other not h->other.

* elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.

24 years ago2000-05-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 23 May 2000 14:15:30 +0000 (14:15 +0000)]
2000-05-23  H.J. Lu  <hjl@gnu.org>

* elf64-alpha.c (elf64_alpha_relocate_section): Check
h->root.other not h->other.

24 years ago2000-05-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 23 May 2000 14:05:50 +0000 (14:05 +0000)]
2000-05-23  H.J. Lu  <hjl@gnu.org>

* elf32-i386.c (elf_i386_relocate_section): Don't allow the
undefined symbol with the non-default visibility attributes.
* elf-hppa.h (elf_hppa_relocate_section): Likewise.
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-mips.c (mips_elf_calculate_relocation): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-ia64.c (elf64_ia64_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.

24 years agosigrc wasn't initialized before being passed to sim_resume().
Andrew Cagney [Tue, 23 May 2000 11:34:27 +0000 (11:34 +0000)]
sigrc wasn't initialized before being passed to sim_resume().

24 years agoAdd -Wuninitialized.
Andrew Cagney [Tue, 23 May 2000 11:28:14 +0000 (11:28 +0000)]
Add -Wuninitialized.

24 years agoOops. Forgot to say "configure: Regenerate".
Hans-Peter Nilsson [Tue, 23 May 2000 10:03:32 +0000 (10:03 +0000)]
Oops.  Forgot to say "configure: Regenerate".

24 years ago * configure.in (i386-*-freebsd a.out entry): Quote properly.
Hans-Peter Nilsson [Tue, 23 May 2000 08:53:54 +0000 (08:53 +0000)]
* configure.in (i386-*-freebsd a.out entry): Quote properly.

24 years agoIRIX GCC fixes from 5.0 branch.
Andrew Cagney [Tue, 23 May 2000 07:49:05 +0000 (07:49 +0000)]
IRIX GCC fixes from 5.0 branch.

24 years agoMissed copyright update in last patch.
Alan Modra [Tue, 23 May 2000 05:07:47 +0000 (05:07 +0000)]
Missed copyright update in last patch.

24 years agoPass jump reloc in fr_var so it can be used in
Alan Modra [Tue, 23 May 2000 04:48:21 +0000 (04:48 +0000)]
Pass jump reloc in fr_var so it can be used in
md_estimate_size_before_relax, replacing old kludge.

24 years agoFrom branch. Bump VERSION number.
Andrew Cagney [Tue, 23 May 2000 03:22:29 +0000 (03:22 +0000)]
From branch.  Bump VERSION number.

24 years ago * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
Richard Henderson [Tue, 23 May 2000 01:48:04 +0000 (01:48 +0000)]
    * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
        (pseudo_func): Add pcrel.
        (operand_match):  Handle IA64_OPND_TGT64.
        (build_insn): Likewise.
        (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
        (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
        (fix_insn): Handle all three 64-bit relocation types.

24 years ago * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,
Richard Henderson [Tue, 23 May 2000 01:32:28 +0000 (01:32 +0000)]
    * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,
        PCREL22, PCREL64I.  Zero size of special relocs.
        (elf64_ia64_reloc_type_lookup): Likewise.
        (USE_BRL, oor_brl, oor_ip): New.
        (elf64_ia64_relax_section): New.
        (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I.
        (elf64_ia64_install_value): Likewise, plus PCREL21BI.
        (elf64_ia64_relocate_section): Likewise.
        (bfd_elf64_bfd_relax_section): New.
        * reloc.c (BFD_RELOC_IA64_PCREL21BI): New.
        (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New.
        * bfd-in2.h, libbfd.h: Regenerate.

24 years ago * ia64.h (R_IA64_PCREL60B, R_IA64_PCREL21BI): New.
Richard Henderson [Tue, 23 May 2000 01:30:56 +0000 (01:30 +0000)]
    * ia64.h (R_IA64_PCREL60B, R_IA64_PCREL21BI): New.
        (R_IA64_PCREL22, R_IA64_PCREL64I): New.

24 years agoAllow d suffix on iret
Alan Modra [Tue, 23 May 2000 00:36:39 +0000 (00:36 +0000)]
Allow d suffix on iret

24 years agoPatch from Thomas de Lellis to implement --section-start
Nick Clifton [Mon, 22 May 2000 21:58:40 +0000 (21:58 +0000)]
Patch from Thomas de Lellis to implement --section-start

24 years ago * obj.h (struct format_ops): New members begin, app_file,
Hans-Peter Nilsson [Mon, 22 May 2000 21:19:43 +0000 (21:19 +0000)]
* obj.h (struct format_ops): New members begin, app_file,
s_set_other, s_set_desc, s_get_type, s_set_type,
separate_stab_sections, init_stab_section.

* config/obj-multi.h: Update GPL notice to v2.
(obj_begin): New.
(obj_app_file): New.
(S_SET_SIZE): Test s_set_size for NULL before calling.
(S_SET_ALIGN): Similar for s_set_align.
(S_SET_OTHER): New.
(S_SET_DESC): New.
(S_GET_TYPE): New.
(S_SET_TYPE): New.
(SEPARATE_STAB_SECTIONS): New.
(INIT_STAB_SECTION): New.
(EMIT_SECTION_SYMBOLS): New.
(AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.

* config/obj-elf.h: Update GPL notice to v2.
Mention that this file is included from obj-multi.h.
(obj_begin): Wrap definition in ifndef.
(elf_file_symbol): Constify declaration.
(obj_app_file): Ditto.
(SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
Wrap in ifndef SEPARATE_STAB_SECTIONS.

* config/obj-elf.c (elf_s_set_other): New.
(elf_file_symbol): Constify argument.
(elf_separate_stab_sections): New.
(elf_init_stab_section): New.
(elf_format_ops): Add new members.  Remove comma at end.

* config/obj-ecoff.c (ecoff_separate_stab_sections): New.
(ecoff_format_ops): Add new fields.  Remove comma at end.
Mention inconsistency for emit_section_symbols.

* config/obj-coff.h (c_dot_file_symbol): Constify declaration.

* config/obj-coff.c (c_dot_file_symbol): Constify argument.
(coff_separate_stab_sections): New.
(coff_format_ops): Add new members.

* config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
(obj_aout_s_set_other): New.
(obj_aout_s_set_desc): New.
(obj_aout_s_get_type): New.
(obj_aout_s_set_type): New.
(obj_aout_separate_stab_sections): New.
(aout_format_ops): New members added.  Use obj_aout_process_stab,
not 0.  Use obj_aout_sec_sym_ok_for_reloc, not 0.
(obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
appropriate.
(obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.

24 years ago* am33.igen: Fix leading comments of SP-relative offset insns that
Alexandre Oliva [Mon, 22 May 2000 20:34:09 +0000 (20:34 +0000)]
* am33.igen: Fix leading comments of SP-relative offset insns that
referred to other registers.  Make their offsets unsigned.

24 years agoAdd peigen.lo to MIPS PE target
Nick Clifton [Mon, 22 May 2000 19:16:59 +0000 (19:16 +0000)]
Add peigen.lo to MIPS PE target

24 years agoUse bfd_generic_verify_endian_match() and fix it to only check when endianness
Nick Clifton [Mon, 22 May 2000 18:44:02 +0000 (18:44 +0000)]
Use bfd_generic_verify_endian_match() and fix it to only check when endianness
is known.

24 years agoRegerbated after change to Makefile.am
Nick Clifton [Mon, 22 May 2000 18:04:17 +0000 (18:04 +0000)]
Regerbated after change to Makefile.am

24 years agoKeep a reloc for jumps to weak and external symbols.
Alan Modra [Mon, 22 May 2000 11:38:43 +0000 (11:38 +0000)]
Keep a reloc for jumps to weak and external symbols.

24 years agoPurge (almost) make_cleanup_func.
Andrew Cagney [Mon, 22 May 2000 09:02:23 +0000 (09:02 +0000)]
Purge (almost) make_cleanup_func.

24 years ago2000-05-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 22 May 2000 07:26:58 +0000 (07:26 +0000)]
2000-05-22  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_link_output_extsym): Clear the visibility
field for symbols not defined locally.

24 years agoPurge procfs.c of make_cleanup_func.
Andrew Cagney [Mon, 22 May 2000 06:17:35 +0000 (06:17 +0000)]
Purge procfs.c of make_cleanup_func.

24 years agoEliminate make_cleanup_func from top.c
Andrew Cagney [Mon, 22 May 2000 05:43:39 +0000 (05:43 +0000)]
Eliminate make_cleanup_func from top.c

24 years agoReplace preg() with phex(). Cleanup monitor.c.
Andrew Cagney [Mon, 22 May 2000 02:07:19 +0000 (02:07 +0000)]
Replace preg() with phex().  Cleanup monitor.c.

24 years ago* i387-tdep.c (print_i387_value): Cast &value to (char *) in
Mark Kettenis [Sun, 21 May 2000 21:21:20 +0000 (21:21 +0000)]
* i387-tdep.c (print_i387_value): Cast &value to (char *) in
pointer arithmetic.  Fixes a bug which manifested itself on
FreeBSD.

24 years ago2000-05-21 H.J. Lu (hjl@gnu.org)
H.J. Lu [Sun, 21 May 2000 21:08:17 +0000 (21:08 +0000)]
2000-05-21  H.J. Lu  (hjl@gnu.org)

* ld-elfvsb/main.c (main_visibility_check): Fix the protected
visibility test.

24 years ago * stabs.c (aout_process_stab): Make global.
Hans-Peter Nilsson [Sun, 21 May 2000 18:26:10 +0000 (18:26 +0000)]
* stabs.c (aout_process_stab): Make global.
(s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
* read.h (aout_process_stab): Declare.

* configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
Generalize to *aout, *coff *elf.
* configure: Regenerated.

* doc/internals.texi (Object format backend): Say
SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.

24 years ago * gas/elf/elf.exp: Exclude *-*-linux*coff* as non-elf.
Hans-Peter Nilsson [Sun, 21 May 2000 18:06:40 +0000 (18:06 +0000)]
* gas/elf/elf.exp: Exclude *-*-linux*coff* as non-elf.

24 years agoDefine LIBIBERTY
Nick Clifton [Sun, 21 May 2000 17:01:02 +0000 (17:01 +0000)]
Define LIBIBERTY

24 years ago20000-05-21 H.J. Lu (hjl@gnu.org)
H.J. Lu [Sun, 21 May 2000 16:57:14 +0000 (16:57 +0000)]
20000-05-21  H.J. Lu  (hjl@gnu.org)

* configure: Revert changes made on May 18 and May 19.

        * Makefile.in (CC_FOR_TARGET): Make sure as/ld in the gcc
        directory are used if they exist. Make sure
        $(build_tooldir)/include is searched for header files,
        $(build_tooldir)/lib/ for library files.
        (GCC_FOR_TARGET): Likewise.
        (CXX_FOR_TARGET): Likewise.

24 years ago* target.h (target_memory_bfd_section): Removed declaration.
J.T. Conklin [Sat, 20 May 2000 10:29:51 +0000 (10:29 +0000)]
* target.h (target_memory_bfd_section): Removed declaration.
* target.c (target_memory_bfd_section): Removed.
* exec.c (xfer_memory): Removed #if'ed-out code which referenced
target_memory_bfd_section.

* target.h (target_read_memory_section): Removed declaration.
* target.c (target_read_memory_section): Removed.
(target_xfer_memory): Update, removed bfd_section argument.
(target_read_string, target_read_memory, target_write_memory):
Update for above change.

* gdbcore.h (read_memory_section): Removed declaration.
* corefile.c (read_memory_section): Removed.
* jv-lang.c (get_java_utf8_name): Changed calls to
read_memory_section to read_memory.
* printcmd.c (printf_command): Likewise.
* valops.c (value_at, value_fetch_lazy): Likewise.

24 years ago * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
Hans-Peter Nilsson [Sat, 20 May 2000 02:03:38 +0000 (02:03 +0000)]
* Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
* Makefile.in: Regenerated.

24 years ago * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
Catherine Moore [Fri, 19 May 2000 21:36:14 +0000 (21:36 +0000)]
   * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.

24 years agoupdate
Jimmy Guo [Fri, 19 May 2000 19:19:34 +0000 (19:19 +0000)]
update

24 years agoregenerate
Jimmy Guo [Fri, 19 May 2000 19:14:45 +0000 (19:14 +0000)]
regenerate

24 years ago20000-05-19 H.J. Lu (hjl@gnu.org)
H.J. Lu [Fri, 19 May 2000 18:14:18 +0000 (18:14 +0000)]
20000-05-19  H.J. Lu  (hjl@gnu.org)

* configure: Provide --disable-target-dir-sanity-checking to
disable the gcc directory checking for cross compiling.

24 years ago * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
Jeff Law [Fri, 19 May 2000 00:21:12 +0000 (00:21 +0000)]
    * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
        instruction to reflect change in re_assemble_*.

24 years ago * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
Jeff Law [Fri, 19 May 2000 00:20:31 +0000 (00:20 +0000)]
    * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
        re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.
        (hppa_rebuild_insn): Mask immediate bits here instead.
        * elf-hppa.h (elf_hppa_relocate_insn): Mask here too.

24 years ago* configure.host, configure.tgt (powerpc-*-netbsd*): New entry.
J.T. Conklin [Thu, 18 May 2000 23:43:58 +0000 (23:43 +0000)]
* configure.host, configure.tgt (powerpc-*-netbsd*): New entry.
* config/powerpc/nbsd.mh, config/powerpc/nbsd.mt,
config/powerpc/tm-nbsd.h, config/powerpc/nm-nbsd.h,
config/powerpc/xm-nbsd.h: New files.

24 years ago* mn10300_sim.h (genericAdd, genericSub, genericCmp, genericOr,
Alexandre Oliva [Thu, 18 May 2000 22:56:28 +0000 (22:56 +0000)]
* mn10300_sim.h (genericAdd, genericSub, genericCmp, genericOr,
genericXor, genericBtst): Use `unsigned32'.
* op_utils.c: Likewise.
* mn10300.igen, am33.igen: Use `unsigned32', `signed32',
`unsigned64' or `signed64' where type width is relevant.

24 years ago2000-05-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 18 May 2000 22:01:04 +0000 (22:01 +0000)]
2000-05-18  H.J. Lu  <hjl@gnu.org>

* lexsup.c (parse_args): `i' == `r', not `q'.

24 years agoForce relocs emited for an executable to contain virtual addresses.
Nick Clifton [Thu, 18 May 2000 17:12:31 +0000 (17:12 +0000)]
Force relocs emited for an executable to contain virtual addresses.

24 years ago20000-05-18 H.J. Lu (hjl@gnu.org)
H.J. Lu [Thu, 18 May 2000 17:11:17 +0000 (17:11 +0000)]
20000-05-18  H.J. Lu  (hjl@gnu.org)

* configure: Ask to create the gcc directory for cross
compiling if necessary.

24 years ago * configure.in (hppa*64*-*-*): Do build ld for this configuration.
Jeff Law [Thu, 18 May 2000 16:58:06 +0000 (16:58 +0000)]
    * configure.in (hppa*64*-*-*): Do build ld for this configuration.

24 years ago * config.bfd (hppa*64*-*-hpux11*): New target triplet.
Jeff Law [Thu, 18 May 2000 16:55:34 +0000 (16:55 +0000)]
    * config.bfd (hppa*64*-*-hpux11*): New target triplet.

24 years ago * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
Jeff Law [Thu, 18 May 2000 16:52:11 +0000 (16:52 +0000)]
    * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
        build PA64 ELF tools.
        * configure: Rebuilt.

24 years ago * configure.tgt (hppa*64*-*-*): Enable PA64 target.
Jeff Law [Thu, 18 May 2000 16:48:14 +0000 (16:48 +0000)]
    * configure.tgt (hppa*64*-*-*): Enable PA64 target.

24 years ago* configure.in: Special case powerpc*-*-aix* target_makefile_frag.
David Edelsohn [Thu, 18 May 2000 14:28:32 +0000 (14:28 +0000)]
* configure.in: Special case powerpc*-*-aix* target_makefile_frag.

24 years agoTypo. bfd@sourceware -> binutils@sourceware.
Andrew Cagney [Thu, 18 May 2000 00:29:13 +0000 (00:29 +0000)]
Typo.  bfd@sourceware -> binutils@sourceware.

24 years agoAdd part of patch omittede from previous delta
Nick Clifton [Wed, 17 May 2000 19:55:14 +0000 (19:55 +0000)]
Add part of patch omittede from previous delta

24 years agoFix typo in previous delta
Nick Clifton [Wed, 17 May 2000 19:53:11 +0000 (19:53 +0000)]
Fix typo in previous delta

24 years agoApply patch from Richard Gorton <gorton@scrugs.lkg.dec.com> to implement
Nick Clifton [Wed, 17 May 2000 19:38:53 +0000 (19:38 +0000)]
Apply patch from  Richard Gorton <gorton@scrugs.lkg.dec.com> to implement
--emit-relocs switch to the linker to preserve relocs in an output executable

24 years ago* Makefile.in (configure-target-libiberty): Depend on
Alexandre Oliva [Wed, 17 May 2000 19:23:34 +0000 (19:23 +0000)]
* Makefile.in (configure-target-libiberty): Depend on
configure-target-newlib.

24 years ago2000-05-12 Michael Snyder <msnyder@.cygnus.com>
Michael Snyder [Wed, 17 May 2000 17:10:19 +0000 (17:10 +0000)]
2000-05-12  Michael Snyder  <msnyder@.cygnus.com>

        * gdb.base/break.exp (bp on small function, optimized file):
        Add a second pass pattern.  The behavior differs here between stabs
        and dwarf for one-line functions.  Stabs preserves two line symbols
        (one before the prologue and one after) with the same line number,
        but dwarf regards these as duplicates and discards one of them.
        Therefore the address after the prologue (where the breakpoint is)
        has no exactly matching line symbol, and GDB reports the breakpoint
        as if it were in the middle of a line rather than at the beginning.

24 years ago2000-05-12 Michael Snyder <msnyder@.cygnus.com>
Michael Snyder [Wed, 17 May 2000 17:09:27 +0000 (17:09 +0000)]
2000-05-12  Michael Snyder  <msnyder@.cygnus.com>

* config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Define.

24 years agoUpdate dependencies.
Alan Modra [Wed, 17 May 2000 14:24:25 +0000 (14:24 +0000)]
Update dependencies.

24 years ago * gdb/config/djgpp/README: Fine-tune installation instructions
Eli Zaretskii [Wed, 17 May 2000 11:49:53 +0000 (11:49 +0000)]
* gdb/config/djgpp/README: Fine-tune installation instructions
        based on user reports.

24 years ago * mmalloc/Makefile.in (install-info): Make sure $(infodir) exists.
Eli Zaretskii [Wed, 17 May 2000 11:45:56 +0000 (11:45 +0000)]
* mmalloc/Makefile.in (install-info): Make sure $(infodir) exists.
Run install-info program on the installed Info files.
* gdb/doc/Makefile.in (install-info): Run install-info on installed
Info files.

24 years agoMinor maint et.al. tweeks.
Andrew Cagney [Wed, 17 May 2000 08:46:20 +0000 (08:46 +0000)]
Minor maint et.al. tweeks.

24 years agoChange v850 break-point instruction to loop. Get around lack of 16
Andrew Cagney [Wed, 17 May 2000 06:51:28 +0000 (06:51 +0000)]
Change v850 break-point instruction to loop.  Get around lack of 16
bit breakpoint.

24 years agoFix fild.
Alan Modra [Wed, 17 May 2000 00:47:51 +0000 (00:47 +0000)]
Fix fild.

24 years agoApply patch from Charles Wilson to make PE ports search for dynamic libraries
Nick Clifton [Tue, 16 May 2000 20:53:26 +0000 (20:53 +0000)]
Apply patch from Charles Wilson to make PE ports search for dynamic libraries
in foo.dll and libfoo.dll before libfoo.a.

24 years ago* cgen/opcodes fix
Frank Ch. Eigler [Tue, 16 May 2000 19:28:07 +0000 (19:28 +0000)]
* cgen/opcodes fix
* approved by nickc

[opcodes/ChangeLog]
2000-05-16  Frank Ch. Eigler  <fche@redhat.com>

* fr30-desc.h: Partially regenerated to account for changed
CGEN_MAX_* -> CGEN_ACTUAL_MAX_* macros.
* m32r-desc.h: Ditto.

[include/opcode/ChangeLog]
2000-05-16  Frank Ch. Eigler  <fche@redhat.com>

* cgen.h (CGEN_MAX_SYNTAX_BYTES): Increase to 32.  Check that
it exceeds CGEN_ACTUAL_MAX_SYNTAX_BYTES, if set.
(CGEN_MAX_IFMT_OPERANDS): Increase to 16.  Check that it exceeds
CGEN_ACTUAL_MAX_IFMT_OPERANDS, if set.

24 years ago * som.c (som_decode_symclass): Recognize weak symbols.
Catherine Moore [Tue, 16 May 2000 14:20:10 +0000 (14:20 +0000)]
    * som.c (som_decode_symclass):  Recognize weak symbols.

24 years agoReview TODO.
Andrew Cagney [Tue, 16 May 2000 09:00:20 +0000 (09:00 +0000)]
Review TODO.

24 years agoRename mi/ChangeLog-mi -> mi/ChangeLog
Andrew Cagney [Tue, 16 May 2000 05:07:53 +0000 (05:07 +0000)]
Rename mi/ChangeLog-mi -> mi/ChangeLog

24 years agoMake free_current_contents more robust. Use in MI.
Andrew Cagney [Tue, 16 May 2000 04:57:49 +0000 (04:57 +0000)]
Make free_current_contents more robust. Use in MI.

24 years agoCleanup discard_minimal_symbols cleanup.
Andrew Cagney [Tue, 16 May 2000 04:07:39 +0000 (04:07 +0000)]
Cleanup discard_minimal_symbols cleanup.

24 years agoFix signature of add_set_enum_cmd. Change VAR parameter to char**.
Andrew Cagney [Tue, 16 May 2000 03:03:13 +0000 (03:03 +0000)]
Fix signature of add_set_enum_cmd.  Change VAR parameter to char**.
Cleanup signature of add_set_cmd.  Change VAR parameter to void*.

24 years agoRemove stray extern declaration of wrap_value_subscript().
Andrew Cagney [Tue, 16 May 2000 02:50:23 +0000 (02:50 +0000)]
Remove stray extern declaration of wrap_value_subscript().

24 years agoCleanup bfd_close() cleanups.
Andrew Cagney [Tue, 16 May 2000 02:43:39 +0000 (02:43 +0000)]
Cleanup bfd_close() cleanups.

24 years agoFix problems introduced with my last change.
Alan Modra [Tue, 16 May 2000 02:10:00 +0000 (02:10 +0000)]
Fix problems introduced with my last change.

24 years agoSkip CVS directories when creating tar ball.
Andrew Cagney [Tue, 16 May 2000 00:09:00 +0000 (00:09 +0000)]
Skip CVS directories when creating tar ball.

24 years agoAdd code to tweek djunpack as part of release process.
Andrew Cagney [Tue, 16 May 2000 00:04:11 +0000 (00:04 +0000)]
Add code to tweek djunpack as part of release process.

24 years ago * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.
Joern Rennecke [Mon, 15 May 2000 23:10:59 +0000 (23:10 +0000)]
* elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.

24 years agoAdd notes on register cache.
Andrew Cagney [Mon, 15 May 2000 23:10:56 +0000 (23:10 +0000)]
Add notes on register cache.

24 years agosh-dsp support, simulator speedup by using host byte order:
Joern Rennecke [Mon, 15 May 2000 21:12:42 +0000 (21:12 +0000)]
sh-dsp support, simulator speedup by using host byte order:

sim:
* Makefile.in (interp.o): Depends on ppi.c .
(ppi.c): New rule.
* gencode.c (printonmatch, think, genopc): Deleted.
(MAX_NR_STUFF): Now 42.
(tab): Add SH-DSP CPU instructions.
Amalgamate ldc / stc / lds / sts instructions with similar
bit patterns.  Fix opcodes of stc Rm_BANK,@-<REG_N>.
Fix semantics of lds.l @<REG_N>+,MACH (no sign extend).
(movsxy_tab): New array.
For movs, change MMMM field to GGGG, and mmmm field to MMMM.
Added entries for movx, movy and parallel processing insns.
(ppi_tab): New array.
(qfunc): Stabilize sort.
(expand_opcode): Handle [01][01]NN, [01][01]xx and [01][01]yy.
Handle 'M', 'G' 's' 'X', 'a', 'Y' and 'A'.
(dumptable): Now takes three arguments.  Changed all callers.
Emit just one contigous jump table.
(filltable): Now takes an argument.  Changed all callers.
Make index static.
(ppi_moves, expand_ppi_code, ppi_filltable, ppi_gensim): New functions.
(gensim_caselist): New function, broken out of gensim.
Handle opcode fields 'x', 'y', 's', 'M', 'G', 'X', 'a', and 'Y'.
Handle ref '9'.
(gensim): Handle 'N' in code field and '8' in refs field.
Call gensim_caselist - twice.
(ppi_index): New static variable.
(main): Unsupport default action.
Add dsp support for -x / -s option.  Add -p option.
* interp.c (sh_jump_table, sh_dsp_table, ppi_table): Declare.
(saved_state_type): Rearrange to allow amalgamated ldc / stc /
lds / sts to work efficiently.
(target_dsp): New static variable.
(GBR, VBR, SSR, SPC, MACH, MACL): Reflect saved_state_type change.
(FPUL, Rn_BANK, SET_Rn_BANK, M, Q, S, T, SR_BL, SR_RB): Likewise.
(SR_MD, SR_RC, SET_SR_BIT, GET_SR, SET_RC, GET_FPSCR): Likewise.
(RS, RE, MOD, MOD_ME, DSP_R): Likewise.
(set_fpscr1): Likewise.  Use target_dsp to check for dsp.
(MOD_MSi, SIG_BUS_FETCH): Deleted.
(CREG, SREG, PR, SR_MASK_DMY, SR_MASK_DMX, SR_DMY): New macros.
(SR_DMX, DSR, MOD_DELTA, GET_DSP_GRD): Likewise.
(SET_MOD): Reflect saved_state_type change.  Set MOD_DELTA instead
of MOD_MS, and encode SR_DMY / SR_DMX into high word of MOD_ME.
(set_sr): Reflect saved_state_type change.  Fix SR_RB handling.
Use SET_MOD.
(MA, L, TL, TB): Now controlled by ACE_FAST.
(SEXT32): Just cast to int.
(SIGN32): Fixed to only shift by 31.
(CHECK_INSN_PTR): SIGBUS at insn fetch now represented by insn_end 0.
(ppi_insn): Declare.
(ppi.c): Include.
(init_dsp): Set target_dsp.  When it changes, switch end of
sh_jump_table with sh_dsp_table.
(sim_resume) Don't declare sh_jump_table0.  Use sh_jump_table instead.
Don't Declare PR if it's #defined.
Fix single-stepping (Was broken in Mar  6 16:59:10 patch).
(sim_store_register, sim_read_register): Translate accesses to
reflect saved_state_type change.

* interp.c (set_sr): Set sr.
(SET_RC, MOD, MOD_MS, MOD_ME, SET_MOD, MOD_MS, MOD_ME): New macros.
(set_fpscr1): Don't bank-switch fpu registers when simulating sh-dsp.
(DSP_R): Fix definition.
(sim_resume): Remove outdated SET_SR use.

* interp.c (saved_state): New members for struct member asregs:
rs, re, insn_end, xram_start, yram_start.
(struct loop_bounds): New struct.
(SKIP_INSN): New macro.
(get_loop_bounds): New function.
(endianw): Renamed to global_endianw.
(maskw): negated bits.
(PC): Now insn_ptr.
(SR_MASK_RC, SR_RC_INCREMENT, SR_RC, RAISE_EXCEPTION): New macros.
(RS, RE, DSP_R, DSP_GRD, A1, A0, X0, X1, Y0, Y1, M0, A1G): Likewise.
(M1, A0G, RIAT, PT2H, PH2T, SET_NIP, CHECK_INSN_PTR): Likewise.
(SIG_BUS_FETCH): Likewise
(raise_exception, riat_fast): New functions.
(raise_buserror, sim_stop): Use raise_exception.
(PROCESS_SPECIAL_ADDRESS): Use xram_start / yram_start.
(BUSERROR, WRITE_BUSERROR, READ_BUSERROR):
Reverse sense of mask argument.
(FP_OP, set_dr): Use RAISE_EXCEPTION.
(wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast):
Declare.  Remove redundant masking.
(wwat_fast, rwat_fast): Add argument endianw.  Changed callers.
(MA): Updated for change pc -> PC.
(Delay_Slot): Use RIAT.
(empty): Deleted.
(trap): Remove argument little_endian.  Add argument endianw.
Changed all callers.  Use raise_exception.
(macw): Add argument endainw.  Changed all callers.
(init_dsp): New function, extended after broken out of init_pointers.
(sim_resume): Replace pc with insn_ptr.  Replace little_endian with
endianw.  Replace nia with nip.  Reverse sense of maskb / maskw /
maskl.  Implement logic for zero-overhead loops.  Don't try to
interpret garbage when getting a SIGBUS at insn fetch.
(sim_open): Call init_dsp.
* gencode.c (tab): Use SET_NIP instead of nia = .  Use PH2T / PT2H /
RAISE_EXCEPTION where appropriate.
Add extra cycles for brai, braf , bsr, bsrf, jmp, jsr.

* interp.c (sim_store_register, sim_fetch_register):
Do proper endianness switch.

* interp.c (saved_state_type): New members for struct member asregs:
xymem_select, xmem, ymem, xmem_offset, ymem_offset.
(special_address): Delete.
(BUSERROR): Now a two-argument predicate.
(PROCESS_SPECIAL_ADDRESS, WRITE_BUSERROR, READ_BUSERROR): New macros.
(wlat_little, wwat_little, wbat_any, wlat_big, wwat_big): Delete.
(process_wlat_addr, process_wwat_addr): New functions.
(process_wbat_addr, process_rlat_addr, process_rwat_addr): Likewise.
(process_rbat_addr): Likewise.
(wlat_fast, wwat_fast, wbat_fast): Use WRITE_BUSERROR.
(rlat_little, rwat_little, rbat_any, rlat_big, rwat_big): Delete.
(rlat_fast, rwat_fast, rbat_fast): Use READ_BUSERROR.
(RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Delete SLOW versions.
(do_rdat, trap): Delete SLOW code.
(SEXT32, SIGN32): New macros.
(swap, swap16): Now integer in - integer out.  Changed all callers.
(strswaplen, strnswap): Delete SLOW versions.
(init_pointers): Initialize dsp memory selection (preliminary).
(sim_store_register, sim_fetch_register): Use swap instead of
big / little endian read / write functions.

* interp.c (maskl): Deleted.
(endianw, endianb): New variables.
(special_address): Now inline.
(bp_holder): Put raising of buserror there, rename to:
(raise_buserror).
(BUSERROR): Now yields a value.  Changed all users.
(wbat_big): Delete.
(wlat_fast, wwat_fast, wbat_fast): New functions.
(rlat_fast, rwat_fast, rbat_fast): Likewise.
(RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Use new functions.
(do_rdat, do_wdat): Likewise.  Take maskl argument instead of
little_endian one.  Changed caller macros.
(swap, swap16): Use w[rw]lat_big / w[rw]lat_little directly.
(strswaplen, strnswap): New functions.
(trap): Use them to fix up endian mismatches;
disable SYS_execve and SYS_execv; fix double address translation for
SYS_pipe and SYS_stat.
(sym_write, sym_read): Add endianness translation.
(sym_store_register, sym_fetch_register): Add maskl local variable.
(sim_open): Set endianw and endianb.

gdb:

* sh-tdep.c (sh_dsp_reg_names, sh3_dsp_reg_names): New arrays.
(sh_processor_type_table): Add entries for bfd_mach_sh_dsp and
 bfd_mach_sh3_dsp.
(sh_show_regs): Floating point registers are called fr0-fr15.
For sh4, display fpul, fpscr and fr0-fr15 / dr0-dr14 as appropriate.
Handle sh-dsp and sh3-dsp.
config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): sh-dsp / sh3-dsp
don't have floating point registers.
(DSR_REGNUM, A0G_REGNUM, A0_REGNUM, A1G_REGNUM, A1_REGNUM): Define.
(M0_REGNUM, M1_REGNUM, X0_REGNUM, X1_REGNUM, Y0_REGNUM): Likewise.
(Y1_REGNUM, MOD_REGNUM, RS_REGNUM, RE_REGNUM, R0B_REGNUM): Likewise.

24 years agoAdd support for _x and _s flags to MSR instruction
Nick Clifton [Mon, 15 May 2000 19:25:22 +0000 (19:25 +0000)]
Add support for _x and _s flags to MSR instruction

24 years agoCleanup cleanups - delete use of make_cleanup_func as cast.
Andrew Cagney [Mon, 15 May 2000 11:48:50 +0000 (11:48 +0000)]
Cleanup cleanups - delete use of make_cleanup_func as cast.

24 years ago * Makefile.in (gdbtypes.o, varobj.o): Depend on wrapper.h.
Eli Zaretskii [Mon, 15 May 2000 07:10:04 +0000 (07:10 +0000)]
* Makefile.in (gdbtypes.o, varobj.o): Depend on wrapper.h.

* wrapper.h (gdb_value_subscript, wrap_value_subscript): Add
prototypes.

24 years agoConvert SAVE_DUMMY_FRAME_TOS to multi-arch.
Andrew Cagney [Mon, 15 May 2000 06:27:18 +0000 (06:27 +0000)]
Convert SAVE_DUMMY_FRAME_TOS to multi-arch.

24 years agoCleanup free_agent_expr cleanups.
Andrew Cagney [Mon, 15 May 2000 06:15:27 +0000 (06:15 +0000)]
Cleanup free_agent_expr cleanups.

24 years agoCleanup delete_breakpoint cleanups.
Andrew Cagney [Mon, 15 May 2000 05:54:02 +0000 (05:54 +0000)]
Cleanup delete_breakpoint cleanups.

24 years agoMove core_addr_lessthan and core_addr_greaterthan to arch-utils.
Andrew Cagney [Mon, 15 May 2000 03:56:30 +0000 (03:56 +0000)]
Move core_addr_lessthan and core_addr_greaterthan to arch-utils.

24 years agoUse make_cleanup_ui_out_stream_delete().
Andrew Cagney [Mon, 15 May 2000 03:16:15 +0000 (03:16 +0000)]
Use make_cleanup_ui_out_stream_delete().