external/binutils.git
23 years ago * elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count.
Jakub Jelinek [Fri, 9 Feb 2001 17:31:11 +0000 (17:31 +0000)]
* elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count.
(sparc64_elf_relocate_section): Likewise.

23 years agoDon't #ifdef inside printf in case printf is a macro.
Alan Modra [Fri, 9 Feb 2001 16:33:21 +0000 (16:33 +0000)]
Don't #ifdef inside printf in case printf is a macro.

23 years ago* elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32
Mark Kettenis [Fri, 9 Feb 2001 16:19:25 +0000 (16:19 +0000)]
* elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32
similar to R_SPARC_32.
* elf64-sparc.c (sparc64_elf_howto_table): Likewise.

23 years ago * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
Jakub Jelinek [Fri, 9 Feb 2001 15:55:14 +0000 (15:55 +0000)]
* configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
targ_extra_libpath.
(sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.

23 years ago2001-02-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 9 Feb 2001 06:58:59 +0000 (06:58 +0000)]
2001-02-08  H.J. Lu  <hjl@gnu.org>

* elf32-i386.c (elf_i386_check_relocs): Reserve R_386_PC32
relocation entries for weak definitions when building DSO with
-Bsymbolic.

23 years ago Updates to "make TAGS":
Jim Kingdon [Fri, 9 Feb 2001 01:47:34 +0000 (01:47 +0000)]
Updates to "make TAGS":
* Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
tahoe-tdep.c.
(TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).

23 years ago * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weakness
Richard Henderson [Fri, 9 Feb 2001 00:29:58 +0000 (00:29 +0000)]
    * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weakness
        before visibility.  Locally defined protected symbols are not
        dynamic.

23 years ago * config.bfd: Enable coff64 for rs6000-*. Patch from
Geoffrey Keating [Fri, 9 Feb 2001 00:11:24 +0000 (00:11 +0000)]
* config.bfd: Enable coff64 for rs6000-*.  Patch from
<hzoli@austin.ibm.com>.

23 years ago * ld-srec/srec.exp (run_srec_test): m6811 code has references
Stephane Carrez [Thu, 8 Feb 2001 18:57:47 +0000 (18:57 +0000)]
* ld-srec/srec.exp (run_srec_test): m6811 code has references
to soft registers, define them with --defsym.
* ld-selective/selective.exp: Likewise.

23 years ago * gas/mri/mri.exp: Don't execute the M68K specific tests
Stephane Carrez [Thu, 8 Feb 2001 18:55:29 +0000 (18:55 +0000)]
* gas/mri/mri.exp: Don't execute the M68K specific tests
on m6811-elf and m6812-elf targets, still run the generic MRI tests.

23 years ago * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
Eli Zaretskii [Thu, 8 Feb 2001 11:14:11 +0000 (11:14 +0000)]
* config/djgpp/fnchange.lst: Remove extraneous "too many dots".

23 years agoFrom Dean Luick <luick@cray.com>:
Andrew Cagney [Thu, 8 Feb 2001 06:49:19 +0000 (06:49 +0000)]
From Dean Luick <luick@cray.com>:
* defs.h (continuation): Remove unused global variable.

23 years agoRemove configurations marked as obsolete in 5.0.
Andrew Cagney [Thu, 8 Feb 2001 06:30:25 +0000 (06:30 +0000)]
Remove configurations marked as obsolete in 5.0.

23 years agoAdd __FILE__ and __LINE__ parameter to internal_error() /
Andrew Cagney [Thu, 8 Feb 2001 06:03:54 +0000 (06:03 +0000)]
Add __FILE__ and __LINE__ parameter to internal_error() /
internal_verror().

23 years ago * acinclude.m4 (AM_PROG_LEX): Override installed definition.
Hans-Peter Nilsson [Thu, 8 Feb 2001 06:01:31 +0000 (06:01 +0000)]
* acinclude.m4 (AM_PROG_LEX): Override installed definition.
* aclocal.m4: Regenerate.
* configure: Regenerate.

