platform/upstream/binutils.git
23 years ago2001-11-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 2 Nov 2001 19:46:59 +0000 (19:46 +0000)]
2001-11-02  H.J. Lu  <hjl@gnu.org>

* elf32-mips.c (mips_elf_calculate_relocation): Don't create
dynamic relocation for symbols defined in regular objects when
creating executables.

23 years agoAdd translations
Nick Clifton [Fri, 2 Nov 2001 19:09:06 +0000 (19:09 +0000)]
Add translations

23 years agoAdd French translation
Nick Clifton [Fri, 2 Nov 2001 18:06:21 +0000 (18:06 +0000)]
Add French translation

23 years ago* tc-arm.c: Re-arrange prototypes by architecture.
Richard Earnshaw [Fri, 2 Nov 2001 17:25:11 +0000 (17:25 +0000)]
* tc-arm.c: Re-arrange prototypes by architecture.
(insns): Re-arrange instructions by archtitecture.  Pld instruction
is part of ARMv5E.
(tinsns): blx and bkpt are part of ARMv5T.
(do_fp_{ctrl,ldst,ldstm,dyadic,monadic,cmp,from_reg,to_reg}): Rename
to do_fpa_*.  All callers changed.

* tc-arm.c (insns): Add two temporary instructions to handle
ldrd/strd.

23 years ago2001-11-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 2 Nov 2001 17:24:54 +0000 (17:24 +0000)]
2001-11-02  H.J. Lu  <hjl@gnu.org>

* ld-elfvsb/elfvsb.exp: Add the "ld -r" test.

* ld-elfvsb/hidden0.d: New.
* ld-elfvsb/hidden1.d: New.
* ld-elfvsb/internal0.d: New.
* ld-elfvsb/internal1.d: New.
* ld-elfvsb/protected0.d: New.
* ld-elfvsb/protected1.d: New.
* ld-elfvsb/undef.s: New.
* ld-elfvsb/undef.s: New.

23 years agoFix testsuites for bigendian sh-linux
Nick Clifton [Fri, 2 Nov 2001 17:07:52 +0000 (17:07 +0000)]
Fix testsuites for bigendian sh-linux

23 years agoSet targ_emul, targ_extra_emuls as little endian default and to support big endian.
Nick Clifton [Fri, 2 Nov 2001 16:58:18 +0000 (16:58 +0000)]
Set targ_emul, targ_extra_emuls as little endian default and to support big endian.

23 years agoAdd comment
Nick Clifton [Fri, 2 Nov 2001 16:29:15 +0000 (16:29 +0000)]
Add comment

23 years agoInitialize subspace_sections.
Nick Clifton [Fri, 2 Nov 2001 16:19:54 +0000 (16:19 +0000)]
Initialize subspace_sections.

23 years ago2001-11-02 H.J. Lu (hjl@gnu.org)
H.J. Lu [Fri, 2 Nov 2001 15:47:24 +0000 (15:47 +0000)]
2001-11-02  H.J. Lu  (hjl@gnu.org)

* coffgen.c (coff_object_p): Return 0 if the header is too big.

23 years ago2001-11-02 Michael Chastain <mec@shout.net>
Michael Chastain [Fri, 2 Nov 2001 15:41:16 +0000 (15:41 +0000)]
2001-11-02  Michael Chastain  <mec@shout.net>

        * MAINTAINERS: Update my entry.

23 years ago * elfcore.h (elf_core_file_p): Preserve and clear abfd section
Hans-Peter Nilsson [Fri, 2 Nov 2001 13:12:56 +0000 (13:12 +0000)]
* elfcore.h (elf_core_file_p): Preserve and clear abfd section
information.  Save bfd arch and mach values.  Restore on error.

23 years ago * elf32-hppa.c (hppa_handle_PIC_calls): Rename to mark_PIC_calls.
Alan Modra [Fri, 2 Nov 2001 10:37:04 +0000 (10:37 +0000)]
* elf32-hppa.c (hppa_handle_PIC_calls): Rename to mark_PIC_calls.
(allocate_PIC_calls): New function.
(allocate_dynrelocs): Don't allocate pic_call plt entries here.
(elf32_hppa_size_dynamic_sections): Call allocate_PIC_calls.
(elf32_hppa_finish_dynamic_symbol): Remove dead code.

23 years agoFix cutnpasto in last entry
Hans-Peter Nilsson [Fri, 2 Nov 2001 07:22:37 +0000 (07:22 +0000)]
Fix cutnpasto in last entry

