platform/upstream/binutils.git
24 years ago From Grant Erickson <gerickso@Brocade.COM>:
Ian Lance Taylor [Tue, 22 Feb 2000 07:44:54 +0000 (07:44 +0000)]
From Grant Erickson <gerickso@Brocade.COM>:
* ppc-opc.c: Correct dcread--it takes 3 arguments, not 2.

24 years ago2000-02-22 H.J. Lu <hjl@gnu.org>
Ian Lance Taylor [Tue, 22 Feb 2000 07:34:57 +0000 (07:34 +0000)]
2000-02-22  H.J. Lu  <hjl@gnu.org>

* common.h (ELFOSABI_LINUX): Define.

24 years ago From Brad Lucier <lucier@math.purdue.edu>:
Ian Lance Taylor [Tue, 22 Feb 2000 07:25:46 +0000 (07:25 +0000)]
From Brad Lucier <lucier@math.purdue.edu>:
* i386.c (i386_find_call): Add cast to ensure that printf argument
matches format.
* tahoe.c (tahoe_find_call): Likewise.
* vax.c (vax_find_call): Likewise.

24 years ago From Brad Lucier <lucier@math.purdue.edu>:
Ian Lance Taylor [Tue, 22 Feb 2000 07:21:23 +0000 (07:21 +0000)]
From Brad Lucier <lucier@math.purdue.edu>:
* dwarf2dbg.c (print_stats): Add cast to force printf argument to
match format.

24 years ago From Brad Lucier <lucier@math.purdue.edu>:
Ian Lance Taylor [Tue, 22 Feb 2000 07:18:10 +0000 (07:18 +0000)]
From Brad Lucier <lucier@math.purdue.edu>:
* readelf.c (process_version_sections): Add casts to make sure
argument to %* is an int.
(process_mips_specific): Add casts to make printf arguments match
format.

24 years ago * elf32-i386.c (elf_i386_info_to_howto_rel): Give a warning for
Ian Lance Taylor [Tue, 22 Feb 2000 05:52:59 +0000 (05:52 +0000)]
* elf32-i386.c (elf_i386_info_to_howto_rel): Give a warning for
invalid relocation types, and change them to R_386_NONE.

24 years ago2000-02-22 H.J. Lu <hjl@gnu.org>
Ian Lance Taylor [Tue, 22 Feb 2000 05:51:02 +0000 (05:51 +0000)]
2000-02-22  H.J. Lu  <hjl@gnu.org>

        * elflink.h (elf_bfd_final_link): Call output_extsym for global
symbols converted to local symbols even when stripping all
symbols.
        (elf_link_output_extsym): Process global symbols converted to
local symbols even if they are being stripped.

24 years agoChanges for GNU/Linux PPC native gdb port.
Kevin Buettner [Tue, 22 Feb 2000 01:27:35 +0000 (01:27 +0000)]
Changes for GNU/Linux PPC native gdb port.

24 years agoChanges for GNU/Linux PPC native gdb port.
Kevin Buettner [Tue, 22 Feb 2000 01:21:06 +0000 (01:21 +0000)]
Changes for GNU/Linux PPC native gdb port.

24 years agoChanges for GNU/Linux PPC native port of gdb.
Kevin Buettner [Tue, 22 Feb 2000 01:20:32 +0000 (01:20 +0000)]
Changes for GNU/Linux PPC native port of gdb.

24 years agoChanges for GNU/Linux PPC native port.
Kevin Buettner [Tue, 22 Feb 2000 01:17:29 +0000 (01:17 +0000)]
Changes for GNU/Linux PPC native port.

24 years ago*** empty log message ***
Jim Blandy [Mon, 21 Feb 2000 22:15:09 +0000 (22:15 +0000)]
*** empty log message ***

24 years ago * config/tc-mips.c (MF_HILO_INSN): Define.
Catherine Moore [Mon, 21 Feb 2000 20:00:33 +0000 (20:00 +0000)]
       * config/tc-mips.c (MF_HILO_INSN): Define.
           (mips_7000_hilo_fix): Declare.
           (append_insn): Conditionally insert nops after an mfhi/mflo insn.
           (md_parse_option): Check for 7000_HILO_FIX options.
           (OPTION_M7000_HILO_FIX): Define.
           (OPTION_NO_M7000_HILO_FIX): Define.
           * doc/c-mips.texi (-mfix7000): Describe.

24 years ago2000-02-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 21 Feb 2000 15:56:37 +0000 (15:56 +0000)]
2000-02-21  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

