platform/upstream/binutils.git
24 years agoAdd IBM 370 support.
Alan Modra [Wed, 23 Feb 2000 13:52:23 +0000 (13:52 +0000)]
Add IBM 370 support.

24 years agoFix copyright - Cygnus is a Red Hat company.
Andrew Cagney [Wed, 23 Feb 2000 06:19:22 +0000 (06:19 +0000)]
Fix copyright - Cygnus is a Red Hat company.

24 years agoRevert.
Andrew Cagney [Wed, 23 Feb 2000 02:47:21 +0000 (02:47 +0000)]
Revert.

24 years agoRe-sync with ../include/dis-asm.h - LEN param changed to unsigned int.
Andrew Cagney [Wed, 23 Feb 2000 02:42:40 +0000 (02:42 +0000)]
Re-sync with ../include/dis-asm.h - LEN param changed to unsigned int.

24 years agoAdd support for sh-pe and arm-wince-pe targets.
Nick Clifton [Wed, 23 Feb 2000 01:26:59 +0000 (01:26 +0000)]
Add support for sh-pe and arm-wince-pe targets.

24 years agoAdd mi/ and testsuite/gdb.mi/ subdirectories.
Andrew Cagney [Wed, 23 Feb 2000 00:25:43 +0000 (00:25 +0000)]
Add mi/ and testsuite/gdb.mi/ subdirectories.
Add --enable-gdbmi option to configury.
Add mi rules to Makefile.in
Add mi conditional output to event-top.c infrun.c main.c top.c.
Add -i=mi option.

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

24 years ago * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
Chandra Chavva [Tue, 22 Feb 2000 20:54:18 +0000 (20:54 +0000)]
    * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
        determine if an instruction can be used in parallel with an ADDppp
        or SUBppp instruction.

24 years ago * opcode/d30v.h (FLAG_NOT_WITH_ADDSUBppp): Redefined as operation cannot
Chandra Chavva [Tue, 22 Feb 2000 20:52:14 +0000 (20:52 +0000)]
    * opcode/d30v.h (FLAG_NOT_WITH_ADDSUBppp): Redefined as operation cannot
        be combined in parallel with ADD/SUBppp.

24 years ago * d30v-opc.c (d30v_opcode_tab) : Added FLAG_NOT_WITH_ADDSUBppp to
Chandra Chavva [Tue, 22 Feb 2000 20:44:14 +0000 (20:44 +0000)]
    * d30v-opc.c (d30v_opcode_tab) : Added FLAG_NOT_WITH_ADDSUBppp to
        ST2H, STB, STH, STHH, STW and ST2H opcodes to prohibit parallel
        procedure.

24 years agoUpdated comment.
Nick Clifton [Tue, 22 Feb 2000 19:59:40 +0000 (19:59 +0000)]
Updated comment.

24 years agoRemove use of ELF_ST_OTHER.
Nick Clifton [Tue, 22 Feb 2000 19:56:41 +0000 (19:56 +0000)]
Remove use of ELF_ST_OTHER.

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

24 years ago* gdbint.texinfo: Document COERCE_FLOAT_TO_DOUBLE --- the new form.
Jim Blandy [Tue, 22 Feb 2000 19:22:25 +0000 (19:22 +0000)]
* gdbint.texinfo: Document COERCE_FLOAT_TO_DOUBLE --- the new form.

24 years ago* gdbarch.sh: Make the `default' field really default to zero, as
Jim Blandy [Tue, 22 Feb 2000 19:19:12 +0000 (19:19 +0000)]
* gdbarch.sh: Make the `default' field really default to zero, as
documented.

Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
* valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be
more function-like.
(default_coerce_float_to_double, standard_coerce_float_to_double):
New functions.
(value_arg_coerce): Adjust for new definition.
* value.h (default_coerce_float_to_double,
standard_coerce_float_to_double): New declarations for the above.
* gdbarch.sh (coerce_float_to_double): New entry, replacing macro.
* gdbarch.c, gdbarch.h: Regenerated.
* tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h,
tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
definitions.
* mips-tdep.c (mips_coerce_float_to_double): Supply our own custom
function here.
(mips_gdbarch_init): Install that as our coerce_float_to_double
function.

24 years agoBring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
Jim Blandy [Tue, 22 Feb 2000 19:18:53 +0000 (19:18 +0000)]
Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
* valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be
more function-like.
(default_coerce_float_to_double, standard_coerce_float_to_double):
New functions.
(value_arg_coerce): Adjust for new definition.
* value.h (default_coerce_float_to_double,
standard_coerce_float_to_double): New declarations for the above.
* gdbarch.sh (coerce_float_to_double): New entry, replacing macro.
* gdbarch.c, gdbarch.h: Regenerated.
* tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h,
tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
definitions.
* mips-tdep.c (mips_coerce_float_to_double): Supply our own custom
function here.
(mips_gdbarch_init): Install that as our coerce_float_to_double
function.