23 years ago * elf32-cris.c (cris_elf_grok_prstatus): New function.
Hans-Peter Nilsson [Fri, 2 Nov 2001 07:20:24 +0000 (07:20 +0000)]
* elf32-cris.c (cris_elf_grok_prstatus): New function.
(cris_elf_grok_prstatus): New function.
(elf_backend_grok_prstatus): Define.
(elf_backend_grok_psinfo): Define.

23 years ago2001-11-01 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 2 Nov 2001 01:13:09 +0000 (01:13 +0000)]
2001-11-01  Chris Demetriou  <cgd@broadcom.com>

        * ld.texinfo (Options): Document new option, -nostdlib.
        * lexsup.c (OPTION_NOSTDLIB): New definition.
        (ld_options): Add entry for "nostdlib".
        (parse_args): Handle OPTIONS_NOSTDLIB.
        * ldfile.c (ldfile_add_library_path): Don't add directories
        to the search path if they weren't specified on the command line
        and -nostdlib was specified.
        * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.

23 years ago*** empty log message ***
gdbadmin [Fri, 2 Nov 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-10-31 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 1 Nov 2001 23:41:09 +0000 (23:41 +0000)]
2001-10-31  Michael Snyder  <msnyder@redhat.com>

* gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
depending on what the symbol table contains.
* gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
the output of the ptype command.  Similarly, accept both "const &"
and "const&".