From Philippe De Muyter  <phdm@macqel.be>

* event-loop.c (handle_file_event): In case of poll, enable
  printing of informational message if an error/exception is
  detected on the file descriptor.

24 years agoThis lot mainly cleans up `comparison between signed and unsigned' gcc
Alan Modra [Mon, 21 Feb 2000 12:01:27 +0000 (12:01 +0000)]
This lot mainly cleans up `comparison between signed and unsigned' gcc
warnings.  One usused var, and a macro parenthesis fix too.  Also check
input sections are elf when doing gc in elflink.h.

24 years ago* MAINTAINERS (Misc): Clarify that yes, anyone can edit web pages.
Jim Kingdon [Mon, 21 Feb 2000 06:13:23 +0000 (06:13 +0000)]
* MAINTAINERS (Misc): Clarify that yes, anyone can edit web pages.

24 years ago ELF HPPA doesn't work at present; remove it until it does.
Ian Lance Taylor [Mon, 21 Feb 2000 05:33:40 +0000 (05:33 +0000)]
ELF HPPA doesn't work at present; remove it until it does.
* config.bfd: Comment out setting targ_defvec to
bfd_elf32_hppa_vec.
* Makefile.am: Rebuild dependencies.
(BFD32_BACKENDS): Remove elf32-hppa.lo.
(BFD32_BACKENDS_CFILES): Remove elf32-hppa.c.
(SOURCE_HFILES): Remove elf32-hppa.h and hppa_stubs.h.
* Makefile.in: Rebuild.
* targets.c (bfd_target_vector): Comment out bfd_elf32_hppa_vec.

24 years agocygwin32 -> cygwin.
Christopher Faylor [Mon, 21 Feb 2000 03:25:29 +0000 (03:25 +0000)]
cygwin32 -> cygwin.

24 years agocygwin32 -> cygwin
Christopher Faylor [Mon, 21 Feb 2000 03:24:17 +0000 (03:24 +0000)]
cygwin32 -> cygwin

24 years agoInclude "expression.h" which "language.h" depends on.
Andrew Cagney [Mon, 21 Feb 2000 03:04:19 +0000 (03:04 +0000)]
Include "expression.h" which "language.h" depends on.

24 years agoInclude "language.h" for longest_local_hex_string_custom().
Andrew Cagney [Mon, 21 Feb 2000 02:51:07 +0000 (02:51 +0000)]
Include "language.h" for longest_local_hex_string_custom().

24 years agoUpdate gdbarch.sh so that it generates code including <gdb_wait.h>.
Andrew Cagney [Mon, 21 Feb 2000 00:21:51 +0000 (00:21 +0000)]
Update gdbarch.sh so that it generates code including <gdb_wait.h>.

24 years agoAdd more maintainers. Expand the ARM related maintainers.
Andrew Cagney [Mon, 21 Feb 2000 00:15:55 +0000 (00:15 +0000)]
Add more maintainers. Expand the ARM related maintainers.

24 years agoAdd paragraph on multiple maintainers.
Andrew Cagney [Sun, 20 Feb 2000 23:52:58 +0000 (23:52 +0000)]
Add paragraph on multiple maintainers.

24 years ago2000-02-19 Philippe De Muyter <phdm@macqel.be>
Fernando Nasser [Sun, 20 Feb 2000 18:23:31 +0000 (18:23 +0000)]
2000-02-19  Philippe De Muyter  <phdm@macqel.be>

        * cli-out.c (cli_table_header): Type of parameter `alignment' is
        `enum ui_align', not `int'.
        (cli_field_string, cli_field_skip): Likewise.

24 years ago* build fix
Frank Ch. Eigler [Sat, 19 Feb 2000 03:59:10 +0000 (03:59 +0000)]
* build fix

2000-02-18  Frank Ch. Eigler  <fche@redhat.com>

* resrc.c: Remove unmatched #if for cygwin.

24 years ago* coffcode.h (coff_set_arch_mach_hook): Use free(), because there
Geoffrey Keating [Sat, 19 Feb 2000 01:11:19 +0000 (01:11 +0000)]
* coffcode.h (coff_set_arch_mach_hook): Use free(), because there
is no bfd_free().  Revert bfd_free part of previous change.

24 years ago* coffcode.h (coff_set_arch_mach_hook): Don't use variable-size
Geoffrey Keating [Sat, 19 Feb 2000 00:59:26 +0000 (00:59 +0000)]
* coffcode.h (coff_set_arch_mach_hook): Don't use variable-size
arrays.
(coff_compute_section_file_positions): Use bfd_free to pair
bfd_malloc.
(coff_write_object_contents): Likewise.