23 years ago2001-02-08 Ben Elliston <bje@redhat.com>
Chris Demetriou [Thu, 8 Feb 2001 05:22:04 +0000 (05:22 +0000)]
2001-02-08  Ben Elliston  <bje@redhat.com>

        * sim-main.c (load_memory): Pass cia to sim_core_read* functions.
        (store_memory): Likewise, pass cia to sim_core_write*.

23 years agoFrom Mark Kettenis, include <signal.h>.
Andrew Cagney [Thu, 8 Feb 2001 05:06:13 +0000 (05:06 +0000)]
From Mark Kettenis, include <signal.h>.

23 years ago(pa_build_unwind_subspace): Don't call
Alan Modra [Thu, 8 Feb 2001 00:15:36 +0000 (00:15 +0000)]
(pa_build_unwind_subspace): Don't call
md_number_to_chars with size > sizeof (valueT).

23 years agoIf stabs info is successfully found, do not attempt to find dwarf2 info
Nick Clifton [Wed, 7 Feb 2001 23:50:04 +0000 (23:50 +0000)]
If stabs info is successfully found, do not attempt to find dwarf2 info
before returning.

23 years agoignore common definitions of function symbols in unlinked archives
Nick Clifton [Wed, 7 Feb 2001 23:42:15 +0000 (23:42 +0000)]
ignore common definitions of function symbols in unlinked archives

23 years agoChange bfd_target_vector from an array to a pointer
Nick Clifton [Wed, 7 Feb 2001 23:16:22 +0000 (23:16 +0000)]
Change bfd_target_vector from an array to a pointer

23 years agoAdd -u option toi readelf to display unwind info.
Nick Clifton [Wed, 7 Feb 2001 19:41:03 +0000 (19:41 +0000)]
Add -u option toi readelf to display unwind info.
Add support to display unwind info for IA64 binaries.

23 years agoFix printf fmt of long in remote-sim.c.
Andrew Cagney [Wed, 7 Feb 2001 18:37:25 +0000 (18:37 +0000)]
Fix printf fmt of long in remote-sim.c.
mn10300-elf now buildable.

23 years ago* event-top.c: Remove duplicate #include <signal.h>.
Mark Kettenis [Wed, 7 Feb 2001 07:29:38 +0000 (07:29 +0000)]
* event-top.c: Remove duplicate #include <signal.h>.

23 years ago2001-02-06 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 7 Feb 2001 06:19:58 +0000 (06:19 +0000)]
2001-02-06  H.J. Lu  <hjl@gnu.org>

* elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and
internal symbols are not dynamic.
* elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.

23 years ago* sol-thread.c (restore_inferior_pid): Save the PID in a freshly
Andrew Cagney [Wed, 7 Feb 2001 03:44:24 +0000 (03:44 +0000)]
* sol-thread.c (restore_inferior_pid): Save the PID in a freshly
allocated buffer.
(save_inferior_pid): Restore the PID from that tempoary
buffer. Delete the buffer.
* utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.

23 years ago* MAINTAINERS: Add ``The Obvious Fix Rule''.
Andrew Cagney [Wed, 7 Feb 2001 03:11:44 +0000 (03:11 +0000)]
* MAINTAINERS: Add ``The Obvious Fix Rule''.

23 years agoAdd Michael Synder to Solaris/SPARC list.
Andrew Cagney [Wed, 7 Feb 2001 03:08:44 +0000 (03:08 +0000)]
Add Michael Synder to Solaris/SPARC list.

23 years agoAddd set_gdbarch_data() method. Update register_gdbarch_data() interface.
Andrew Cagney [Wed, 7 Feb 2001 02:17:48 +0000 (02:17 +0000)]
Addd set_gdbarch_data() method.  Update register_gdbarch_data() interface.

