platform/upstream/binutils.git
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.

24 years agoFrom JTC: Reduce default remote_timeout to two. Flush defunct code.
Andrew Cagney [Wed, 9 Feb 2000 03:28:18 +0000 (03:28 +0000)]
From JTC: Reduce default remote_timeout to two.  Flush defunct code.

24 years agoFrom JTC: m32r-stub.c, sparcl-stub.c, sparclet-stub.c
Andrew Cagney [Wed, 9 Feb 2000 03:06:33 +0000 (03:06 +0000)]
From JTC: m32r-stub.c, sparcl-stub.c, sparclet-stub.c
(handle_exception): Return E01 instead of P01 when 'P' command fails.

24 years agoFrom JTC: Handle NAK from target stub.
Andrew Cagney [Wed, 9 Feb 2000 02:51:55 +0000 (02:51 +0000)]
From JTC: Handle NAK from target stub.

24 years ago2000-02-08 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Wed, 9 Feb 2000 00:07:53 +0000 (00:07 +0000)]
2000-02-08  Jason Molenda  (jsm@bugshack.cygnus.com)

* sim/ChangeLog:  Dummy whitespace change to kick off a test
cvs commit message.

24 years agoapply patch from MArk Elbrecht tpo update comment and copyright
Nick Clifton [Tue, 8 Feb 2000 21:10:28 +0000 (21:10 +0000)]
apply patch from MArk Elbrecht tpo update comment and copyright

24 years agoFix compile time warning messages.
Nick Clifton [Tue, 8 Feb 2000 20:54:27 +0000 (20:54 +0000)]
Fix compile time warning messages.

24 years agoNUMBERS_WITH_SUFFIX *doesn't* want to handle 'x', since that is valid
Timothy Wall [Tue, 8 Feb 2000 19:41:03 +0000 (19:41 +0000)]
NUMBERS_WITH_SUFFIX *doesn't* want to handle 'x', since that is valid
when the 0x prefix is used.

24 years agoRemove redundant code for checking numbers with suffixes. Add
Timothy Wall [Tue, 8 Feb 2000 19:06:00 +0000 (19:06 +0000)]
Remove redundant code for checking numbers with suffixes.  Add
functionality to break out of assembler loops.

24 years agoFix bug in interlisting option, added --file-start-context option.
Timothy Wall [Tue, 8 Feb 2000 18:38:13 +0000 (18:38 +0000)]
Fix bug in interlisting option, added --file-start-context option.

24 years ago2000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Tue, 8 Feb 2000 16:25:08 +0000 (16:25 +0000)]
2000-02-08  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* configure.in: Remove the addition of sol-thread.c to the
CONFIG_INITS list. This caused problems with init.c, because
sol-thread.c would be grepped twice for _initialize_* functions.
* configure: Ditto.
* Makefile.in: Add FIXME for init.c.

24 years agoAdd handling for numbers with suffixed radix.
Timothy Wall [Tue, 8 Feb 2000 14:21:53 +0000 (14:21 +0000)]
Add handling for numbers with suffixed radix.

24 years agochangelog for elseif addition
Timothy Wall [Tue, 8 Feb 2000 14:20:57 +0000 (14:20 +0000)]
changelog for elseif addition

24 years agoNew elseif directive has been added.
Timothy Wall [Tue, 8 Feb 2000 14:13:57 +0000 (14:13 +0000)]
New elseif directive has been added.

24 years agoReinstate the following lost patches:
Jeff Law [Tue, 8 Feb 2000 06:39:54 +0000 (06:39 +0000)]
Reinstate the following lost patches:
Wed Dec 15 11:22:56 1999  Jeffrey A Law  (law@cygnus.com)

        * hp-symtab.h (HP_LANGUAGE_FORTRAN): New enumeration constant.
        (HP_LANGUAGE_F77): Define using HP_LANGUAGE_FORTRAN.

1999-11-04      Jimmy Guo       <guo@cup.hp.com>

        * hp-symtab.h (dntt_type_fparam): Add doc_ranges, misc_kind
        fields, change location type to CORE_ADDR from int.
        (dntt_type_const): Name the 5th field location_type.