* coff-rs6000.c (xcoff_howto_table_16): New variable.
(xcoff_rtype2howto): Handle 16-bit variants of 32-bit relocs.

24 years ago* build fix for cygwin
Frank Ch. Eigler [Sat, 19 Feb 2000 00:44:46 +0000 (00:44 +0000)]
* build fix for cygwin

2000-02-18  Frank Ch. Eigler  <fche@redhat.com>

From Jason "crash" Molenda <jsm@cygnus.com>:
* configure.in: Check for getpagesize declaration.
* mvmalloc.c, mmap-sup.c: Conditionally declare getpagesize.
* configure: Regenerated.

24 years ago*** empty log message ***
Jim Blandy [Fri, 18 Feb 2000 23:34:44 +0000 (23:34 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Blandy [Fri, 18 Feb 2000 22:19:31 +0000 (22:19 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Blandy [Fri, 18 Feb 2000 22:16:16 +0000 (22:16 +0000)]
*** empty log message ***

24 years ago* buildsym.h (add_free_pendings): Declare.
Jim Blandy [Fri, 18 Feb 2000 22:15:46 +0000 (22:15 +0000)]
* buildsym.h (add_free_pendings): Declare.
* buildsym.c (add_free_pendings): New function.
(make_blockvector): 32x64 fix using longest_local_hex_string().
(start_subfile): initialize variable 'subfile'.

24 years agoAdd a symbol's value to the computed frag offset, rather than overwriting it.
Nick Clifton [Fri, 18 Feb 2000 18:45:28 +0000 (18:45 +0000)]
Add a symbol's value to the computed frag offset, rather than overwriting it.

24 years ago2000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 18 Feb 2000 17:00:18 +0000 (17:00 +0000)]
2000-02-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* remote.c (remote_async_detach): Use target_mourn_inferior(), to
  make sure that all is cleaned up after we disconnect from the
  target.
(remote_detach): Ditto.

24 years ago * elf-bfd.h (struct elf_link_hash_table): Remove copy_indirect
Richard Henderson [Fri, 18 Feb 2000 09:23:06 +0000 (09:23 +0000)]
    * elf-bfd.h (struct elf_link_hash_table): Remove copy_indirect
        and hide_symbol members.
        (elf_link_hash_copy_indirect): Remove.
        (elf_link_hash_hide_symbol): Remove.
        (struct elf_backend_data): Add elf_backend_copy_indirect_symbol
        and elf_backend_hide_symbol.
        (_bfd_elf_link_hash_copy_indirect): Declare.
        (_bfd_elf_link_hash_hide_symbol): Declare.
        * elf.c (_bfd_elf_link_hash_copy_indirect): Remove table argument.
        (_bfd_elf_link_hash_hide_symbol): Likewise.
        (_bfd_elf_link_hash_table_init): Don't init killed members.
        * elflink.h (elf_link_add_object_symbols): Use the bed function
        pointers not elf_link_hash_{copy_indirect,hide_symbol}.
        (elf_link_assign_sym_version): Likewise.
        * elfxx-target.h (elf_backend_copy_indirect_symbol): Default.
        (elf_backend_hide_symbol): Likewise.
        (elfNN_bed): Update for new members.

24 years agoFrom 2000-02-17 RodneyBrown@pmsc.com:
Andrew Cagney [Fri, 18 Feb 2000 01:39:02 +0000 (01:39 +0000)]
From 2000-02-17 RodneyBrown@pmsc.com:
mm.c, attach.c, mmap-sup.c, sbrk-sup.c: Include <unistd.h> for sbrk
and lseek declarations.

24 years agoFix copyright line.
Kevin Buettner [Thu, 17 Feb 2000 21:16:16 +0000 (21:16 +0000)]
Fix copyright line.

24 years ago2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Thu, 17 Feb 2000 20:11:15 +0000 (20:11 +0000)]
2000-02-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>

Add the patcher separator line between two same-day patches
(emacs thinks that they are not necessary).

24 years ago2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Thu, 17 Feb 2000 20:08:48 +0000 (20:08 +0000)]
2000-02-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>

From Rodney Brown  <RodneyBrown@pmsc.com>
* ui-out.c (ui_out_set_flags): Fix typo, removing warning and
potentially harming mistake.

24 years ago2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Thu, 17 Feb 2000 19:51:04 +0000 (19:51 +0000)]
2000-02-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>