24 years agog2000-02-22 Andrew Haley <aph@cygnus.com>
Andrew Haley [Tue, 22 Feb 2000 19:01:25 +0000 (19:01 +0000)]
g2000-02-22  Andrew Haley  <aph@cygnus.com>

* mips.h: (OPCODE_IS_MEMBER): Add comment.

24 years ago2000-02-22 Andrew Haley <aph@cygnus.com>
Andrew Haley [Tue, 22 Feb 2000 18:55:30 +0000 (18:55 +0000)]
2000-02-22  Andrew Haley  <aph@cygnus.com>

        * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.

24 years agoCleanups and signal handler backtrace fix for GNU/Linux PPC port.
Kevin Buettner [Tue, 22 Feb 2000 18:47:41 +0000 (18:47 +0000)]
Cleanups and signal handler backtrace fix for GNU/Linux PPC port.

24 years agoChangeLog change only.
Andrew Haley [Tue, 22 Feb 2000 16:59:39 +0000 (16:59 +0000)]
ChangeLog change only.

24 years agomerge with include from egcs 2000-02-22
Ian Lance Taylor [Tue, 22 Feb 2000 16:40:36 +0000 (16:40 +0000)]
merge with include from egcs 2000-02-22

24 years agoThis commit was generated by cvs2svn to track changes on a CVS vendor
Ian Lance Taylor [Tue, 22 Feb 2000 16:18:13 +0000 (16:18 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.

24 years agoimport libiberty from egcs
Ian Lance Taylor [Tue, 22 Feb 2000 16:18:13 +0000 (16:18 +0000)]
import libiberty from egcs

24 years agomerge with libiberty from egcs 2000-02-22
Ian Lance Taylor [Tue, 22 Feb 2000 16:14:35 +0000 (16:14 +0000)]
merge with libiberty from egcs 2000-02-22

24 years agoimport libiberty from egcs
Ian Lance Taylor [Tue, 22 Feb 2000 15:59:20 +0000 (15:59 +0000)]
import libiberty from egcs

24 years agoThis commit was generated by cvs2svn to track changes on a CVS vendor
Ian Lance Taylor [Tue, 22 Feb 2000 15:59:20 +0000 (15:59 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.

24 years ago1999-12-30 Andrew Haley <aph@cygnus.com>
Andrew Haley [Tue, 22 Feb 2000 14:43:54 +0000 (14:43 +0000)]
1999-12-30  Andrew Haley  <aph@cygnus.com>

* config/tc-mips.c (mips_gp32): New variable.
(macro_build) Use mips_gp32.
(mips_ip): Ditto.
(md_longopts): Add "-mgp32" and "-mgp64".
(md_parse_option): Add OPTION_GP32 and OPTION_GP64.

24 years ago1999-12-30 Andrew Haley <aph@cygnus.com>
Andrew Haley [Tue, 22 Feb 2000 14:41:46 +0000 (14:41 +0000)]
1999-12-30  Andrew Haley  <aph@cygnus.com>

* mips-dis.c (_print_insn_mips): New arg for OPCODE_IS_MEMBER:
force gp32 to zero.
* mips-opc.c (G6): New define.
(mips_builtin_op): Add "move" definition for -gp32.

24 years ago1999-12-30 Andrew Haley <aph@cygnus.com>
Andrew Haley [Tue, 22 Feb 2000 14:39:20 +0000 (14:39 +0000)]
1999-12-30  Andrew Haley  <aph@cygnus.com>

* mips.h (OPCODE_IS_MEMBER): Add gp32 arg.

24 years agoWhen SIM_HAVE_ENVIRONMENT: use sim_set_trace() to enable tracing
Andrew Cagney [Tue, 22 Feb 2000 08:52:21 +0000 (08:52 +0000)]
When SIM_HAVE_ENVIRONMENT: use sim_set_trace() to enable tracing
instead of sim_trace() to run the program; include support for ``-o''
option (operating environment); when a signal occurs, only continue
execution when operating environment mode.
Update d10v.

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

* elflink.h (elf_link_add_object_symbols): If a version symbol is
not defined, don't add a second ELF_VER_CHR.

24 years ago2000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Ian Lance Taylor [Tue, 22 Feb 2000 07:50:13 +0000 (07:50 +0000)]
2000-02-22  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>

* config/obj-coff.c (add_lineno): Accept non-positive lineno with
warning, and bump it to 1.

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>