23 years agoRemove elf64-ia64.c from list of backend C files - it is auto-generated.
Nick Clifton [Wed, 7 Feb 2001 01:58:26 +0000 (01:58 +0000)]
Remove elf64-ia64.c from list of backend C files - it is auto-generated.

23 years ago* i960-desc.c: Update all the A macro definitions to the new
DJ Delorie [Wed, 7 Feb 2001 01:16:05 +0000 (01:16 +0000)]
* i960-desc.c: Update all the A macro definitions to the new
stdc-sensitive versions that cgen would have used.

23 years ago* configure: Output host type to stdout, not stderr.
DJ Delorie [Wed, 7 Feb 2001 01:06:43 +0000 (01:06 +0000)]
* configure: Output host type to stdout, not stderr.

23 years ago2001-02-06 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 7 Feb 2001 01:04:58 +0000 (01:04 +0000)]
2001-02-06  H.J. Lu  <hjl@gnu.org>

* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if
there is no relocation.

23 years ago * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
Michael Sokolov [Tue, 6 Feb 2001 21:39:46 +0000 (21:39 +0000)]
* ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
fprintf_filtered with correct arguments.

23 years ago2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
Michael Snyder [Tue, 6 Feb 2001 20:05:42 +0000 (20:05 +0000)]
2001-02-06  Michael Snyder  <msnyder@makita.cygnus.com>
Submitted by Paul Hilfinger (hilfingr@gnat.com)
and Andrei Petrov (and@genesyslab.com).
* findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
must be allocated dynamically, since these are no longer constants.
* infcmd.c: Ditto.
* regcache.c: Ditto.
* remote.c: Ditto.
* sol-thread.c: Ditto.
* valops.c: Ditto.
* config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
work-around for a missing Sun header file in solaris for sparc64.

23 years ago2001-02-04 Philip Blundell <philb@gnu.org>
Phil Blundell [Tue, 6 Feb 2001 19:59:06 +0000 (19:59 +0000)]
2001-02-04  Philip Blundell  <philb@gnu.org>

* config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
* config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
GET_THREAD_SIGNALS): Define.
* arm-linux-nat.c (fill_gregset): Correct type of argument.
(supply_gregset): Likewise.
(fill_fpregset): Likewise.
(supply_fpregset): Likewise.

23 years ago2001-02-06 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 6 Feb 2001 19:43:19 +0000 (19:43 +0000)]
2001-02-06  H.J. Lu  <hjl@gnu.org>

* bfd/peicode.h (coff_swap_filehdr_in): Remove the e_magic
checking.
(pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and
external_PEI_IMAGE_hdr.

23 years ago2001-01-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 6 Feb 2001 19:35:48 +0000 (19:35 +0000)]
2001-01-23  H.J. Lu  <hjl@gnu.org>

* include/coff/pe.h (struct external_PEI_DOS_hdr): New.
(struct external_PEI_IMAGE_hdr): New.

23 years ago2001-02-06 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 6 Feb 2001 19:14:07 +0000 (19:14 +0000)]
2001-02-06  H.J. Lu  <hjl@gnu.org>

* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined.

* config/tc-ia64.c (md_parse_option): Only accept the valid
ia64 options on "-axxx".

23 years ago2001-02-06 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 6 Feb 2001 19:09:01 +0000 (19:09 +0000)]
2001-02-06  H.J. Lu  <hjl@gnu.org>

* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined.

* config/tc-ia64.c (md_parse_option): Only accept the valid
ia64 options on "-axxx".

23 years ago2001-02-06 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 6 Feb 2001 19:04:20 +0000 (19:04 +0000)]
2001-02-06  Kazu Hirata  <kazu@hxi.com>

* elf-m10200.c: Fix formatting.