* arm-tdep.c: Use header file instead of extern declarations for
the {get,set}_arm_regname* functions.

24 years agoAIX 4.3 core dump changes.
Kevin Buettner [Thu, 17 Feb 2000 09:01:28 +0000 (09:01 +0000)]
AIX 4.3 core dump changes.

24 years agobfd:
Joern Rennecke [Thu, 17 Feb 2000 00:33:36 +0000 (00:33 +0000)]
bfd:
Reinstate bits of sh4 support that got accidentally deleted.
Add sh-dsp support.

bfd:

* archures.c (bfd_mach_sh2, bfd_mach_sh_dsp): New macros.
(bfd_mach_sh3_dsp): Likewise.
(bfd_mach_sh4): Reinstate.
(bfd_default_scan): Recognize 7410, 7708, 7729 and 7750.
* bfd-in2.h: Regenerate.
* coff-sh.c (struct sh_opcode): flags is no longer short.
(USESAS, USESAS_REG, USESR8, SETSAS, SETSAS_REG): New macros.
(sh_opcode41, sh_opcode42): Integrate as sh_opcode41.
(sh_opcode01, sh_opcode02, sh_opcode40): Add sh-dsp opcodes.
(sh_opcode41, sh_opcode4, sh_opcode80): Likewise.
(sh_opcodes): No longer const.
(sh_dsp_opcodef0, sh_dsp_opcodef): New arrays.
(sh_insn_uses_reg): Check for USESAS and USESR8.
(sh_insn_sets_reg, sh_insns_conflict): Check for SETSAS.
(_bfd_sh_align_load_span): Return early for SH4.
Modify sh_opcodes lookup table for sh-dsp / sh3-dsp.
Take into account that field b of a parallel processing insn
could be mistaken for a separate insn.
* cpu-sh.c (arch_info_struct): New array elements for
sh2, sh-dsp and sh3-dsp.
Reinstate element for sh4.
(SH2_NEXT, SH_DSP_NEXT, SH3_DSP_NEXT): New macros.
(SH4_NEXT): Reinstate.
(SH3_NEXT, SH3E_NEXT): Adjust.
* elf-bfd.h (_sh_elf_set_mach_from_flags): Declare.
* elf32-sh.c (sh_elf_set_private_flags): New function.
(sh_elf_copy_private_data, sh_elf_set_mach_from_flags): Likewise.
(sh_elf_merge_private_data): New function.
(elf_backend_object_p, bfd_elf32_bfd_set_private_bfd_flags): Define.
(bfd_elf32_bfd_copy_private_bfd_data): Define.
(bfd_elf32_bfd_merge_private_bfd_data): Change to
sh_elf_merge_private_data.

gas:

* config/tc-sh.c ("elf/sh.h"): Include.
(sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
(md.begin): Initialize target_arch.
Only include opcodes in has table that match selected architecture.
(parse_reg): Recognize register names for sh-dsp.
(parse_at): Recognize post-modify addressing.
(get_operands): The leading space is now optional.
(get_specific): Remove FDREG_N support.  Add support for sh-dsp
arguments.  Update valid_arch.
(build_Mytes): Add support for SDT_REG_N.
(find_cooked_opcode): New function, broken out of md_assemble.
(assemble_ppi, sh_elf_final_processing): New functions.
(md_assemble): Use find_cooked_opcode and assemble_ppi.
(md_longopts, md_parse_option): New option: -dsp.
* config/tc-sh.h (elf_tc_final_processing): Define.
(sh_elf_final_processing): Declare.

include/elf:

* sh.h: (EF_SH_MACH_MASK, EF_SH_UNKNOWN, EF_SH1, EF_SH2): New macros.
(EF_SH3, EF_SH_HAS_DSP, EF_SH_DSP, EF_SH3_DSP): Likewise.
(EF_SH_HAS_FP, EF_SH3E, EF_SH4, EF_SH_MERGE_MACH): Likewise.

opcodes:

* sh-dis.c (print_movxy, print_insn_ddt, print_dsp_reg): New functions.
(print_insn_ppi): Likewise.
(print_insn_shx): Use info->mach to select appropriate insn set.
Add support for sh-dsp.  Remove FD_REG_N support.
* sh-opc.h (sh_nibble_type): Add new values for sh-dsp support.
(sh_arg_type): Likewise.  Remove FD_REG_N.
(sh_dsp_reg_nums): New enum.
(arch_sh1, arch_sh2, arch_sh3, arch_sh3e, arch_sh4): New macros.
(arch_sh_dsp, arch_sh3_dsp, arch_sh1_up, arch_sh2_up): Likewise.
(arch_sh3_up, arch_sh3e_up, arch_sh4_up, arch_sh_dsp_up): Likewise.
(arch_sh3_dsp_up): Likewise.
(sh_opcode_info): New field: arch.
(sh_table): Split up insn with FD_REG_N into ones with F_REG_N and
D_REG_N.  Fill in arch field.  Add sh-dsp insns.

24 years ago2000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Wed, 16 Feb 2000 23:35:19 +0000 (23:35 +0000)]
2000-02-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>

