platform/upstream/binutils.git
22 years ago* acconfig.h (HAVE_PT_GETXMMREGS): New.
Jason Thorpe [Sat, 5 Jan 2002 18:36:32 +0000 (18:36 +0000)]
* acconfig.h (HAVE_PT_GETXMMREGS): New.
* config.in: Regenerate.
* configure.in: Update copyright years.
Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
* configure: Regenerate.
* i386bsd-nat.c: Update copyright years.
(fill_gregset): Use regcache_collect.
(fetch_inferior_registers): Only fetch integer registers
if requested to do so.  Add support for XMM registers
using PT_GETXMMREGS.
(store_inferior_registers): Only store integer registers
if requested to do so.  Add support for XMM registers
using PT_SETXMMREGS.
* i386nbsd-nat.c (fetch_inferior_registers): Remove.
(store_inferior_registers): Remove.
(fetch_core_registers): Use supply_gregset and i387_supply_fsave.
(fetch_elfcore_registers): New function.
(i386nbsd_elfcore_fns): New.
(_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
* config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
i386bsd-nat.o.
* config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
* config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
* config/i386/nbsdelf.mt (TDEPFILES): Likewise.
* config/i386/tm-nbsd.h: Update copyright years.
(HAVE_SSE_REGS): Define.
(IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
(SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
(SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
(SIGCONTEXT_PC_OFFSET): Remove.
(FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.

22 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
Alan Modra [Sat, 5 Jan 2002 13:14:00 +0000 (13:14 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
of bfd_section_list_remove and bfd_section_list_insert macros.
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
* emultempl/mmo.em (mmo_place_orphan): Likewise.

22 years ago * write.c (write_object_file): Make use of bfd_section_list_remove.
Alan Modra [Sat, 5 Jan 2002 13:13:18 +0000 (13:13 +0000)]
* write.c (write_object_file): Make use of bfd_section_list_remove.
* config/obj-ecoff.c (ecoff_frob_file): Likewise.
* config/tc-mmix.c (mmix_frob_file): Likewise.

22 years ago * section.c (bfd_section_init): Remove unnecessary initialisations.
Alan Modra [Sat, 5 Jan 2002 13:11:33 +0000 (13:11 +0000)]
* section.c (bfd_section_init): Remove unnecessary initialisations.
(bfd_section_list_clear): New function.
(bfd_section_list_remove, bfd_section_list_insert): New macros.
(_bfd_strip_section_from_output): Use them.
* coffcode.h (coff_set_alignment_hook): Likewise.
* elf32-mips.c (_bfd_mips_elf_final_link): Likewise.
* elf64-mips.c (mips_elf64_final_link): Likewise.
* elf64-mmix.c (mmix_elf_final_link): Likewise.
* sunos.c (sunos_add_dynamic_symbols): Likewise.
* xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise.
* bfd-in2.h: Regenerate.

* netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway
rather than doing our own section handling.  Clean up after errors
with bfd_release and bfd_section_list_clear.  Handle unexpected
flags.
* aoutf1.h (sunos4_core_file_p): Likewise.
* aix386-core.c (aix386_core_file_p): Likewise.
* cisco-core.c (cisco_core_file_validate): Likewise.
* ptrace-core.c (ptrace_unix_core_file_p): Likewise.
* trad-core.c (trad_unix_core_file_p): Likewise.

* hppabsd-core.c (hppabsd_core_core_file_p):  Clean up after errors
with bfd_release and bfd_section_list_clear.
* hpux-core.c (hpux_core_core_file_p): Likewise.
* irix-core.c (irix_core_core_file_p): Likewise.
* lynx-core.c (lynx_core_file_p): Likewise.
* osf-core.c (osf_core_core_file_p): Likewise.
* rs6000-core.c (rs6000coff_core_p): Likewise.
* sco5-core.c (sco5_core_file_p): Likewise.

22 years ago * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform
Alan Modra [Sat, 5 Jan 2002 12:36:18 +0000 (12:36 +0000)]
* elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform
sign extension adjustments without conditionals.

22 years agoRemove obsolete MacOS support.
Andrew Cagney [Sat, 5 Jan 2002 05:54:31 +0000 (05:54 +0000)]
Remove obsolete MacOS support.

22 years agos/BIG_ENDIAN/BFD_ENDIAN_BIG/
Andrew Cagney [Sat, 5 Jan 2002 04:30:46 +0000 (04:30 +0000)]
s/BIG_ENDIAN/BFD_ENDIAN_BIG/

22 years ago2002-01-04 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 5 Jan 2002 02:44:07 +0000 (02:44 +0000)]
2002-01-04  Michael Snyder  <msnyder@redhat.com>

        * gdb.base/info-proc.exp: New file, test for "info proc" cmd.

22 years ago2002-01-04 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 5 Jan 2002 02:40:47 +0000 (02:40 +0000)]
2002-01-04  Michael Snyder  <msnyder@redhat.com>

* gdb.base/maint.exp: Add tests for maint info sections options.

22 years ago2002-01-04 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sat, 5 Jan 2002 01:46:30 +0000 (01:46 +0000)]
2002-01-04  Daniel Jacobowitz  <drow@mvista.com>

        * thread-db.c (thread_db_new_objfile): Do not enable thread_db
        for core files.

22 years ago*** empty log message ***
gdbadmin [Sat, 5 Jan 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
Jason Thorpe [Fri, 4 Jan 2002 23:49:04 +0000 (23:49 +0000)]
* config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.

22 years agoMove value_ptr typedef to gdbtk-wrapper from value.h.
Andrew Cagney [Fri, 4 Jan 2002 23:21:38 +0000 (23:21 +0000)]
Move value_ptr typedef to gdbtk-wrapper from value.h.

22 years agodaily update
Alan Modra [Fri, 4 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago* i386nbsd-nat.c: Update copyright years.
Jason Thorpe [Fri, 4 Jan 2002 22:43:31 +0000 (22:43 +0000)]
* i386nbsd-nat.c: Update copyright years.
Include i386-tdep.h.

22 years agoWrite After Approval: Add myself.
Jason Thorpe [Fri, 4 Jan 2002 22:41:21 +0000 (22:41 +0000)]
Write After Approval: Add myself.

22 years agoMention PR number fixed.
Elena Zannoni [Fri, 4 Jan 2002 19:55:08 +0000 (19:55 +0000)]
Mention PR number fixed.

22 years ago2002-01-04 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 4 Jan 2002 19:43:09 +0000 (19:43 +0000)]
2002-01-04  Elena Zannoni  <ezannoni@redhat.com>

* stabsread.c: Update copyright years.

From Debashis Mahata <debashis.mahata@wipro.com>:
(read_struct_fields): Deal with Sun C compiler erroneous stab
output for structs and unions.

22 years ago2002-01-04 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 4 Jan 2002 19:16:28 +0000 (19:16 +0000)]
2002-01-04  Daniel Jacobowitz  <drow@mvista.com>

        * p-valprint.c: Include "cp-abi.h" for baseclass_offset
        prototype.

22 years ago2002-01-04 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 4 Jan 2002 18:20:19 +0000 (18:20 +0000)]
2002-01-04  Daniel Jacobowitz  <drow@mvista.com>

        * cp-abi.c: Fix whitespace.
        (baseclass_offset): New wrapper function.
        * cp-abi.h (baseclass_offset): Add prototype.
        (struct cp_abi_ops): Add baseclass_offset pointer.

        * valops.c (vb_match): Move to...
        * gnu-v2-abi.c (vb_match): here.
        * valops.c (baseclass_offset): Move to...
        * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.

        * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.

        * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
        * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
        * hpacc-abi.c (init_hpacc_ops): Likewise.

22 years ago2002-01-04 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 4 Jan 2002 17:51:38 +0000 (17:51 +0000)]
2002-01-04  Daniel Jacobowitz  <drow@mvista.com>

        * valops.c (find_overload_match): Accept obj as a
        reference parameter.  Update it before returning.
        * value.h (find_overload_match): Update prototype.
        * eval.c (evaluate_subexp_standard): Pass object to
        find_overload_match by reference.

22 years ago * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if
Jakub Jelinek [Fri, 4 Jan 2002 17:02:30 +0000 (17:02 +0000)]
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if
CIE at .eh_frame start is removed due to no FDEs referencing it.

22 years agobfd:
Andreas Jaeger [Fri, 4 Jan 2002 14:49:06 +0000 (14:49 +0000)]
bfd:
* config.bfd (x86_64-*-netbsd*): New target.
* configure.in (x86_64-*-netbsd*): Set COREFILE
to netbsd-core.lo.
* configure: Regenerated.

gas:
* configure.in (i386-*-netbsdelf*): Collapse target into...
(i386-*-netbsd*): ...this.  Add support for x86-64.
* configure: Regenerated.

ld:
* configure.tgt (x86_64-*-netbsd*): New target.

22 years agos/value_ptr/struct value */
Andrew Cagney [Fri, 4 Jan 2002 05:20:09 +0000 (05:20 +0000)]
s/value_ptr/struct value */

22 years ago* bits.c (LSMASKED64): New inline function.
Matthew Green [Fri, 4 Jan 2002 00:00:54 +0000 (00:00 +0000)]
* bits.c (LSMASKED64): New inline function.
(LSEXTRACTED64): Likewise.
* bits.h (_LSB_POS, _LSMASKn, LSMASK64): New macros from
sim/common/sim-bits.h
(LSMASKED64, LSEXTRACTED64): New functions definitions.
* Makefile.in (sim-bits.o): Remove target.

* main.c (zalloc): Fix typo in error message.

22 years ago*** empty log message ***
gdbadmin [Fri, 4 Jan 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoFix xcoff linker's ordering of pad sections
Tom Rix [Thu, 3 Jan 2002 22:06:38 +0000 (22:06 +0000)]
Fix xcoff linker's ordering of pad sections

22 years agoRemove use of ngettext()
Nick Clifton [Thu, 3 Jan 2002 21:32:36 +0000 (21:32 +0000)]
Remove use of ngettext()

22 years ago2001-12-28 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 3 Jan 2002 20:50:25 +0000 (20:50 +0000)]
2001-12-28  Michael Snyder  <msnyder@redhat.com>

Abstract the functionality of iterating over mapped memory
regions into a general purpose iterator function.
* procfs.c (iterate_over_mappings): New function, general purpose
iterator for memory sections.
(proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
(solib_mappings_callback): New function, callback for above.
(info_proc_mappings): Reimpliment using iterate_over_mappings.
(info_mappings_callback): New function, callback for above.

* procfs.c (proc_set_watchpoint): Add cast to suppress warning.

22 years agoHandle R_ARM_THM_PC11
Nick Clifton [Thu, 3 Jan 2002 14:23:01 +0000 (14:23 +0000)]
Handle R_ARM_THM_PC11

22 years agoRoll ChangeLog files.
Andrew Cagney [Thu, 3 Jan 2002 06:02:43 +0000 (06:02 +0000)]
Roll ChangeLog files.

22 years ago[gas/ChangeLog]
Matthew Green [Thu, 3 Jan 2002 02:07:19 +0000 (02:07 +0000)]
[gas/ChangeLog]
* config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.

[include/opcode/ChangeLog]
* ppc.h (PPC_OPCODE_BOOKE): BookE is not Motorola specific.
(PPC_OPCODE_BOOKE64): Likewise.

22 years agomerge from gcc
DJ Delorie [Thu, 3 Jan 2002 00:25:57 +0000 (00:25 +0000)]
merge from gcc

22 years ago*** empty log message ***
gdbadmin [Thu, 3 Jan 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * MAINTAINERS: Update URL for config.* scripts.
Ben Elliston [Wed, 2 Jan 2002 21:44:52 +0000 (21:44 +0000)]
* MAINTAINERS: Update URL for config.* scripts.

22 years ago2002-01-02 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 2 Jan 2002 18:59:32 +0000 (18:59 +0000)]
2002-01-02  Chris Demetriou  <cgd@broadcom.com>

        * ld-mips-elf/empic1-ln.d: New file to test basic linking of
        R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations.
        * ld-mips-elf/empic1-lp.d: Likewise.
        * ld-mips-elf/empic1-mn.d: Likewise.
        * ld-mips-elf/empic1-mp.d: Likewise.
        * ld-mips-elf/empic1-sn.d: Likewise.
        * ld-mips-elf/empic1-sp.d: Likewise.
        * ld-mips-elf/empic1-ref.s: Likewise.
        * ld-mips-elf/empic1-space.s: Likewise.
        * ld-mips-elf/empic1-tgt.s: Likewise.
        * ld-mips-elf/empic2-fwd-0.d: New file to test
        R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocation edge
        cases.
        * ld-mips-elf/empic2-fwd-1.d: Likewise.
        * ld-mips-elf/empic2-rev-0.d: Likewise.
        * ld-mips-elf/empic2-rev-1.d: Likewise.
        * ld-mips-elf/empic2-ref.s: Likewise.
        * ld-mips-elf/empic2-space.s: Likewise.
        * ld-mips-elf/empic2-fwd-tgt.s: Likewise.
        * ld-mips-elf/empic2-rev-tgt.s: Likewise.
        * ld-mips-elf/mips-elf.exp: New file to run MIPS 32-bit ELF
        tests (including those above).

22 years agomerge from gcc
DJ Delorie [Wed, 2 Jan 2002 18:01:38 +0000 (18:01 +0000)]
merge from gcc

22 years agoTest for a NULL frag link.
Nick Clifton [Wed, 2 Jan 2002 17:19:07 +0000 (17:19 +0000)]
Test for a NULL frag link.

22 years agoAdd japanese translation
Nick Clifton [Wed, 2 Jan 2002 16:15:32 +0000 (16:15 +0000)]
Add japanese translation

22 years agoFix spelling typo.
Nick Clifton [Wed, 2 Jan 2002 15:55:48 +0000 (15:55 +0000)]
Fix spelling typo.
Reformat messages to ease translation into other languages.

22 years agoReformat error messages to ease translation into other languages.
Nick Clifton [Wed, 2 Jan 2002 15:36:27 +0000 (15:36 +0000)]
Reformat error messages to ease translation into other languages.

22 years ago(Free Software): Fix wording of the new section.
Eli Zaretskii [Wed, 2 Jan 2002 06:15:47 +0000 (06:15 +0000)]
(Free Software): Fix wording of the new section.

22 years ago*** empty log message ***
gdbadmin [Wed, 2 Jan 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agomerge from gcc
DJ Delorie [Tue, 1 Jan 2002 17:46:09 +0000 (17:46 +0000)]
merge from gcc

22 years ago* i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
Mark Kettenis [Tue, 1 Jan 2002 16:29:43 +0000 (16:29 +0000)]
* i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
* i386-tdep.c: Include "elf-bfd.h".
(process_note_abi_tag_sections): New function.
(i386_gdbarch_init): Add code to recognize various OS/ABI
combinations.

22 years ago* maint.c (_initialize_maint_cmds): Add missing in
Mark Kettenis [Tue, 1 Jan 2002 15:17:40 +0000 (15:17 +0000)]
* maint.c (_initialize_maint_cmds): Add missing  in
string-literal.

22 years ago * config/tc-ia64.c (has_suffix_p): New.
Richard Henderson [Tue, 1 Jan 2002 01:18:17 +0000 (01:18 +0000)]
    * config/tc-ia64.c (has_suffix_p): New.
        (note_register_values): Use it instead of strstr.

22 years ago * config/tc-ia64.c (errata_nop_necessary_p): Prototype.
Richard Henderson [Tue, 1 Jan 2002 01:16:44 +0000 (01:16 +0000)]
    * config/tc-ia64.c (errata_nop_necessary_p): Prototype.
        (make_unw_section_name): Constify local variables.

22 years agomerge from gcc
DJ Delorie [Tue, 1 Jan 2002 01:03:22 +0000 (01:03 +0000)]
merge from gcc

22 years ago*** empty log message ***
gdbadmin [Tue, 1 Jan 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * config/tc-hppa.c (pa_ip): Handle new 'c' mode completers,
Jeff Law [Mon, 31 Dec 2001 23:47:02 +0000 (23:47 +0000)]
    * config/tc-hppa.c (pa_ip): Handle new 'c' mode completers,
        'X', 'M', and 'A'.

22 years ago * hppa-dis.c (print_insn_hppa): Handle new 'c' mode completers,
Jeff Law [Mon, 31 Dec 2001 23:44:08 +0000 (23:44 +0000)]
    * hppa-dis.c (print_insn_hppa): Handle new 'c' mode completers,
        'X', 'M', and 'A'.  No longer emit a space after 'x' or 's'.
        Always emit a space after 'H'.

22 years ago * hppa.h (call, ret): Move to end of table.
Jeff Law [Mon, 31 Dec 2001 23:43:03 +0000 (23:43 +0000)]
    * hppa.h (call, ret): Move to end of table.
        (addb, addib): PA2.0 variants should have been PA2.0W.
        (ldw, ldh, ldb, stw, sth, stb, stwa): Reorder to keep disassembler
        happy.
        (fldw, fldd, fstw, fstd, bb): Likewise.
        (short loads/stores): Tweak format specifier slightly to keep
        disassembler happy.
        (indexed loads/stores): Likewise.
        (absolute loads/stores): Likewise.

22 years agoFix a typo in the last change.
Eli Zaretskii [Mon, 31 Dec 2001 19:33:46 +0000 (19:33 +0000)]
Fix a typo in the last change.

22 years agoFix last change.
Eli Zaretskii [Mon, 31 Dec 2001 19:17:30 +0000 (19:17 +0000)]
Fix last change.

22 years ago * gdb.texinfo (Free Software): New section ``Free Software Needs
Eli Zaretskii [Mon, 31 Dec 2001 19:06:39 +0000 (19:06 +0000)]
* gdb.texinfo (Free Software): New section ``Free Software Needs
Free Documentation''.

22 years ago * elflink.h (elf_bfd_final_link): Check if dynobj is not NULL
Jakub Jelinek [Mon, 31 Dec 2001 11:49:10 +0000 (11:49 +0000)]
* elflink.h (elf_bfd_final_link): Check if dynobj is not NULL
before looking for .eh_frame_hdr section.
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame_hdr): If
.eh_frame_hdr section is being stripped from output, don't do
anything.

22 years agoFix for xcoff <bigaf> big archive format support.
Tom Rix [Mon, 31 Dec 2001 04:08:23 +0000 (04:08 +0000)]
Fix for xcoff <bigaf> big archive format support.

22 years agoFix for xcoff <bigaf> big archive support.
Tom Rix [Mon, 31 Dec 2001 04:06:14 +0000 (04:06 +0000)]
Fix for xcoff <bigaf> big archive support.

22 years ago*** empty log message ***
gdbadmin [Mon, 31 Dec 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-12-30 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sun, 30 Dec 2001 17:00:43 +0000 (17:00 +0000)]
2001-12-30  Michael Snyder  <msnyder@redhat.com>

        * sparc-tdep.c (sparc-store-return-value): Whitespace fix-up.

22 years agoFix the application of GFDL in the Copyright notice.
Eli Zaretskii [Sun, 30 Dec 2001 06:25:16 +0000 (06:25 +0000)]
Fix the application of GFDL in the Copyright notice.

22 years ago2001-12-29 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sun, 30 Dec 2001 03:52:20 +0000 (03:52 +0000)]
2001-12-29  Michael Snyder  <msnyder@redhat.com>

* gdb.texinfo (maint info sections): Fix typo.

22 years ago2001-12-29 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Sun, 30 Dec 2001 00:14:50 +0000 (00:14 +0000)]
2001-12-29  Elena Zannoni  <ezannoni@redhat.com>

* Makefile.in (rs6000-tdep.o): Add dependency on parser-defs.h.

* rs6000-tdep.c: Include parser-defs.h.
(rs6000_register_virtual_type): Rewrite, including handling of
AltiVec regs type.
(altivec_register_p): New function.
(rs6000_do_altivec_registers): New function.
(rs6000_altivec_registers_info): New function.
(rs6000_do_registers_info): New function.
(R16): Define.
(PPC_ALTIVEC_REGS): Define.
(registers_powerpc): Add AltiVec registers.
(registers_7400): Define.
(variants): Add 7400 machine.
(rs6000_gdbarch_init): Set the numbers of AltiVec registers.
Initialize gdbarch_do)_registers_info.
(rs6000_info_power_command): New function.
(info_power_cmdlist): New static variable.
(_initialize_rs6000_tdep): Add new 'info powerpc altivec' command.

* ppc-tdep.h (struct gdbarch_tdep): Add altivec regnum fields.
(altivec_register_p): Export.

22 years ago*** empty log message ***
gdbadmin [Sun, 30 Dec 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* i386bsd-nat.c (reg_offset): Fix typo.
Mark Kettenis [Sat, 29 Dec 2001 20:15:47 +0000 (20:15 +0000)]
* i386bsd-nat.c (reg_offset): Fix typo.

22 years ago* i386-tdep.c (i386_push_dummy_frame): Don't write back the
Mark Kettenis [Sat, 29 Dec 2001 19:38:16 +0000 (19:38 +0000)]
* i386-tdep.c (i386_push_dummy_frame): Don't write back the
modified frame pointer until the old frame pointer has been saved.

22 years ago* arch-utils.c (initialize_current_architecture): Test byte_order
Andrew Cagney [Sat, 29 Dec 2001 19:25:58 +0000 (19:25 +0000)]
* arch-utils.c (initialize_current_architecture): Test byte_order
against BFD_ENDIAN_UNKNOWN.
(gdbarch_info_init): Initialize byte_order to BFD_ENDIAN_UNKNOWN.
* gdbarch.sh: Update comments on default value of byte_order.
(verify_gdbarch, gdbarch_update_p): Test byte_order against
BFD_ENDIAN_UNKNOWN.
* gdbarch.h, gdbarch.c: Re-generate.

22 years ago*** empty log message ***
gdbadmin [Sat, 29 Dec 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-12-21 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 28 Dec 2001 19:47:08 +0000 (19:47 +0000)]
2001-12-21  Michael Snyder  <msnyder@redhat.com>

* procfs.c (info_proc_cmd): Add the 'mappings' sub-command that
was dropped a few years ago, when procfs.c was rewritten.
(info_proc_mappings): New function, implement 'info proc mappings'.
(mappingflags): New function.
(_initialize_procfs): Document new option to 'info proc' command.

22 years ago*** empty log message ***
gdbadmin [Fri, 28 Dec 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-12-27 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 27 Dec 2001 19:52:31 +0000 (19:52 +0000)]
2001-12-27  Michael Snyder  <msnyder@redhat.com>

* i386-linux-nat.c: Include i386-tdep.h.

22 years ago2001-12-26 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 27 Dec 2001 19:37:12 +0000 (19:37 +0000)]
2001-12-26  Michael Snyder  <msnyder@redhat.com>

* gdb.texinfo (maint info sections): Document.

22 years ago2001-12-27 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 27 Dec 2001 19:33:05 +0000 (19:33 +0000)]
2001-12-27  Michael Snyder  <msnyder@redhat.com>