23 years ago * valops.c (value_cast): If casting a scalar to a pointer, do not
David Taylor [Tue, 6 Feb 2001 18:07:48 +0000 (18:07 +0000)]
* valops.c (value_cast): If casting a scalar to a pointer, do not
  issue a message about truncation unless it exceeds the length of
  an address, not the length of a pointer.  This is because what the
  user gives us is an address, not a pointer, and we will ultimately
  convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
  to a pointer.  This allows things like "print *(int *)0x01000234"
  to work without generating a misleading message on a target having
  two byte pointers and four byte addresses.

23 years ago2001-02-06 Philip Blundell <philb@gnu.org>
Phil Blundell [Tue, 6 Feb 2001 08:19:34 +0000 (08:19 +0000)]
2001-02-06  Philip Blundell  <philb@gnu.org>

* Makefile.am: Remove mention of earmelf_linux26.
* Makefile.in: Regenerate.

23 years agoFix spacing.
Christopher Faylor [Tue, 6 Feb 2001 05:04:40 +0000 (05:04 +0000)]
Fix spacing.

23 years ago* win32-nat.c: Change PTR to void * throughout.
Christopher Faylor [Tue, 6 Feb 2001 05:01:04 +0000 (05:01 +0000)]
* win32-nat.c: Change PTR to void * throughout.