* configure.in: Replaces obsolete gdbtk-variable.c with
gdbtk-varobj.c.
* configure: Regenerate.
* Makefile.in: Remove obsolete/extraneous references to
gdbtk-var* files.

24 years ago2000-02-16 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Wed, 16 Feb 2000 22:26:12 +0000 (22:26 +0000)]
2000-02-16  Mark Kettenis  <kettenis@gnu.org>

* target.c (do_target_signal_to_host): Do not use REALTIME_LO in
the conversion of the signal number.  TARGET_SIGNAL_REALTIME_33 is
33 by definition, whereas REALTIME_LO might be 32 on systems that
have SIG32 such as Linux.  Make sure that the signal number
returned is within the range specified by REALTIME_LO and
REALTIME_HI.

24 years ago2000-02-16 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Wed, 16 Feb 2000 22:21:18 +0000 (22:21 +0000)]
2000-02-16  Mark Kettenis  <kettenis@gnu.org>

* configure: Regenerated.

24 years ago2000-02-16 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Wed, 16 Feb 2000 22:01:29 +0000 (22:01 +0000)]
2000-02-16  Mark Kettenis  <kettenis@gnu.org>

* configure: Regenerated.

24 years ago2000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Wed, 16 Feb 2000 20:17:50 +0000 (20:17 +0000)]
2000-02-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>

* arm-tdep.c (set_disassembly_flavor, arm_othernames,
_initialize_arm_tdep): Allows the user to choose between any of
the flavors available for the disassembly to be used in the "info
reg" command and elsewhere in gdb.  It prevents having to maintain
this information in two places by using the data kept in the
opcodes directory.

24 years ago * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
Richard Henderson [Wed, 16 Feb 2000 19:07:43 +0000 (19:07 +0000)]
    * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.

24 years agoAdd LMA memory region functionality.
Timothy Wall [Wed, 16 Feb 2000 18:53:32 +0000 (18:53 +0000)]
Add LMA memory region functionality.

24 years agoAdd prototypes for ARM register name functions.
Nick Clifton [Wed, 16 Feb 2000 18:20:10 +0000 (18:20 +0000)]
Add prototypes for ARM register name functions.

24 years ago2000-02-09 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Wed, 16 Feb 2000 13:45:24 +0000 (13:45 +0000)]
2000-02-09  Mark Kettenis  <kettenis@gnu.org>

* configure.in: Check for lwpid_t, psaddr_t, prgregset_t and
prfpregset_t in <sys/procfs.h>.
* config.in: Add HAVE_LWPID_T, HAVE_PSADDR_T, HAVE_PRGREGSET_T,
HAVE_PRFPREGSET_T.
* gdb_proc_service.h: Only provide typedefs for lwpid_t, psaddr_t,
prgregset_t and prfpregset_t if they are not already present.

24 years agoFrom Rodney Brown: Define MERGEPID when needed.
Andrew Cagney [Wed, 16 Feb 2000 08:02:57 +0000 (08:02 +0000)]
From Rodney Brown: Define MERGEPID when needed.

24 years ago2000-02-15 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Wed, 16 Feb 2000 04:45:41 +0000 (04:45 +0000)]
2000-02-15  Jason Molenda  (jsm@bugshack.cygnus.com)

        * Makefile.in (diststuff): Run 'diststuff' in doc/ subdir, not
        'do-doc'.

24 years ago2000-02-15 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Wed, 16 Feb 2000 04:44:55 +0000 (04:44 +0000)]
2000-02-15  Jason Molenda  (jsm@bugshack.cygnus.com)

        * Makefile.in (diststuff): New target.

24 years agoNote author of previous change.
Kevin Buettner [Wed, 16 Feb 2000 04:40:21 +0000 (04:40 +0000)]
Note author of previous change.