* maint.c (match_substring): GNU coding standards fixes.
(print_bfd_section_info): Ditto.
(print_objfile_section_info): Ditto.

22 years ago2001-12-26 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 27 Dec 2001 18:41:40 +0000 (18:41 +0000)]
2001-12-26  Michael Snyder  <msnyder@redhat.com>

        * gdb.texinfo (info proc): Comment out documentation for
        'info proc' sub-options that are currently not implemented.

22 years ago* maint.c (match_substring): Make parameters `string' and `substr'
Mark Kettenis [Thu, 27 Dec 2001 15:37:35 +0000 (15:37 +0000)]
* maint.c (match_substring): Make parameters `string' and `substr'
const.  Make local variable `tok' const.

22 years ago* config/i386/tm-i386.h (FP7_REGNUM, FIRST_FPU_CTRL_REGNUM,
Mark Kettenis [Thu, 27 Dec 2001 15:22:27 +0000 (15:22 +0000)]
* config/i386/tm-i386.h (FP7_REGNUM, FIRST_FPU_CTRL_REGNUM,
FCTRL_REGNUM, FPC_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FCS_REGNUM,
FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM, FOP_REGNUM,
LAST_FPU_CTRL_REGNUM, XMM0_REGNUM, XMM7_REGNUM, MXCSR_REGNUM,
IS_FP_REGNUM, IS_SSE_REGNUM): Removed.
(FP0_REGNUM): Define conditionally depending on HAVE_I387_REGS.
(SIZEOF_FPU_CTRL_REGS): Hardcode value.
* i386-tdep.h (struct gdbarch_tdep): Change such that it contains
a single member `num_xmm_regs'.
(FPC_REGNUM): New macro.
(FIRST_FPU_REGNUM, LAST_FPU_REGNUM, FISRT_XMM_REGNUM,
LAST_XMM_REGNUM, MXCSR_REGNUM, FIRST_FPU_CTRL_REGNUM,
LAST_FPU_CTRL_REGNUM): Removed.
(FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FOP_REGNUM, XMM0_REGNUM,
MXCSR_REGNUM): Define unconditionally.  Change macros to match the
comment describing the register layout.
(FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM): New macros.
(FP_REGNUM_P, FPC_REGNUM_P, SSE_REGNUM_P): New macros.
(IS_FP_REGNUM, IS_FPU_CTRL_REGNUM, IS_SSE_REGNUM): Make obsolete,
unconditionally define in terms of FP_REGNUM_P, FPC_REGNUM_P and
SSE_REGNUM_P).
(FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM): Make
obsolete, unconditionally define in terms of FISEG_REGNUM,
FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM.
* i386-tdep.c (i386_gdbarch_init): Initialize `num_xmm_regs'
member of `struct gdbarch_tdep'.
* x86-64-tdep.c (i386_gdbarch_init): Change initialization of
`struct gdbarch_tdep'.
* i387-nat.c (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM):
Replace with FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM and
FOOFF_REGNUM.  Use FPC_REGNUM instead of FIRST_FPU_CTRL_REGNUM.
Use XMM0_REGNUM instead of LAST_FPU_CTRL_REGNUM.

22 years ago*** empty log message ***
gdbadmin [Thu, 27 Dec 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
gdbadmin [Wed, 26 Dec 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* cli/cli-script.c (execute_control_command): Replace value_ptr
Andrew Cagney [Tue, 25 Dec 2001 22:24:39 +0000 (22:24 +0000)]
* cli/cli-script.c (execute_control_command): Replace value_ptr
with a struct value pointer.
* ch-lang.c (evaluate_subexp_chill): Ditto.
* printcmd.c (printf_command): Ditto.
* tracepoint.c (set_traceframe_context): Ditto.
(encode_actions): Ditto.
* eval.c (evaluate_subexp_standard): Ditto.

22 years ago* gdbarch.sh: When an int variable, print value using %d instead
Andrew Cagney [Tue, 25 Dec 2001 22:19:40 +0000 (22:19 +0000)]
* gdbarch.sh: When an int variable, print value using %d instead
of %ld.
* gdbarch.c: Re-generate.

22 years ago*** empty log message ***
gdbadmin [Tue, 25 Dec 2001 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agopowerpc aix build failure. Add self to maintainers.
Tom Rix [Mon, 24 Dec 2001 20:07:02 +0000 (20:07 +0000)]
powerpc aix build failure.  Add self to maintainers.

22 years agomerge from gcc
DJ Delorie [Mon, 24 Dec 2001 19:13:07 +0000 (19:13 +0000)]
merge from gcc

22 years ago*** empty log message ***
gdbadmin [Mon, 24 Dec 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sun, 23 Dec 2001 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 23 Dec 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sat, 22 Dec 2001 23:00:07 +0000 (23:00 +0000)]
daily update

22 years ago-binitfini emulation, put __rtinit symbol generation into linker.
Tom Rix [Sat, 22 Dec 2001 17:18:34 +0000 (17:18 +0000)]
-binitfini emulation, put __rtinit symbol generation into linker.

22 years ago*** empty log message ***
gdbadmin [Sat, 22 Dec 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Fri, 21 Dec 2001 23:00:07 +0000 (23:00 +0000)]
daily update

22 years ago * elf32-sparc.c (_bfd_sparc_elf_howto_table): Fix dst_mask for
Jakub Jelinek [Fri, 21 Dec 2001 22:35:24 +0000 (22:35 +0000)]
* elf32-sparc.c (_bfd_sparc_elf_howto_table): Fix dst_mask for
R_SPARC_DISP32.  Support R_SPARC_PLT32.
(sparc_reloc_map): Add BFD_RELOC_16_PCREL and BFD_RELOC_SPARC_PLT32.
(elf32_sparc_check_relocs): Handle R_SPARC_PLT32.
(elf32_sparc_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_howto_table): Fix dst_mask for
R_SPARC_DISP32.  Support R_SPARC_PLT32 and R_SPARC_PLT64.
(sparc_reloc_map): Add BFD_RELOC_16_PCREL, BFD_RELOC_64_PCREL
and BFD_RELOC_SPARC_PLT32.
(sparc64_elf_check_relocs): Handle R_SPARC_PLT32 and R_SPARC_PLT64.
(sparc64_elf_relocate_section): Likewise.
* reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SPARC_PLT32.
* bfd-in2.h, libbfd.h: Rebuilt.

* config/tc-sparc.h (TC_PARSE_CONS_EXPRESSION): Define.
(sparc_cons): Provide prototype.
* config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_*_PCREL and
BFD_RELOC_SPARC_PLT{32,64}.  Enumerate for which relocs
reloc->addend = fixp->fx_addnumber shouldn't be done instead of
enumarating for which pc relative ones it should be done.
(sparc_cons_special_reloc): New variable.
(sparc_cons): New function.
(cons_fix_new_sparc): Use sparc_cons_special_reloc.
* testsuite/gas/sparc/pcrel.s: New test.
* testsuite/gas/sparc/pcrel.d: Expected output.
* testsuite/gas/sparc/pcrel64.s: New test.
* testsuite/gas/sparc/pcrel64.d: Expected output.
* testsuite/gas/sparc/plt.s: New test.
* testsuite/gas/sparc/plt.d: Expected output.
* testsuite/gas/sparc/plt64.s: New test.
* testsuite/gas/sparc/plt64.d: Expected output.
* testsuite/gas/sparc/sparc.exp: Add pcrel, pcrel64, plt and plt64
tests.

22 years ago * configure, config.in: Rebuilt.
Tom Tromey [Fri, 21 Dec 2001 22:32:37 +0000 (22:32 +0000)]
* configure, config.in: Rebuilt.
* configure.in: Check for realpath.
* defs.h (gdb_realpath): Declare.
* symtab.h (partial_symtab): Added fullname field.
* source.c (openp): Use gdb_realpath.
(forget_cached_source_info): Clear full name of each partial
symtab.
* utils.c (gdb_realpath): New function.
* symtab.c (lookup_symtab): Removed.
(lookup_symtab_1): Renamed to lookup_symtab.
(lookup_symtab): Look for real path.
(lookup_partial_symtab): Likewise.

22 years ago2001-12-21 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 21 Dec 2001 17:30:02 +0000 (17:30 +0000)]
2001-12-21  Michael Snyder  <msnyder@redhat.com>

        * maint.c (match_substring): New function.  Tokenizer for
        'maintenance info sections' command arguments.
        (match_bfd_flag): Use match_substring.
        (print_bfd_section_info): Use match_substring.
        (print_objfile_section_info): Use match_substring.
        (maintenance_info_sections): Use match_substring.

22 years ago * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
Jeff Law [Fri, 21 Dec 2001 16:40:07 +0000 (16:40 +0000)]
    * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.

22 years agoImport Swedish translation
Nick Clifton [Fri, 21 Dec 2001 11:44:46 +0000 (11:44 +0000)]
Import Swedish translation

22 years agoUse real binary file for .incbin test
Nick Clifton [Fri, 21 Dec 2001 11:40:53 +0000 (11:40 +0000)]
Use real binary file for .incbin test

22 years ago2001-12-21 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Fri, 21 Dec 2001 09:53:58 +0000 (09:53 +0000)]
2001-12-21  Orjan Friberg  <orjanf@axis.com>

* configure.tgt: Delete CRIS from multi-arch targets.

* config/cris/tm-cris.h: New file.

* config/cris/cris.mt (TDEPFILES): Add corelow.o solib.o solib-svr4.o.
(TM_FILE): New macro.

* cris-tdep.c (cris_examine): Correct check for srp register.
(supply_gregset, fetch_core_registers,
cris_linux_svr4_fetch_link_map_offsets, cris_fpless_backtrace):
New functions.
(_initialize_cris_tdep): Add core functions and new command.
(cris_gdbarch_init): Define link map offsets.

22 years ago * run.c (usage): Fix a typo.
Kazu Hirata [Fri, 21 Dec 2001 00:47:18 +0000 (00:47 +0000)]
* run.c (usage): Fix a typo.

22 years ago * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
Jeff Law [Fri, 21 Dec 2001 00:30:38 +0000 (00:30 +0000)]
    * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
        with HP's compiler.
        * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
        * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
        * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
        * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.

        * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
        either HP's compilers or GCC.