23 years ago* signals.h: Removed.
J.T. Conklin [Tue, 6 Feb 2001 04:17:03 +0000 (04:17 +0000)]
* signals.h: Removed.
* event-top.c (#include <signal.h>): Changed from signals.h.
* inflow.c: Likewise.
* mac-xdep.c: Likewise.
* ser-pipe.c: Likewise.
* ser-tcp.c: Likewise.
* standalone.c: Likewise.
* top.c: Likewise.
* utils.c: Likewise.
* Makefile.in: Removed signals.h from dependencies.

23 years agoChange suggested by Dean Luick <luick@cray.com>
Christopher Faylor [Tue, 6 Feb 2001 04:03:23 +0000 (04:03 +0000)]
Change suggested by Dean Luick <luick@cray.com>
* inferior.h (step_over_calls_kind): Remove trailing comma from last enum
element.
(step_over_calls): Declare as extern rather than global.

23 years agoDon't abort for invalid input, print an error message instead.
Jim Wilson [Tue, 6 Feb 2001 03:49:29 +0000 (03:49 +0000)]
Don't abort for invalid input, print an error message instead.
* config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of
aborting for invalid operands.

23 years agoFix unwind info when cross-compiling from little-endian machines.
Alan Modra [Tue, 6 Feb 2001 02:52:09 +0000 (02:52 +0000)]
Fix unwind info when cross-compiling from little-endian machines.

23 years agoRevert accidental breakage from Nick's 2000-12-16 checkin.
Jim Wilson [Tue, 6 Feb 2001 02:42:20 +0000 (02:42 +0000)]
Revert accidental breakage from Nick's 2000-12-16 checkin.
* ia64-asmtab.c: Revert 2000-12-16 change.

23 years ago2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Tue, 6 Feb 2001 02:00:44 +0000 (02:00 +0000)]
2001-02-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

      * sh-tdep.c: Update copyright.
      (sh_extract_return_value): Rewrite.
      (sh3e_sh4_extract_return_value): New function.
      (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
      version of the function for sh3e and sh4 CPUs.

23 years ago2001-02-05 Michael Chastain <chastain@redhat.com>
Michael Chastain [Mon, 5 Feb 2001 21:09:21 +0000 (21:09 +0000)]
2001-02-05  Michael Chastain  <chastain@redhat.com>

* hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
to conform with interface change.

23 years agoDo not convert reloc addend to PC rel, it will be handled later on.
Nick Clifton [Sun, 4 Feb 2001 22:14:19 +0000 (22:14 +0000)]
Do not convert reloc addend to PC rel, it will be handled later on.

23 years ago * config.guess: Import from subversions.gnu.org (revision 1.181).
Michael Sokolov [Sun, 4 Feb 2001 18:17:30 +0000 (18:17 +0000)]
* config.guess: Import from subversions.gnu.org (revision 1.181).
* config.sub: Import from subversions.gnu.org (revision 1.199).

23 years ago2001-02-04 Philip Blundell <philb@gnu.org>
Phil Blundell [Sun, 4 Feb 2001 16:37:03 +0000 (16:37 +0000)]
2001-02-04  Philip Blundell  <philb@gnu.org>

* configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
* configure: Regenerate.

23 years ago2001-02-04 Philip Blundell <philb@gnu.org>
Phil Blundell [Sun, 4 Feb 2001 14:01:35 +0000 (14:01 +0000)]
2001-02-04  Philip Blundell  <philb@gnu.org>

* emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
* emulparams/armelf_linux26.sh: Delete.
* configure.tgt: Remove mention of armelf_linux26 emulation.

23 years ago * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header
Stephane Carrez [Sun, 4 Feb 2001 13:58:30 +0000 (13:58 +0000)]
* config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header
function to select the header according to the cpu.
(md_after_pass_hook, md_do_align): Remove.
(md_cleanup, m68hc11_cleanup): Remove.
(md_pcrel_from_section): Declare.
* config/tc-m68hc11.c (build_dbranch_insn): Remove insn_size.
(build_jump_insn, build_insn): Likewise.
(m68hc11_listing_header): New function.
(m68hc11_cleanup): Remove.

23 years ago * gas/m68hc11/malis.s: New test to verify compliance with Motorola
Stephane Carrez [Sun, 4 Feb 2001 13:53:49 +0000 (13:53 +0000)]
* gas/m68hc11/malis.s: New test to verify compliance with Motorola
Assembly Language Input Standard.
* gas/m68hc11/malis.d: New file.
* gas/m68hc11/malis-include.s: New file.
* gas/m68hc11/all.exp: Add the new test.

23 years ago * config/djgpp/fnchange.lst: Tweak to make consistent with the
Eli Zaretskii [Sun, 4 Feb 2001 07:56:38 +0000 (07:56 +0000)]
* config/djgpp/fnchange.lst: Tweak to make consistent with the
new files.

23 years ago * config/djgpp/djconfig.sh: Use explicit absolute file name when
Eli Zaretskii [Sun, 4 Feb 2001 07:52:33 +0000 (07:52 +0000)]
* config/djgpp/djconfig.sh: Use explicit absolute file name when
invoking `find'.

23 years ago * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
Eli Zaretskii [Sun, 4 Feb 2001 07:48:18 +0000 (07:48 +0000)]
* ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
UART_FIFO_WORKS is defined.  Otherwise use outportb.
From Francisco Pastor <fpastor.etra-id@etra.es>

23 years ago * go32-nat.c (go32_xfer_memory): Make the argument list consistent
Eli Zaretskii [Sun, 4 Feb 2001 07:24:57 +0000 (07:24 +0000)]
* go32-nat.c (go32_xfer_memory): Make the argument list consistent
with target.h's to_xfer_memory member.

23 years agoFix typo
Nick Clifton [Sat, 3 Feb 2001 00:53:10 +0000 (00:53 +0000)]
Fix typo

23 years ago Binutils portion of fix for syntax array elements when max
Patrick Macdonald [Fri, 2 Feb 2001 23:04:40 +0000 (23:04 +0000)]
Binutils portion of fix for syntax array elements when max
operands is greater than 127.

2001-02-02  Patrick Macdonald  <patrickm@redhat.com>

* cgen.h (CGEN_SYNTAX_CHAR_TYPE): Typedef as unsigned short.
(CGEN_MAX_SYNTAX_ELEMENTS): Rename from CGEN_MAX_SYNTAX_BYTES.
(CGEN_SYNTAX): Define using CGEN_MAX_SYNTAX_ELEMENTS.

* fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS.
* m32r-desc.h: Regenerate.

23 years ago* ppc-bdm.c (#include <signal.h>): Removed.
J.T. Conklin [Fri, 2 Feb 2001 23:04:14 +0000 (23:04 +0000)]
* ppc-bdm.c (#include <signal.h>): Removed.
* remote-array.c: Likewise.
* remote-bug.c: Likewise.
* remote-e7000.c: Likewise.
* remote-mips.c: Likewise.
* remote-os9k.c: Likewise.
* remote-st.c: Likewise.
* remote-udi.c: Likewise.
* remote-vx29k.c: Likewise.
* remote-vx68.c: Likewise.
* remote-vx960.c: Likewise.
* remote-vxmips.c: Likewise.
* remote-vxsparc.c: Likewise.

23 years agomerge from gcc
DJ Delorie [Fri, 2 Feb 2001 20:08:59 +0000 (20:08 +0000)]
merge from gcc

23 years agoChanged free() to xfree() where appropriate. Also changed Copyright to
John R. Moore [Fri, 2 Feb 2001 20:01:16 +0000 (20:01 +0000)]
Changed free() to xfree() where appropriate. Also changed Copyright to
include 2001.

23 years ago* cli/cli-cmds.c (apropos_command): Changed occurance of free() to xfree().
John R. Moore [Fri, 2 Feb 2001 19:37:48 +0000 (19:37 +0000)]
* cli/cli-cmds.c (apropos_command): Changed occurance of free() to xfree().
Also changed Copyright to include 2001.

23 years ago* monitor.c (#include "gdb_wait.h"): Removed.
J.T. Conklin [Fri, 2 Feb 2001 19:14:33 +0000 (19:14 +0000)]
* monitor.c (#include "gdb_wait.h"): Removed.
* ocd.c: Likewise.
* ppc-bdm.c: Likewise.
* remote-adapt.c: Likewise.
* remote-array.c: Likewise.
* remote-bug.c: Likewise.
* remote-e7000.c: Likewise.
* remote-eb.c: Likewise.
* remote-es.c: Likewise.
* remote-mips.c: Likewise.
* remote-mm.c: Likewise.
* remote-nindy.c: Likewise.
* remote-os9k.c: Likewise.
* remote-rdi.c: Likewise.
* remote-rdp.c: Likewise.
* remote-sds.c: Likewise.
* remote-sim.c: Likewise.
* remote-st.c: Likewise.
* remote-udi.c: Likewise.
* remote-vx.c: Likewise.
* remote-vx29k.c: Likewise.
* remote-vx68.c: Likewise.
* remote-vx960.c: Likewise.
* remote-vxmips.c: Likewise.
* remote-vxsparc.c: Likewise.
* remote.c: Likewise.
* ser-pipe.c: Likewise.
* ser-unix.c: Likewise.
* Makefile.in: Updated dependencies.
-------------------------------------------------------------------

23 years agomerge from gcc
DJ Delorie [Fri, 2 Feb 2001 18:58:51 +0000 (18:58 +0000)]
merge from gcc

23 years agoFix 2001-02-02 Stephane Carrez ChangeLog entry
Stephane Carrez [Fri, 2 Feb 2001 14:16:53 +0000 (14:16 +0000)]
Fix 2001-02-02  Stephane Carrez ChangeLog entry

23 years ago * tc-m68hc11.c (relaxable_symbol): Relax externally visible symbols
Stephane Carrez [Fri, 2 Feb 2001 14:14:11 +0000 (14:14 +0000)]
* tc-m68hc11.c (relaxable_symbol): Relax externally visible symbols
because there is no support for shared libraries and these symbols
can't be overridden (unless they are weak).

23 years agoAdd parentheses ready for future conbtribution
Nick Clifton [Thu, 1 Feb 2001 20:56:35 +0000 (20:56 +0000)]
Add parentheses ready for future conbtribution

23 years agoUpdate base address register after restoring register bank.
Nick Clifton [Thu, 1 Feb 2001 20:39:51 +0000 (20:39 +0000)]
Update base address register after restoring register bank.

23 years ago2001-02-01 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 1 Feb 2001 19:35:29 +0000 (19:35 +0000)]
2001-02-01  Kazu Hirata  <kazu@hxi.com>

* elf-m10300.c: Fix formatting.

23 years agoReplace occurances of -oformat with --oformat.
Nick Clifton [Thu, 1 Feb 2001 18:44:43 +0000 (18:44 +0000)]
Replace occurances of -oformat with --oformat.

23 years ago * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations
Richard Henderson [Thu, 1 Feb 2001 18:08:47 +0000 (18:08 +0000)]
    * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations
        for the compilation unit with a zero byte.

23 years ago * (dis386_att, grps): Use 'T' for push/pop
Jan Hubicka [Thu, 1 Feb 2001 15:30:55 +0000 (15:30 +0000)]
* (dis386_att, grps): Use 'T' for push/pop
(putop): Handle 'T', alphabetize order, fix 'I' handling in Intel syntax

23 years agov850-elf target is now building.
Jonathan Larmour [Thu, 1 Feb 2001 07:00:53 +0000 (07:00 +0000)]
v850-elf target is now building.

23 years ago * Makefile.in (gencode): Link with libopcodes in build tree rather
Jonathan Larmour [Thu, 1 Feb 2001 06:56:29 +0000 (06:56 +0000)]
* Makefile.in (gencode): Link with libopcodes in build tree rather
than building source files from there.

23 years agoDetect installation of SWI vector by running program as well as loading program.
Nick Clifton [Thu, 1 Feb 2001 00:14:40 +0000 (00:14 +0000)]
Detect installation of SWI vector by running program as well as loading program.

23 years ago2001-01-31 David Smith <dsmith@redhat.com>
David Smith [Wed, 31 Jan 2001 15:46:36 +0000 (15:46 +0000)]
2001-01-31  David Smith  <dsmith@redhat.com>

* event-loop.c: Change inclusion of string.h to gdb_string.h and
updated the copyright notice.
* ser-pipe.c: Ditto.
* mi/mi-cmds.c: Ditto.
* mi/mi-console.c: Ditto.
* mi/mi-getopt.c: Ditto.
* mi/mi-parse.c: Ditto.

23 years ago2001-01-31 David Smith <dsmith@redhat.com>
David Smith [Wed, 31 Jan 2001 15:03:45 +0000 (15:03 +0000)]
2001-01-31  David Smith  <dsmith@redhat.com>

* MAINTAINERS: Add David Smith to Write After Approval list.

23 years ago(elf64_hppa_object_p): Set architecture and machine from elf header flags.
Alan Modra [Wed, 31 Jan 2001 13:28:50 +0000 (13:28 +0000)]
(elf64_hppa_object_p): Set architecture and machine from elf header flags.

23 years agoAnother HAVE_DOS_BASED_FILE_SYSTEM check.
Alan Modra [Wed, 31 Jan 2001 06:02:18 +0000 (06:02 +0000)]
Another HAVE_DOS_BASED_FILE_SYSTEM check.

23 years agoMove putchar_filtered() to utils.c.
Andrew Cagney [Wed, 31 Jan 2001 03:46:23 +0000 (03:46 +0000)]
Move putchar_filtered() to utils.c.

23 years agoCleanup autoconfigury of vfork().
Andrew Cagney [Wed, 31 Jan 2001 02:08:23 +0000 (02:08 +0000)]
Cleanup autoconfigury of vfork().

23 years agoReplace strsave() with xstrdup().
Andrew Cagney [Wed, 31 Jan 2001 01:24:03 +0000 (01:24 +0000)]
Replace strsave() with xstrdup().

23 years ago* cli/cli-script.c (define_command): Check for a bad hook value in
Andrew Cagney [Wed, 31 Jan 2001 00:50:01 +0000 (00:50 +0000)]
* cli/cli-script.c (define_command): Check for a bad hook value in
switch statement.

23 years ago* configure/sh/embed.mt: New file.
J.T. Conklin [Tue, 30 Jan 2001 23:37:07 +0000 (23:37 +0000)]
* configure/sh/embed.mt: New file.
* configure/sh/linux.mt: New file.
* configure/sh/sh.mt: Removed.
* configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
(sh-*-*): Removed.

23 years ago* interp.c (sim_create_inferior): Record program arguments for
Alexandre Oliva [Tue, 30 Jan 2001 23:03:56 +0000 (23:03 +0000)]
* interp.c (sim_create_inferior): Record program arguments for
later inspection by the trap handler.
(count_argc): New function.
(prog_argv): Declare static.
(sim_write): Declare.
(trap): Implement argc, argnlen and argn system calls. Do not
abort on unknown system calls--simply return -1.
* syscall.h (SYS_argc, SYS_argnlen, SYS_argn): Define.

23 years agoReplace blanked lines from earlier commit with comment stating that
Kevin Buettner [Tue, 30 Jan 2001 22:18:21 +0000 (22:18 +0000)]
Replace blanked lines from earlier commit with comment stating that
the reason why the space is empty.

23 years agoRemove unused printf() definition.
Kevin Buettner [Tue, 30 Jan 2001 16:45:23 +0000 (16:45 +0000)]
Remove unused printf() definition.

23 years agoWrite out millicode functions with the right elf symbol type.
Alan Modra [Tue, 30 Jan 2001 13:40:08 +0000 (13:40 +0000)]
Write out millicode functions with the right elf symbol type.

23 years agoFix a null-pointer dereference and some range checks.
Alan Modra [Tue, 30 Jan 2001 13:13:29 +0000 (13:13 +0000)]
Fix a null-pointer dereference and some range checks.

23 years ago * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2
Richard Henderson [Tue, 30 Jan 2001 09:52:27 +0000 (09:52 +0000)]
    * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2
        before mdebug.

23 years agoRemoved files structs3.c structs3.exp.
Michael Chastain [Tue, 30 Jan 2001 04:48:50 +0000 (04:48 +0000)]
Removed files structs3.c structs3.exp.
These were added by accident.  Whoops!

23 years ago2001-01-29 Michael Chastain <chastain@redhat.com>
Michael Chastain [Tue, 30 Jan 2001 02:49:36 +0000 (02:49 +0000)]
2001-01-29  Michael Chastain  <chastain@redhat.com>

* symtab.c (block_lookup_symbol): Use 'namespace' parameter in
symbol comparisons in binary search.

23 years agoHandle hppa64-linux systems.
Alan Modra [Tue, 30 Jan 2001 02:17:40 +0000 (02:17 +0000)]
Handle hppa64-linux systems.

23 years ago2001-01-28 Michael Chastain <chastain@redhat.com>
Michael Chastain [Sun, 28 Jan 2001 23:49:43 +0000 (23:49 +0000)]
2001-01-28  Michael Chastain  <chastain@redhat.com>

* gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
to call when tests fail.  It takes gdb out of the overloaded
function choice menu back to the main prompt, so that the test
program stays synchronized.
(set_bp_overloaded): New proc to collect all the common
code for setting a breakpoint on an overloaded name.  Calls
take_gdb_out_of_choice_menu when needed.
(menu_overload1arg): New variable to collect the repeated
instances of the expected menu for an overloaded name. Change
the regular expression to handle changes in g++ type encoding:
"void" can be either "void" or "", and "unsigned int" can be
either "unsigned int" or "unsigned".
(continue_to_bp_overloaded): Change regular expressions to handle
changes in g++ type encoding.
(no proc): Call take_gdb_out_of_choice_menu when needed.
Remove redundant calls to "info break".  Accept either "canceled"
or "cancelled".  Change regular expressions in "info break"
calls to handle changes in g++ type encoding.  Give all tests
unique strings.