24 years agoFix wording regarding Intel's IA-64 architecture.
Kevin Buettner [Wed, 16 Feb 2000 04:11:25 +0000 (04:11 +0000)]
Fix wording regarding Intel's IA-64 architecture.

24 years ago* gdb.base/break.exp ("breakpoint line number"): Make sure the
Jim Blandy [Wed, 16 Feb 2000 00:11:07 +0000 (00:11 +0000)]
* gdb.base/break.exp ("breakpoint line number"): Make sure the
default source file is set properly before running this test.

24 years agoAIX 4.3 changes.
Kevin Buettner [Tue, 15 Feb 2000 21:17:04 +0000 (21:17 +0000)]
AIX 4.3 changes.

24 years ago * elfread.c (elf_symtab_read): Revert changes by Amit S. Kale. A
Jim Kingdon [Tue, 15 Feb 2000 04:48:23 +0000 (04:48 +0000)]
* elfread.c (elf_symtab_read): Revert changes by Amit S. Kale.  A
sym->section->index number is not a SECT_OFF_* code.

24 years agoAdd H.J. Lu to check-in after approval list.
Andrew Cagney [Tue, 15 Feb 2000 01:23:15 +0000 (01:23 +0000)]
Add H.J. Lu to check-in after approval list.

24 years agoFix fclose() emulation
Nick Clifton [Mon, 14 Feb 2000 19:49:48 +0000 (19:49 +0000)]
Fix fclose() emulation

24 years agoAdd ChangeLog entry which had been omitted in checkin of Mark Kettenis
Jim Kingdon [Mon, 14 Feb 2000 19:17:52 +0000 (19:17 +0000)]
Add ChangeLog entry which had been omitted in checkin of Mark Kettenis
changes last week.

24 years ago2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 14 Feb 2000 19:12:30 +0000 (19:12 +0000)]
2000-02-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* lib/gdb.exp: Tell the testsuite that now gdbtk is in the
  gdbtk/library directory, not in gdbtcl2.

24 years ago2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Mon, 14 Feb 2000 19:05:55 +0000 (19:05 +0000)]
2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>

* binutils.texi: Document the change of flavor name from atpcs-special
to special-atpcs to prevent name conflict in gdb.

24 years ago2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Mon, 14 Feb 2000 19:02:47 +0000 (19:02 +0000)]
2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>

* arm-dis.c: Change flavor name from atpcs-special to
special-atpcs to prevent name conflict in gdb.
(get_arm_regname_num_options, set_arm_regname_option,
get_arm_regnames): New functions.  API to access the several
flavor of register names.  Note: Used by gdb.
(print_insn_thumb): Use the register name entry from the currently
selected flavor for LR and PC.

24 years agoRemove extraneous code.
Nick Clifton [Mon, 14 Feb 2000 18:43:48 +0000 (18:43 +0000)]
Remove extraneous code.

24 years ago2000-02-14 Amit S. Kale <akale@veritas.com>
Jim Kingdon [Mon, 14 Feb 2000 15:27:28 +0000 (15:27 +0000)]
2000-02-14  Amit S. Kale  <akale@veritas.com>

* elfread.c (elf_symtab_read): Move the use of sym to after where
it is set.
Checked in by Jim Kingdon  <kingdon@redhat.com>

24 years agoNick Duffek is the UnixWare threads maintainer.
Andrew Cagney [Mon, 14 Feb 2000 04:42:15 +0000 (04:42 +0000)]
Nick Duffek is the UnixWare threads maintainer.

24 years agoFrom Jason Merrill: (die_is_declaration): New fn..
Andrew Cagney [Mon, 14 Feb 2000 04:37:06 +0000 (04:37 +0000)]
From Jason Merrill: (die_is_declaration): New fn..

24 years ago * elf-bfd.h (struct elf_link_hash_table): Add copy_indirect and
Richard Henderson [Sun, 13 Feb 2000 23:11:32 +0000 (23:11 +0000)]
    * elf-bfd.h (struct elf_link_hash_table): Add copy_indirect and
        hide_symbol members.
        (elf_link_hash_copy_indirect): New.
        (elf_link_hash_hide_symbol): New.
        * elflink.h (elf_link_add_object_symbols): Break out copy from
        indirect new new symbol to elf.c.
        (elf_link_assign_sym_version): Break out privatization of
        non-exported symbol to elf.c.
        * elf.c (_bfd_elf_link_hash_copy_indirect): New.
        (_bfd_elf_link_hash_hide_symbol): New.
        (_bfd_elf_link_hash_table_init): Init copy_indirect and hide_symbol.