23 years agodaily update
Alan Modra [Thu, 1 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update

23 years agoApproved by kev@cygnus.com
Fred Fish [Thu, 1 Nov 2001 16:17:08 +0000 (16:17 +0000)]
Approved by kev@cygnus.com
ChangeLog entry:

2001-11-01  Fred Fish  <fnf@redhat.com>

* coff-solib.c (coff_solib_add): Add new readsyms arg.
* irix5-nat.c (solib_add): Ditto.
* osfsolib.c (solib_add): Ditto.
* pa64solib.c (pa64_solib_add): Ditto.
* pa64solib.c (add_to_solist): Ditto.
* pa64solib.c (read_dld_descriptor): Ditto.
* solib.c (solib_add): Ditto.
* somsolib.c (som_solib_add): Ditto.
* win32-nat.c (child_solib_add): Ditto.
* xcoffsolib.c (solib_add): Ditto.

* coff-solib.h (coff_solib_add): Add new readsyms arg to prototype.
* pa64solib.c (add_to_solist): Ditto.
* pa64solib.c (read_dld_descriptor): Ditto.
* pa64solib.h (pa64_solib_add): Ditto.
* solib.h (solib_add): Ditto.
* somsolib.h (som_solib_add): Ditto.
* config/i386/tm-cygwin.h (child_solib_add): Ditto.

* coff-solib.c (coff_solib_add):  If readsyms is zero don't read
symbols but do any other needed work for shared libs.
* irix5-nat.c: Ditto.
* osfsolib.c (solib_add): Ditto.
* solib.c (solib_add): Ditto.
* win32-nat.c (child_solib_add): Ditto.
* xcoffsolib.c (solib_add): Ditto.

* irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to
solib_add to force reading of shared library symbols.
* osfsolib.c (sharedlibrary_command;): Ditto.
* pa64solib.c (pa64_solib_sharedlibrary_command): Ditto.
* solib.c (sharedlibrary_command): Ditto.
* somsolib.c (som_solib_sharedlibrary_command): Ditto.
* xcoffsolib.c (sharedlibrary_command): Ditto.

* coff-solib.c (coff_solib_create_inferior_hook): Call solib_add
unconditionally with auto_solib_add.
* irix5-nat.c (solib_create_inferior_hook): Ditto.
* osfsolib.c (solib_create_inferior_hook): Ditto.
* solib.c (solib_create_inferior_hook): Ditto.
* solib-osf.c (osf_solib_create_inferior_hook): Ditto.
* solib-svr4.c (enable_break): Ditto.
* solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.

* corelow.c (solib_add_stub): Add auto_solib_add to args passed
via SOLIB_ADD.
* sol-thread.c (sol_thread_attach): Ditto.
* config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto.

* infcmd.c (attach_command): Remove auto_solib_add decl.
Call SOLIB_ADD directly with auto_solib_add.
* infrun.c (handle_inferior_event): Ditto.

* coff-solib.h (SOLIB_ADD): Add readsyms arg.
* pa64solib.h (SOLIB_ADD): Ditto.
* solib.h (SOLIB_ADD): Ditto.
* somsolib.h (SOLIB_ADD): Ditto.
* config/i386/tm-cygwin.h (SOLIB_ADD): Ditto.

* fork-child.c (clone_and_follow_inferior): Remove unused
auto_solib_add decl.

* pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms.
(read_dld_descriptor): Ditto.
(pa64_solib_add): Call read_dld_descriptor with readsyms.
(pa64_solib_in_dynamic_linker): Ditto.

* corelow.c (symfile.h): Need this for auto_solib_add declaration.
* sol-thread.c (symfile.h): Ditto.

Approved by eliz@is.elta.co.il
doc/ChangeLog entry:

2001-11-01  Fred Fish  <fnf@redhat.com>

* gdbint.texinfo (SOLIB_ADD): Document additional new
"readsyms" arg.

23 years ago * config/tc-m68hc11.c (build_jump_insn): Allocate worst case storage
Stephane Carrez [Thu, 1 Nov 2001 09:56:17 +0000 (09:56 +0000)]
* config/tc-m68hc11.c (build_jump_insn): Allocate worst case storage
for bra/bsr and use frag_variant(), this ensure that the possible
16-bit BFD_RELOC_16 will be in the same frag.

23 years ago * gas/m68hc11/opers12.s: Add test for disassembler bug with movb
Stephane Carrez [Thu, 1 Nov 2001 09:52:03 +0000 (09:52 +0000)]
* gas/m68hc11/opers12.s: Add test for disassembler bug with movb
instruction.
* gas/m68hc11/opers12.d: Likewise.
* gas/m68hc11/opers12-dwarf2.d: Likewise.

23 years ago * m68hc11-dis.c (print_insn): Fix disassembly of movb with a
Stephane Carrez [Thu, 1 Nov 2001 09:48:57 +0000 (09:48 +0000)]
* m68hc11-dis.c (print_insn): Fix disassembly of movb with a
constant as source.

23 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Correct branch
Alan Modra [Thu, 1 Nov 2001 05:35:10 +0000 (05:35 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Correct branch
prediction bits.

23 years agoFixed formatting error.
Don Howard [Thu, 1 Nov 2001 05:11:19 +0000 (05:11 +0000)]
Fixed formatting error.

23 years agouse xmalloc() and xfree().
Andrew Cagney [Thu, 1 Nov 2001 02:53:05 +0000 (02:53 +0000)]
use xmalloc() and xfree().

23 years agos/value_ptr/struct value */
Andrew Cagney [Thu, 1 Nov 2001 02:37:56 +0000 (02:37 +0000)]
s/value_ptr/struct value */

23 years agoRe-indent.
Andrew Cagney [Thu, 1 Nov 2001 02:22:21 +0000 (02:22 +0000)]
Re-indent.

23 years ago[ bfd/ChangeLog ]
Chris Demetriou [Thu, 1 Nov 2001 01:33:47 +0000 (01:33 +0000)]
[ bfd/ChangeLog ]
2001-10-31  Chris Demetriou  <cgd@demetriou.com>

* elf32-mips.c (_bfd_mips_elf_hi16_reloc): Handle PC-relative
relocations properly.

[ gas/ChangeLog ]
2001-10-31  Chris Demetriou  <cgd@broadcom.com>

* config/tc-mips.c (HAVE_32BIT_ADDRESSES): If compiling embedded
PIC code, assume pointers the same size as GPRs.
(macro): In M_LA_AB handling for embedded PIC code, support
"la $treg,foo-bar($breg)".  In load/store handling
(label ld_st) support "<op> $treg,<sym>-<local_sym>($breg)"
which is used by the compiler for switch statements.
In load/store double multi-instruction macro handling
(label ldd_std) add a comment that no special handling
is currently done for embedded PIC.
(mips_ip): In 'o' (16-bit offset) case, only accept 16
bit offsets.

[ gas/testsuite/ChangeLog ]
2001-10-31  Chris Demetriou  <cgd@broadcom.com>

* gas/mips/empic.s: Undo damage inflicted on 2000-12-02.
* gas/mips/empic.d: Likewise.
* gas/mips/elempic.d: Likewise (it was copied into other files).
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.

* gas/mips/empic2.s: New test to check new 'la' and 'lw' (and
related ops) syntax, test loads with large offsets.
* gas/mips/emcic2.d: Likewise.
* gas/mips/mips.exp: Run the new test on ELF platforms.

23 years agos/value_ptr/struct value */
Andrew Cagney [Thu, 1 Nov 2001 01:21:35 +0000 (01:21 +0000)]
s/value_ptr/struct value */

23 years agovalue_ptr tweeks.
Andrew Cagney [Thu, 1 Nov 2001 01:07:35 +0000 (01:07 +0000)]
value_ptr tweeks.

23 years ago*** empty log message ***
gdbadmin [Thu, 1 Nov 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * arch-utils.c (generic_in_solib_call_trampoline): New function.
Corinna Vinschen [Wed, 31 Oct 2001 23:21:33 +0000 (23:21 +0000)]
* arch-utils.c (generic_in_solib_call_trampoline): New function.
* arch-utils.h (generic_in_solib_call_trampoline): Extern declaration.
* gdbarch.c: Regenerated from gdbarch.sh.
* gdbarch.h: Ditto.
* gdbarch.sh (function_list): Add `IN_SOLIB_CALL_TRAMPOLINE' definition.
* infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Remove macro.

23 years agodaily update
Alan Modra [Wed, 31 Oct 2001 23:00:35 +0000 (23:00 +0000)]
daily update

23 years agoFrom DJ Barrow.
Andrew Cagney [Wed, 31 Oct 2001 22:57:46 +0000 (22:57 +0000)]
From DJ Barrow.
* s390-tdep.c: (s390_gdbarch_init): Don't initialize
find_solib_trampoline_target.

23 years ago* remote-vx.c (net_wait): Fix typo from PIDGET change.
Andrew Cagney [Wed, 31 Oct 2001 22:29:21 +0000 (22:29 +0000)]
* remote-vx.c (net_wait): Fix typo from PIDGET change.

23 years ago* config/i386/tm-i386.h (REGISTER_NAMES): Remove.
Mark Kettenis [Wed, 31 Oct 2001 22:24:06 +0000 (22:24 +0000)]
* config/i386/tm-i386.h (REGISTER_NAMES): Remove.
(REGISTER_NAME): New define.
(i386_register_name): New prototype.
* i386-tdep.c (i386_register_names): New variable.
(i386_register_name): New function.
* config/i386/tm-i386os9k.h, config/i386/tm-ptx.h,
config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of
REGISTER_NAMES.

23 years ago * gdb.base/miscexprs.c (main): Add usage of preprocessor
Corinna Vinschen [Wed, 31 Oct 2001 20:59:22 +0000 (20:59 +0000)]
* gdb.base/miscexprs.c (main): Add usage of preprocessor
symbol `STORAGE' to allow to choose the storage class of
the local datastructures.
* gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
compiler directive.

23 years ago2001-10-30 Don Howard <dhoward@redhat.com>
Don Howard [Wed, 31 Oct 2001 19:20:43 +0000 (19:20 +0000)]
2001-10-30  Don Howard  <dhoward@redhat.com>

* gdb.texinfo: (Command Files) Added documentation for the
behavior of gdb with input redirected from a file.

23 years ago* win32-nat.c (register_loaded_dll): Attempt to ensure that the case of the
Christopher Faylor [Wed, 31 Oct 2001 19:05:35 +0000 (19:05 +0000)]
* win32-nat.c (register_loaded_dll): Attempt to ensure that the case of the
loaded DLL matches the on-disk case since the debugging API does not seem to
ensure this.  Calculate max name length here.
(handle_load_dll): Move max name length calculation to register_loaded_dll.

23 years ago2001-10-31 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 31 Oct 2001 16:42:48 +0000 (16:42 +0000)]
2001-10-31  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_link_output_extsym): Don't clear the visibility
field for relocateable.

23 years ago * arm-linux-nat.c: Include <asm/ptrace.h> explicitly.
Daniel Jacobowitz [Wed, 31 Oct 2001 15:56:33 +0000 (15:56 +0000)]
* arm-linux-nat.c: Include <asm/ptrace.h> explicitly.

23 years agoFix infinite parsing loop
Nick Clifton [Wed, 31 Oct 2001 15:41:19 +0000 (15:41 +0000)]
Fix infinite parsing loop

23 years ago Revert previous delta, instead do this.
Alan Modra [Wed, 31 Oct 2001 15:32:09 +0000 (15:32 +0000)]
Revert previous delta, instead do this.
* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Don't count
.plt relocs in DT_RELASZ.

23 years ago * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Set DT_RELASZ
Alan Modra [Wed, 31 Oct 2001 14:58:14 +0000 (14:58 +0000)]
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Set DT_RELASZ
whenever DT_PLTRELSZ.

23 years agoGeneral cleanup of feature definitions.
Richard Earnshaw [Wed, 31 Oct 2001 14:48:23 +0000 (14:48 +0000)]
General cleanup of feature definitions.
* tc-arm.c (ARM_EXT_LONGMUL, ARM_EXT_HALFWORD, ARM_EXT_THUMB): Delete.
(ARM_2UP, ARM_ALL, ARM_3UP, ARM_6UP): Delete.
(FPU_CORE, FPU_FPA10, FPA_FPA11, FPU_ALL, FPA_MEMMULTI): Delete.
(ARM_EXT_V{1,2,2S,3,3M,4,4T,5T,5ExP}): New defines.
(ARM_EXT_V{5,5E}): Synchronize with above.
(ARM_ARCH_V*): Define a complete set in terms of above features.
(ARM_{1,2,3,250,6,7,8,9,STRONG}): Define in terms of architecture.
(FPU_FPA_EXT_V[12]): Define.
(FPU_ARCH_FPE, FPU_ARCH_FPA): Define in terms of above.
(FPU_ANY): Define.
(FPU_DEFAULT): Default to FPA.
(CPU_DEFAULT): For XScale, this is now just ARM_ARCH_XSCALE; for
Thumb, this is now ARM_ARCH_V5T.
(insns): Rework for new feature defines.
(tinsns): Likewise.
(opcode_select, do_ldst, md_begin, md_parse_option): Likewise.

23 years agoUpdate documentation about -T augmenting linker scripts
Nick Clifton [Wed, 31 Oct 2001 14:19:22 +0000 (14:19 +0000)]
Update documentation about -T augmenting linker scripts

23 years agoSupports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu targets
Nick Clifton [Wed, 31 Oct 2001 09:50:09 +0000 (09:50 +0000)]
Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu targets

23 years agoFix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.
Nick Clifton [Wed, 31 Oct 2001 09:01:50 +0000 (09:01 +0000)]
Fix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.

23 years agoUpdate to match latest listing behaviour
Nick Clifton [Wed, 31 Oct 2001 08:58:59 +0000 (08:58 +0000)]
Update to match latest listing behaviour

23 years ago * ld-mmix/locdo-1.d: Prune character dump part.
Hans-Peter Nilsson [Wed, 31 Oct 2001 05:52:41 +0000 (05:52 +0000)]
* ld-mmix/locdo-1.d: Prune character dump part.

23 years ago * ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d,
Hans-Peter Nilsson [Wed, 31 Oct 2001 05:42:51 +0000 (05:42 +0000)]
* ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d,
  ld-mmix/loc1.d, ld-mmix/bspec1m.d, ld-mmix/bspec2m.d,
  ld-mmix/b-nosym.d, ld-mmix/b-fixo2.d, ld-mmix/b-loc64k.d,
  ld-mmix/undef-3m.d, ld-mmix/locto.s, ld-mmix/loct.s,
  ld-mmix/local3m.d, ld-mmix/local1m.d, ld-mmix/loc6m.d,
  ld-mmix/loc2.s, ld-mmix/loc1.s, ld-mmix/gregldo1.s,
  ld-mmix/dloc1.s, ld-mmix/b-widec3.s, ld-mmix/b-nosym.s: Remove
  unnecessary empty lines.

23 years agoRegenerate dependencies and Makefile.in
Hans-Peter Nilsson [Wed, 31 Oct 2001 05:04:33 +0000 (05:04 +0000)]
Regenerate dependencies and Makefile.in

23 years ago * gas/mmix/tst.s: Delete unused file.
Hans-Peter Nilsson [Wed, 31 Oct 2001 04:30:35 +0000 (04:30 +0000)]
* gas/mmix/tst.s: Delete unused file.
* gas/mmix/unsave-op.s, gas/mmix/save-op.s, gas/mmix/resume-op.s,
gas/mmix/reloc8.s, gas/mmix/prefix1.s, gas/mmix/pop-op.s,
gas/mmix/greg8.s, gas/mmix/greg6.s, gas/mmix/expr-1.s,
gas/mmix/greg1.s, gas/mmix/err-bspec-5.s, gas/mmix/op-0-1.s,
gas/mmix/fb-2.s: Remove trailing empty lines.

23 years ago * wrapper.h (gdb_value_struct_elt): New function.
Keith Seitz [Wed, 31 Oct 2001 03:16:04 +0000 (03:16 +0000)]
* wrapper.h (gdb_value_struct_elt): New function.
* wrapper.c (gdb_value_struct_elt): Ditto.
(do_captured_value_struct_elt): Ditto.

23 years agoRemove #if 0 around bfd_mmo_mmix_vec
Hans-Peter Nilsson [Wed, 31 Oct 2001 03:08:59 +0000 (03:08 +0000)]
Remove #if 0 around bfd_mmo_mmix_vec

23 years agoSplit file by ^L:s as in original submitted patch
Hans-Peter Nilsson [Wed, 31 Oct 2001 03:07:48 +0000 (03:07 +0000)]
Split file by ^L:s as in original submitted patch

23 years agoUpdate README and NEWS to 5.1.
Andrew Cagney [Wed, 31 Oct 2001 02:53:17 +0000 (02:53 +0000)]
Update README and NEWS to 5.1.

23 years ago2001-10-30 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 31 Oct 2001 02:40:24 +0000 (02:40 +0000)]
2001-10-30  Michael Snyder  <msnyder@redhat.com>

* gdb.base/jump.exp: Allow it to run for all targets.

23 years ago * mmix-dis.c, mmix-opc.c: New files.
Hans-Peter Nilsson [Wed, 31 Oct 2001 02:40:19 +0000 (02:40 +0000)]
* mmix-dis.c, mmix-opc.c: New files.

23 years ago * MAINTAINERS: Add self as MMIX port maintainer.
Hans-Peter Nilsson [Wed, 31 Oct 2001 02:34:12 +0000 (02:34 +0000)]
* MAINTAINERS: Add self as MMIX port maintainer.

23 years agoFix -W... flags check.
Andrew Cagney [Wed, 31 Oct 2001 01:57:04 +0000 (01:57 +0000)]
Fix -W... flags check.

23 years ago * ldlang.c (lang_size_sections): Keep a valid output_offset field
Alan Modra [Wed, 31 Oct 2001 01:12:26 +0000 (01:12 +0000)]
* ldlang.c (lang_size_sections): Keep a valid output_offset field
for padding statements.

23 years ago*** empty log message ***
gdbadmin [Wed, 31 Oct 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

23 years agodaily update
Alan Modra [Tue, 30 Oct 2001 23:01:01 +0000 (23:01 +0000)]
daily update

23 years ago 2001-10-30 Fred Fish <fnf@redhat.com>
Fred Fish [Tue, 30 Oct 2001 17:34:30 +0000 (17:34 +0000)]
2001-10-30  Fred Fish  <fnf@redhat.com>
* somsolib.c (som_solib_add): A megabyte is 1024*1024 bytes.
* pa64solib.c (add_to_solist): Ditto.
* win32-nat.c (_initialize_inftarg): Remove unnecessary
initialization of auto_solib_add, it defaults to 1.

23 years agoAdd MMIX support
Nick Clifton [Tue, 30 Oct 2001 15:20:14 +0000 (15:20 +0000)]
Add MMIX support

23 years agoIf the LMA for a segment is known, use it for matching sections to segments.
Nick Clifton [Tue, 30 Oct 2001 11:40:28 +0000 (11:40 +0000)]
If the LMA for a segment is known, use it for matching sections to segments.
Use the LMA when adjusting for inter-section alignment padding.

23 years agoSet the LMA based on the p_paddr of the segment that contains it.
Nick Clifton [Tue, 30 Oct 2001 11:34:46 +0000 (11:34 +0000)]
Set the LMA based on the p_paddr of the segment that contains it.

23 years agoChanges approved by kev@cygnus.com, ezannoni@cygnus.com, eliz@is.elta.co.il.
Fred Fish [Tue, 30 Oct 2001 04:05:36 +0000 (04:05 +0000)]
Changes approved by kev@cygnus.com, ezannoni@cygnus.com, eliz@is.elta.co.il.

  Changelog:

2001-10-27  Fred Fish  <fnf@redhat.com>

* symfile.c (auto_solib_add): Update comment to note that
this variable is now just used as a boolean to control shlib
autoloading, and clarify when it is used.
* symfile.h (auto_solib_add): Ditto.

* symfile.c (auto_solib_limit): New variable that holds the
autoloading threshold instead of overloading auto_solib_add.
* symfile.h (auto_solib_limit): Ditto.

* irix5-nat.c (_initialize_solib): Change auto-solib-add
variable from var_zinteger to var_boolean and update help.
* osfsolib.c (_initialize_solib): Ditto.
* pa64solib.c (_initialize_pa64_solib): Ditto.
* solib.c (_initialize_solib): Ditto.
* somsolib.c (_initialize_som_solib): Ditto.
* xcoffsolib.c (_initialize_solib): Ditto.

* pa64solib.c (pa64_solib_total_st_size): Update comment to
note that the new auto_solib_limit variable is used instead
of overloading auto_solib_add variable.
(_initialize_pa64_solib): Ditto.
* somsolib.c (som_solib_total_st_size): Ditto.
(_initialize_som_solib): Ditto.

* pa64solib.c (_initialize_pa64_solib): Add new set/show
commands for auto-solib-limit variable.
* somsolib.c (_initialize_som_solib): Ditto

* pa64solib.c (add_to_solist): Check that auto_solib_add is
set and use auto_solib_limit as the threshold size instead
of auto_solib_add.
* somsolib.c (som_solib_add): Ditto, and also change warning
text about size threshold exceeded.

  doc/ChangeLog:

2001-10-28  Fred Fish  <fnf@redhat.com>

* gdb.texinfo (auto-solib-add): Change docs to match
implementation change.
(auto-solib-limit): Add docs for new variable.

23 years ago*** empty log message ***
gdbadmin [Tue, 30 Oct 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* config/i386/tm-i386v.h: Don't include "regcache.h".
Mark Kettenis [Mon, 29 Oct 2001 23:54:56 +0000 (23:54 +0000)]
* config/i386/tm-i386v.h: Don't include "regcache.h".
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, FRAME_CHAIN,
FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_NUM_ARGS):
Remove macros.  The versions from "tm-i386.h" should work fine
(and in most cases even better).

23 years ago* i386-tdep.c (i386_extract_return_value): Use
Mark Kettenis [Mon, 29 Oct 2001 23:49:31 +0000 (23:49 +0000)]
* i386-tdep.c (i386_extract_return_value): Use
convert_typed_floating to extract floating-point value from
register buffer.
(i386_store_return_value): Use convert_typed_floating to store
floating-point return balue in register buffer
(i386_register_virtual_type): Change type of floating-point
registers to builtin_type_i387_ext.
(i386_register_convert_to_virtual): Use convert_typed_floating to
do the conversion.
(i386_register_convert_to_raw): Likewise.

23 years ago* doublest.h (convert_typed_floating): New prototype.
Mark Kettenis [Mon, 29 Oct 2001 23:35:37 +0000 (23:35 +0000)]
* doublest.h (convert_typed_floating): New prototype.
* doublest.c (convert_typed_floating): New function.

23 years agodaily update
Alan Modra [Mon, 29 Oct 2001 23:00:04 +0000 (23:00 +0000)]
daily update

23 years ago * d30v-dis.c: Fix a comment typo.
Kazu Hirata [Mon, 29 Oct 2001 22:43:32 +0000 (22:43 +0000)]
* d30v-dis.c: Fix a comment typo.

23 years ago * ldlang.c: Fix a comment typo.
Kazu Hirata [Mon, 29 Oct 2001 22:36:32 +0000 (22:36 +0000)]
* ldlang.c: Fix a comment typo.

23 years ago * README: Fix a typo.
Kazu Hirata [Mon, 29 Oct 2001 22:29:59 +0000 (22:29 +0000)]
* README: Fix a typo.

23 years ago * bfdsumm.texi: Fix a typo.
Kazu Hirata [Mon, 29 Oct 2001 22:26:12 +0000 (22:26 +0000)]
* bfdsumm.texi: Fix a typo.

23 years ago * gdb.base/call-ar-st.c (print_double_array): Match for loop
Corinna Vinschen [Mon, 29 Oct 2001 18:20:22 +0000 (18:20 +0000)]
* gdb.base/call-ar-st.c (print_double_array): Match for loop
with new double_array size.
(main): Change storage class of all local variables to static.
Reduce size of double_array to 9.
* gdb.base/call-ar-st.exp:  Increase timeout value.
Change expected output for double array to match new size in
call-ar-st.c.

23 years ago * gdb.base/ending-run.exp: Create identical output when passing
Corinna Vinschen [Mon, 29 Oct 2001 18:16:46 +0000 (18:16 +0000)]
* gdb.base/ending-run.exp: Create identical output when passing
`step to end of run' case.  Add regular expression branch satisfying
Stormy16 target.

23 years ago* gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
Mark Kettenis [Mon, 29 Oct 2001 17:38:11 +0000 (17:38 +0000)]
* gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
that we catch the expected failure under Linux/x86.

23 years ago2001-10-29 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Mon, 29 Oct 2001 16:24:35 +0000 (16:24 +0000)]
2001-10-29  Orjan Friberg  <orjanf@axis.com>

* gdb.base/setvar.exp: Escape curly braces.
* gdb.stabs/weird.exp: Ditto.

23 years agodaily update, a bit late..
Alan Modra [Mon, 29 Oct 2001 04:00:48 +0000 (04:00 +0000)]
daily update, a bit late..

23 years ago*** empty log message ***
gdbadmin [Mon, 29 Oct 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* doublest.c: Improve comments a bit.
Mark Kettenis [Sun, 28 Oct 2001 22:06:27 +0000 (22:06 +0000)]
* doublest.c: Improve comments a bit.
(floatformat_from_length): New function.
(NAN): Define to 0.0 if not already defined.
(extract_floating): Rewrite to use floatformat_from_length.  Warn
instead of error if LEN doesn't match a known floating-point type,
and return NaN (or 0.0 if NaN isn't available) in that case.
(store_floating): Likewise, but zero out the target byte-stream if
LEN doesn't match a known floating-point type.
(extract_typed_floating): Reformat a bit.
(store_typed_floating): Reformat a bit.  Add comment about zeroing
out padding in the target buffer.
* doublest.h (extract_floating, store_floating): Fix comment about
deprecation of these functions.  Add parameter names to prototypes.

23 years ago* i387-tdep.c (print_i387_value): Use extract_typed_floating to
Mark Kettenis [Sun, 28 Oct 2001 14:07:35 +0000 (14:07 +0000)]
* i387-tdep.c (print_i387_value): Use extract_typed_floating to
convert RAW to a DOUBLEST instead of extract_floating.

23 years ago* gdbtypes.c (_initialize_gdbtypes): Set floating-point type for
Mark Kettenis [Sun, 28 Oct 2001 12:43:12 +0000 (12:43 +0000)]
* gdbtypes.c (_initialize_gdbtypes): Set floating-point type for
builtin_type_i387_ext to floatformat_i387_ext.

23 years ago * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
Daniel Jacobowitz [Sun, 28 Oct 2001 00:29:50 +0000 (00:29 +0000)]
    * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
        * gdm.mi/mi0-hack-cli.exp: Likewise.

23 years ago*** empty log message ***
gdbadmin [Sun, 28 Oct 2001 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

23 years agodaily update
Alan Modra [Sat, 27 Oct 2001 23:00:06 +0000 (23:00 +0000)]
daily update

23 years agoChange footer to refer to FSF. Change subtitle to refer to original creation date.
Nick Clifton [Sat, 27 Oct 2001 07:31:26 +0000 (07:31 +0000)]
Change footer to refer to FSF.  Change subtitle to refer to original creation date.

23 years ago*** empty log message ***
gdbadmin [Sat, 27 Oct 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

23 years agodaily update
Alan Modra [Sat, 27 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

23 years ago * arm-linux-nat.c (fill_gregset): Do not check register_valid[].
Daniel Jacobowitz [Fri, 26 Oct 2001 15:41:17 +0000 (15:41 +0000)]
    * arm-linux-nat.c (fill_gregset): Do not check register_valid[].
        (fill_fpregset): Likewise.

23 years ago2001-10-26 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Fri, 26 Oct 2001 14:54:24 +0000 (14:54 +0000)]
2001-10-26  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (constraint): Loop through the whole cris_spec_regs
struct, not just the NUM_SPECREGS first entries.
(bdap_prefix): Read PC before autoincrement.

23 years agoFix usage of H_GET_32/16. Likewise with H_PUT_32/16.
Nick Clifton [Fri, 26 Oct 2001 10:57:04 +0000 (10:57 +0000)]
Fix usage of H_GET_32/16. Likewise with H_PUT_32/16.

23 years ago * win32-nat.c (DebugSetProcessKillOnExit): New static function
Corinna Vinschen [Fri, 26 Oct 2001 09:29:31 +0000 (09:29 +0000)]
    * win32-nat.c (DebugSetProcessKillOnExit): New static function
        pointer to Windows' DebugSetProcessKillOnExit() function.
        (DebugActiveProcessStop): Ditto for DebugActiveProcessStop().
        (has_detach_ability): New function.
        (child_attach): If system has detach ability, enable it.
        (child_detach): If system has detach ability, actually
        detach from process.
        Change tty output to Linux format.

23 years agoChirp fixes:
Andrew Cagney [Fri, 26 Oct 2001 04:37:54 +0000 (04:37 +0000)]
Chirp fixes:
* hw_htab.c (htab_map_binary): Don't try to map the text section
when it is empty.
* emul_chirp.c (map_over_chirp_note): Default load-base to -1 not
CHIRP_LOAD_BASE.
(emul_chirp_create): Map in the interrupt table.

23 years agoUnify stabs/weird messages.
Andrew Cagney [Fri, 26 Oct 2001 04:17:45 +0000 (04:17 +0000)]
Unify stabs/weird messages.