24 years ago Clean up compiler warnings:
Jim Kingdon [Tue, 8 Feb 2000 04:39:02 +0000 (04:39 +0000)]
Clean up compiler warnings:
* bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c,
stack.c, valprint.c: Change variables to unsigned.
* bcache.c: Rearrange to avoid warnings about variables not being set.
* c-lang.c, ch-lang.c, f-lang.c, m2-lang.c: Include valprint.h
rather than declaring print_max and repeat_count_threashold
ourselves (incorrectly).
* valprint.h: Do declare repeat_count_threashold.
* ch-exp.c: Use default case for internal error.
* findvar.c: Don't omit argument type.
* symtab.c: Remove unused variable.

24 years ago2000-02-07 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Tue, 8 Feb 2000 03:37:34 +0000 (03:37 +0000)]
2000-02-07  Jason Molenda  (jsm@bugshack.cygnus.com)

* gdb/config/i386/windows.mh,
 gdb/doc/GDBvn.texi, gdb/doc/remote.texi,
 gdb/testsuite/gdb.base/README, gdb/testsuite/gdb.base/crossload.exp,
 gdb/testsuite/gdb.base/i486-elf.u, gdb/testsuite/gdb.base/i860-elf.u,
 gdb/testsuite/gdb.base/m68k-aout.u,
 gdb/testsuite/gdb.base/m68k-aout2.u,
 gdb/testsuite/gdb.base/m68k-elf.u, gdb/testsuite/gdb.base/mips-ecoff.u,
 gdb/testsuite/gdb.base/sparc-aout.u,
 gdb/testsuite/gdb.base/sparc-elf.u,
 gdb/tui/Makefile,
 readline/ChangeLog: These files have been removed over the course
 of the last year, but weren't cvs removed from the old GDB repository
 on sourceware.

24 years ago2000-02-07 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Mon, 7 Feb 2000 18:58:38 +0000 (18:58 +0000)]
2000-02-07  Jason Molenda  (jsm@bugshack.cygnus.com)

* ChangeLog:  Whitespace change to check cvs logging mechanism.

24 years agoRename parse_disassembler_option (again)
Nick Clifton [Mon, 7 Feb 2000 18:27:19 +0000 (18:27 +0000)]
Rename parse_disassembler_option (again)

24 years ago2000-02-06 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Mon, 7 Feb 2000 05:10:47 +0000 (05:10 +0000)]
2000-02-06  Jason Molenda  (jsm@bugshack.cygnus.com)

* ChangeLog:  Another whitespace tweak test.

24 years ago2000-02-06 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Mon, 7 Feb 2000 05:08:39 +0000 (05:08 +0000)]
2000-02-06  Jason Molenda  (jsm@bugshack.cygnus.com)

* ChangeLog: Whitespace change checkin to test new cvs logging
mechanism.

24 years ago2000-02-06 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Mon, 7 Feb 2000 02:22:31 +0000 (02:22 +0000)]
2000-02-06  Jason Molenda  (jsm@bugshack.cygnus.com)

* ChangeLog: Whitespace change to test logging.
* bfd/ChangeLog, dejagnu/ChangeLog, include/ChangeLog, tcl/ChangeLog: Same.

24 years ago2000-02-06 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Mon, 7 Feb 2000 02:14:29 +0000 (02:14 +0000)]
2000-02-06  Jason Molenda  (jsm@bugshack.cygnus.com)

* gdb/ChangeLog:  Whitespace change to test cvs logging.
* sim/ChangeLog:  Ditto, but in a separate dir.

24 years agoApply patches to support Insight by hand from insight-2000-02-04 snapshot.
Jason Molenda [Mon, 7 Feb 2000 00:34:34 +0000 (00:34 +0000)]
Apply patches to support Insight by hand from insight-2000-02-04 snapshot.

24 years agoimport insight-2000-02-04 snapshot (2nd try)
Jason Molenda [Mon, 7 Feb 2000 00:19:45 +0000 (00:19 +0000)]
import insight-2000-02-04 snapshot (2nd try)