24 years ago * section.c (_bfd_strip_section_from_output): Add info parameter.
Ian Lance Taylor [Sun, 13 Feb 2000 22:45:29 +0000 (22:45 +0000)]
* section.c (_bfd_strip_section_from_output): Add info parameter.
If it passed as non-NULL, use it to check whether any input BFD
has an input section which uses this output section.  Change all
callers.
* bfd-in2.h: Rebuild.

* bfd-in.h: Move declarations of bfd_get_elf_phdr_upper_bound and
bfd_get_elf_phdrs in from bfd-in2.h, correcting patch of
1999-11-29.
* bfd-in2.h: Rebuild.

24 years agorebuild
Ian Lance Taylor [Sun, 13 Feb 2000 22:40:13 +0000 (22:40 +0000)]
rebuild

24 years agoCorrect missing ChangeLog entry.
Jim Kingdon [Sun, 13 Feb 2000 01:19:33 +0000 (01:19 +0000)]
Correct missing ChangeLog entry.

24 years ago2000-02-10 J.T. Conklin <jtc@redback.com>
Jim Kingdon [Sun, 13 Feb 2000 01:06:58 +0000 (01:06 +0000)]
2000-02-10  J.T. Conklin  <jtc@redback.com>

* config/i386/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o
* configure.tgt (i[3456]86-*-netbsd*): add gdbserver to
  configdirs.
* gdbserver/low-nbsd.c: New file.

* gdbserver/Makefile.in: convert to autoconf.
* gdbserver/configure.in: likewise.
* gdbserver/configure: generate.

24 years agoExplain how to contribute to GDB.
Andrew Cagney [Sun, 13 Feb 2000 00:22:01 +0000 (00:22 +0000)]
Explain how to contribute to GDB.

24 years agoMaintenance - update djgpp, powerpc maintainers. Add some check-in
Andrew Cagney [Sat, 12 Feb 2000 23:55:14 +0000 (23:55 +0000)]
Maintenance - update djgpp, powerpc maintainers.  Add some check-in
after approval maintainers.

24 years agoReformat only.
Andrew Cagney [Sat, 12 Feb 2000 23:19:53 +0000 (23:19 +0000)]
Reformat only.

24 years ago * uw-thread.c: Remove __FUNCTION__ GNUism.
Nicholas Duffek [Sat, 12 Feb 2000 06:08:10 +0000 (06:08 +0000)]
* uw-thread.c: Remove __FUNCTION__ GNUism.

24 years ago2000-02-11 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Sat, 12 Feb 2000 04:28:52 +0000 (04:28 +0000)]
2000-02-11  Jason Molenda  (jsm@bugshack.cygnus.com)

* ChangeLog:  Tiny whitespace removal to test modification to
logger scripts.

24 years ago * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
Jeff Law [Fri, 11 Feb 2000 21:27:41 +0000 (21:27 +0000)]
    * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
        the unwinder subspace.  Save the current seg/subseg before creating
        the new seg/subseg.

24 years ago2000-01-17 Amit S. Kale <akale@veritas.com>
Jim Kingdon [Fri, 11 Feb 2000 19:37:06 +0000 (19:37 +0000)]
2000-01-17  Amit S. Kale  <akale@veritas.com>

* elfread.c (elf_symtab_read): Use offset for the section in which a
symbol resides, instead of .text section for calculating address of a
symbol.
Checked in by Jim Kingdon  <kingdon@redhat.com>

24 years ago2000-02-09 Mark Kettenis <kettenis@gnu.org>
Jim Kingdon [Fri, 11 Feb 2000 06:34:58 +0000 (06:34 +0000)]
2000-02-09  Mark Kettenis  <kettenis@gnu.org>

* gnu-nat.c (proc_string): Make global.
(do_mach_notify_dead_name): Suppress dead name notifications if we
know that the task is dead.

1999-12-13  Mark Kettenis  <kettenis@gnu.org>

* gnu-nat.c (inf_validate_task_sc): Get task info via proc server
instead of directly from the kernel.  Add some hackery to make
sure that the info isn't influenced by suspension of the task in
the proc server itself.

24 years agoAdd support for M340 processor
Nick Clifton [Thu, 10 Feb 2000 21:59:03 +0000 (21:59 +0000)]
Add support for M340 processor

24 years agoAdd support for M340 part.
Nick Clifton [Thu, 10 Feb 2000 21:41:11 +0000 (21:41 +0000)]
Add support for M340 part.

24 years agoAdd support for M340
Nick Clifton [Thu, 10 Feb 2000 21:31:13 +0000 (21:31 +0000)]
Add support for M340

24 years agoAdd hooks to support TI COFF handling.
Timothy Wall [Thu, 10 Feb 2000 21:21:55 +0000 (21:21 +0000)]
Add hooks to support TI COFF handling.

24 years agoCheck label validity with TC_START_LABEL_WITHOUT_COLON if defined.
Timothy Wall [Thu, 10 Feb 2000 21:03:12 +0000 (21:03 +0000)]
Check label validity with TC_START_LABEL_WITHOUT_COLON if defined.

24 years agoNew preprocessor options.
Timothy Wall [Thu, 10 Feb 2000 21:00:10 +0000 (21:00 +0000)]
New preprocessor options.

24 years agoFix problem where -relax could reorder multiple consecutive sets of the
Joern Rennecke [Thu, 10 Feb 2000 20:17:33 +0000 (20:17 +0000)]
Fix problem where -relax could reorder multiple consecutive sets of the
same register:
* coff-sh.c (USES1_REG, USES2_REG, SETS1_REG, SETS2_REG,
USESF1_REG, USESF2_REG, SETSF1_REG, SETSF2_REG): New macros.
* (sh_insn_sets_reg, sh_insn_sets_freg): New prototypes.
* (sh_insn_sets_reg, sh_insn_uses_or_sets_reg, sh_insns_sets_freg,
sh_insns_uses_or_sets_freg): New functions.
* (sh_insn_uses_reg, sh_insn_uses_freg): Use new macros.
* (sh_insns_conflict): Use new functions and new macros to
detect conflicts when two instructions both set same integer registers,
both set same fp register, and both set special register.

24 years ago * defs.h (MERGEPID): Added. Patch submitted by Andrew Hobson and
Jim Kingdon [Thu, 10 Feb 2000 20:06:32 +0000 (20:06 +0000)]
* defs.h (MERGEPID): Added.  Patch submitted by Andrew Hobson and
approved by Michael Snyder.

24 years agoFrom Mark Kettenis: Re-order #includes. defs.h is always first.
Andrew Cagney [Thu, 10 Feb 2000 04:53:26 +0000 (04:53 +0000)]
From Mark Kettenis: Re-order #includes.  defs.h is always first.

24 years agowait.h was replaced by gdb/gdb_wait.h.
Andrew Cagney [Thu, 10 Feb 2000 04:37:34 +0000 (04:37 +0000)]
wait.h was replaced by gdb/gdb_wait.h.

24 years agoThese snippets were missed in the previous bytes vs octets patch to
Timothy Wall [Wed, 9 Feb 2000 14:42:48 +0000 (14:42 +0000)]
These snippets were missed in the previous bytes vs octets patch to
the linker.

24 years agoSet arch/mach info prior to swapping in sections, so that the swapping
Timothy Wall [Wed, 9 Feb 2000 13:41:44 +0000 (13:41 +0000)]
Set arch/mach info prior to swapping in sections, so that the swapping
routines have access to the arch/mach info.

24 years agoUpdate nindy files - #include "gdb_wait.h" instead of "wait.h".
Andrew Cagney [Wed, 9 Feb 2000 09:04:27 +0000 (09:04 +0000)]
Update nindy files - #include "gdb_wait.h" instead of "wait.h".

24 years agoReplace ../include/wait.h with gdb_wait.h.
Andrew Cagney [Wed, 9 Feb 2000 08:52:47 +0000 (08:52 +0000)]
Replace ../include/wait.h with gdb_wait.h.

24 years ago(sim_resume): Clarify use of SIGGNAL.
Andrew Cagney [Wed, 9 Feb 2000 07:44:03 +0000 (07:44 +0000)]
(sim_resume): Clarify use of SIGGNAL.
(sim_stop_reason): Clarify meaning of sim_signalled.

24 years agoReport SIGBUS and halt simulation when ld/st detect a misaligned address.
Andrew Cagney [Wed, 9 Feb 2000 05:08:42 +0000 (05:08 +0000)]
Report SIGBUS and halt simulation when ld/st detect a misaligned address.

24 years agoStop GDB mis-aligning the stack when doing inferior function calls.
Andrew Cagney [Wed, 9 Feb 2000 04:46:47 +0000 (04:46 +0000)]
Stop GDB mis-aligning the stack when doing inferior function calls.