OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years ago Add script to build and test GDB using enable-targets=all.
Markus Deuling [Wed, 13 Feb 2008 05:05:29 +0000 (05:05 +0000)]
Add script to build and test GDB using enable-targets=all.

* gdb_buildall.sh: New file.

doc/
        * gdbint.texinfo (Build Script): New section. Mention new build script
        gdb_buildall.sh.

16 years ago*** empty log message ***
gdbadmin [Wed, 13 Feb 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 12 Feb 2008 23:00:07 +0000 (23:00 +0000)]
daily update

16 years ago* elf32-iq2000.c (iq2000_elf_relocate_section): Adjust addend of
DJ Delorie [Tue, 12 Feb 2008 19:11:55 +0000 (19:11 +0000)]
* elf32-iq2000.c (iq2000_elf_relocate_section): Adjust addend of
relocation pointing to local symbol in merged section.
* elf32-iq2000.c (iq2000_elf_relocate_offset16): New.
(iq2000_elf_relocate_section): Call it.

16 years agoCorrect last 2 ChangeLog entries.
H.J. Lu [Tue, 12 Feb 2008 17:22:02 +0000 (17:22 +0000)]
Correct last 2 ChangeLog entries.

16 years agoPR ld/5692
Nick Clifton [Tue, 12 Feb 2008 11:32:31 +0000 (11:32 +0000)]
PR ld/5692
   * elf-bfd.h (enum elf_object_id): New enum, used to identify
   target specific extensions to the elf_obj_tdata structure.
   (struct elf_obj_tdata): New field 'object_id'.
   (elf_object_id, elf_program_header_size, elf_symtab_hdr): New
   macros for accessing fields in the elf_obj_tdata structure.
   (bfd_elf_mkobject): Rename to bfd_elf_make_generic_object.
   (bfd_elf_allocate_object): New function.
   * elf.c (bfd_elf_mkobject): Rename to bfd_elf_make_generic_object
   and implement by calling bfd_elf_allocate_object.
   (bfd_elf_allocate_object): New function: Allocates an
   elf_obj_tdata structure, possibly with a target specific
   extension.
   * elfxx-target.h (bfd_elfNN_mkobject): Use
   bfd_elf_make_generic_object as the default value.
   * elf32-arm.c (elf32_arm_obj_tdata): Rename to elf_arm_obj_tdata
   for consistency with other, similar structures.
   (is_arm_elf): New macro.  Checks a BFD to make sure that is an ARM
   ELF bfd.
   (elf32_arm_mkobject): Call bfd_elf_allocate_object.
   (bfd_elf32_arm_vfp11_erratum_scan): Use is_arm_elf macro to check
   the bfd being processed.
   (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise.
   (bfd_elf32_arm_set_target_relocs): Likewise.
   (bfd_elf32_arm_final_link_relocate): Likewise.
   (bfd_elf32_arm_copy_private_bfd_data): Likewise.
   (bfd_elf32_arm_merge_eabi_attributes): Likewise.
   (bfd_elf32_arm_merge_private_bfd_data): Likewise.
   (bfd_elf32_arm_check_relocs): Likewise.
   (bfd_elf32_arm_gc_mark_extra_sections): Likewise.
   (bfd_elf32_arm_size_dynamic_sections): Likewise.
   (bfd_elf32_arm_process_before_allocation): Use elf_symtab_hdr.
   (bfd_elf32_arm_init_maps): Likewise.
   (bfd_elf32_arm_final_link_relocate): Likewise.
   (bfd_elf32_arm_relocate_section): Likewise.
   (bfd_elf32_arm_gc_sweep_hook): Likewise.
   (bfd_elf32_arm_check_relocs): Likewise.
   (bfd_elf32_arm_size_dynamic_sections): Likewise.
   * elf32-i386.c (elf_i386_mkobject): Call bfd_elf_allocate_object.
   (is_i386_elf): New macro.  Checks a BFD to make sure that is an x86
   ELF bfd.
   (elf_i386_check_relocs): Use is_i386_elf macro to check    the bfd
   being processed.
   (elf_i386_size_dynamic_sections): Likewise.
   (elf_i386_relocate_section): Likewise.
   (elf_i386_check_relocs): Use elf_symtab_hdr.
   (elf_i386_gc_sweep_hook): Likewise.
   (elf_i386_size_dynamic_sections): Likewise.
   (elf_i386_relocate_section): Likewise.
   * elf32-ppc.c (ppc_elf_mkobject): Call bfd_elf_allocate_object.
   (elf_create_pointer_linker_section): Use is_ppc_elf_target to
   verify that the bfd before accessing target specific fields.
   (ppc_elf_check_relocs): Likewise.
   (elf_finish_pointer_linker_section): Likewise.
   (elf_create_pointer_linker_section): Use elf_symtab_hdr.
   (ppc_elf_check_relocs): Likewise.
   (ppc_elf_gc_sweep_hook): Likewise.
   (ppc_elf_tls_optimize): Likewise.
   (ppc_elf_size_dynamic_sections): Likewise.
   (ppc_elf_relax_section): Likewise.
   (ppc_elf_relocate_section): Likewise.
   * elf32-s390.c (struct elf_s390_obj_tdata): Add a comment
   reminding programmers to keep this structure in sync with the one
   defined in elf64-s390.c.
   (elf_s390_mkobject): Call bfd_elf_allocate_object.
   (is_s390_elf): New macro.  Checks a BFD to make sure that is an s390
   ELF bfd.
   (elf_s390_check_relocs): Use is_s390_elf macro to check    the bfd
   being processed.
   (elf_s390_size_dynamic_sections): Likewise.
   (elf_s390_relocate_section): Likewise.
   (elf_s390_check_relocs): Use elf_symtab_hdr.
   (elf_s390_gc_sweep_hook): Likewise.
   (elf_s390_size_dynamic_sections): Likewise.
   (elf_s390_relocate_section): Likewise.
   * elf32-sh.c (sh_elf_mkobject): Call bfd_elf_allocate_object.
   (is_sh_elf): New macro.  Checks a BFD to make sure that is an SH
   ELF bfd.
   (sh_elf_size_dynamic_sections): Use is_sh_elf macro to check the
   bfd being processed.
   (sh_elf_relocate_section): Likewise.
   (sh_elf_check_relocs): Likewise.
   (sh_elf_copy_private_data): Likewise.
   (sh_elf_relax_section): Use elf_symtab_hdr.
   (sh_elf_size_dynamic_sections): Likewise.
   (sh_elf_relocate_section): Likewise.
   (sh_elf_get_relocated_section_contents): Likewise.
   (sh_elf_gc_sweep_hook): Likewise.
   (sh_elf_check_relocs): Likewise.
   * elf64-alpha.c (elf64_alpha_mkobject): Call bfd_elf_allocate_object.
   (is_alpha_elf): New macro.  Checks a BFD to make sure that is an
   Alpha ELF bfd.
   (elf64_alpha_create_got_section): Use is_alpha_elf macro to check
   the bfd being processed.
   (elf64_alpha_create_dynamic_section): Likewise.
   (elf64_alpha_check_relocs): Likewise.
   (elf64_alpha_size_got_sections): Likewise.
   (elf64_alpha_relax_section): Likewise.
   (elf64_alpha_relocate_section): Likewise.
   (elf64_alpha_final_link): Likewise.
   (elf64_alpha_check_relocs): Use elf_symtab_hdr.
   (elf64_alpha_relax_section): Likewise.
   (elf64_alpha_relocate_section_r): Likewise.
   (elf64_alpha_relocate_section): Likewise.
   * elf64-ppc.c (ppc64_elf_mkobject): Call bfd_elf_allocate_object.
   (ppc64_elf_check_relocs): Use is_ppc64_elf_target to check the bfd
   being processed.
   (opd_entry_value): Likewise.
   (allocate_dynrelocs): Likewise.
   (ppc64_elf_relocate_section): Likewise.
   (ppc64_elf_check_relocs): Use elf_symtab_hdr.
   (opd_entry_value): Likewise.
   (ppc64_elf_gc_sweep_hook): Likewise.
   (get_sym_h): Likewise.
   (ppc64_elf_edit_opd): Likewise.
   (ppc64_elf_tls_optimize): Likewise.
   (ppc64_elf_edit_toc): Likewise.
   (ppc64_elf_size_dynamic_sections): Likewise.
   (toc_adjusting_stub_needed): Likewise.
   (ppc64_elf_size_stubs): Likewise.
   (ppc64_elf_relocate_section): Likewise.
   * elf64-s390.c (struct elf_s390_obj_tdata): Add a comment
   reminding programmers to keep this structure in sync with the one
   defined in elf32-s390.c.
   (elf_s390_mkobject): Call bfd_elf_allocate_object.
   (is_s390_elf): New macro.  Checks a BFD to make sure that is an s390
   ELF bfd.
   (elf_s390_check_relocs): Use is_s390_elf macro to check    the bfd
   being processed.
   (elf_s390_size_dynamic_sections): Likewise.
   (elf_s390_relocate_section): Likewise.
   (elf_s390_check_relocs): Use elf_symtab_hdr.
   (elf_s390_gc_sweep_hook): Likewise.
   (elf_s390_size_dynamic_sections): Likewise.
   (elf_s390_relocate_section): Likewise.
   * elf64-x86_64.c (elf64_x86_64_mkobject): Call bfd_elf_allocate_object.
   (is_x86_64_elf): New macro.  Checks a BFD to make sure that is an
   x86_64 ELF bfd.
   (elf64_x86_64_check_relocs): Use is_x86_64_elf macro to check the bfd
   being processed.
   (elf64_x86_64_size_dynamic_sections): Likewise.
   (elf64_x86_64_relocate_section): Likewise.
   (elf64_x86_64_check_relocs): Use elf_symtab_hdr.
   (elf64_x86_64_gc_sweep_hook): Likewise.
   (elf64_x86_64_size_dynamic_sections): Likewise.
   (elf64_x86_64_relocate_section): Likewise.
   * elfxx-sparc.c (_bfd_sparc_elf_mkobject): Call bfd_elf_allocate_object.
   (is_sparc_elf): New macro.  Checks a BFD to make sure that is a Sparc
   ELF bfd.
   (_bfd_sparc_elf_check_relocs): Use is_sparc_elf macro to check the
   bfd being processed.
   (_bfd_sparc_elf_gc_sweep_hook): Likewise.
   (_bfd_sparc_elf_size_dynamic_sections): Likewise.
   (_bfd_sparc_elf_check_relocs): Use elf_symtab_hdr.
   (_bfd_sparc_elf_gc_sweep_hook): Likewise.
   (_bfd_sparc_elf_size_dynamic_sections): Likewise.
   (_bfd_sparc_elf_relocate_section): Likewise.

16 years agogas/
H.J. Lu [Tue, 12 Feb 2008 05:35:36 +0000 (05:35 +0000)]
gas/

2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Add .xsave.
(md_show_usage): Add .xsave.

* doc/c-i386.texi: Add xsave to -march=.

gas/testsuite/

2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-10.s: Add xgetbv.

* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/x86-64-arch-10.d: Likewise.

opcodes/

2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c  (cpu_flag_init): Add CPU_XSAVE_FLAGS.
* i386-init.h: Updated.

16 years agomissed from last commit
Alan Modra [Tue, 12 Feb 2008 00:28:55 +0000 (00:28 +0000)]
missed from last commit

16 years ago PR 5755
Alan Modra [Tue, 12 Feb 2008 00:26:00 +0000 (00:26 +0000)]
PR 5755
* arange-set.c: Delete.
* arange-set.h: Delete.
* dwarf2.c: Revert 2007-09-21 changes.
* Makefile.am: Likewise.
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

16 years agogas/testsuite/
H.J. Lu [Tue, 12 Feb 2008 00:04:45 +0000 (00:04 +0000)]
gas/testsuite/

2002-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run xsave, xsave-intel, x86-64-xsave
and x86-64-xsave-intel.

* gas/i386/x86-64-xsave-intel.d: New file.
* gas/i386/x86-64-xsave.d: Likewise.
* gas/i386/x86-64-xsave.s: Likewise.
* gas/i386/xsave-intel.d: Likewise.
* gas/i386/xsave.d: Likewise.
* gas/i386/xsave.s: Likewise.

opcodes/

2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flags): Add CpuXsave.

* i386-opc.h (CpuXsave): New.
(Cpu64): Updated.
(i386_cpu_flags): Add cpuxsave.

* i386-dis.c (MOD_0FAE_REG_4): New.
(RM_0F01_REG_2): Likewise.
(MOD_0FAE_REG_5): Updated.
(RM_0F01_REG_3): Likewise.
(reg_table): Use MOD_0FAE_REG_4.
(mod_table): Use RM_0F01_REG_2.  Add MOD_0FAE_REG_4.  Updated
for xrstor.
(rm_table): Add RM_0F01_REG_2.

* i386-opc.tbl: Add xsave, xrstor, xgetbv and xsetbv.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

16 years ago*** empty log message ***
gdbadmin [Tue, 12 Feb 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 11 Feb 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoFix formatting of most recent entry.
Ben Elliston [Mon, 11 Feb 2008 22:56:13 +0000 (22:56 +0000)]
Fix formatting of most recent entry.

16 years ago * elf32-bfin.c (bfinfdpic_relocate_section): Take more care not to
Bernd Schmidt [Mon, 11 Feb 2008 22:25:03 +0000 (22:25 +0000)]
* elf32-bfin.c (bfinfdpic_relocate_section): Take more care not to
emit invalid relocs or rofixup entries for deleted .eh_frame entries.

16 years ago2008-02-11 Maxim Grigoriev <maxim2405@gmail.com>
Maxim Grigoriev [Mon, 11 Feb 2008 22:00:31 +0000 (22:00 +0000)]
2008-02-11  Maxim Grigoriev  <maxim2405@gmail.com>

* gdbserver/Makefile.in (SFILES): Add linux-xtensa-low.c.
(clean): Add reg-xtensa.c.
(linux-xtensa-low.o, reg-xtensa.o, reg-xtensa.c): New dependencies.
* gdbserver/configure.srv (xtensa*-*-linux*) New target.
* gdbserver/linux-xtensa-low.c: New.
* gdbserver/xtensa-xtregs.c: New.

16 years ago2008-02-11 Maxim Grigoriev <maxim2405@gmail.com>
Maxim Grigoriev [Mon, 11 Feb 2008 21:58:41 +0000 (21:58 +0000)]
2008-02-11  Maxim Grigoriev  <maxim2405@gmail.com>

* NEWS (New native configurations): Xtensa GNU/Linux.
(New targets): Xtensa GNU/Linux.
* Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and
xtensa-linux-tdep.o
(ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c
(xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies.
* configure.tgt (xtensa*-*-linux*): New entry.
* xtensa-config.c (xtensa_tdep): New variable.
(xtensa_config_byte_order, xtensa_config_tdep): Removed.
(rmap): Change format based on new macro XTREG.
(XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h.
* xtensa-linux-nat.c: New.
* xtensa-linux-tdep.c: New.
* xtensa-xtregs.c: New.
* xtensa-tdep.h (xtensa_elf_gregset_t): Update.
(XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE)
(XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros.
(xtensa_register_t): New field coprocessor.
(XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected.
* xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed.
(xtensa_pseudo_register_read, xtensa_pseudo_register_write):
Update to handle privileged registers.
(xtensa_supply_gregset) Remove exccause and excvaddr registers.
(xtensa_push_dummy_call): Set windowstart register correctly.
(call0_analyze_prologue): Initialize xtensa_default_isa.
(xtensa_derive_tdep): New.
(xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and
xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead.
Call xtensa_derive_tdep().
* config/xtensa/linux.mh: New.
* regformats/reg-xtensa.dat: New.

16 years ago * xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
Bob Wilson [Mon, 11 Feb 2008 17:53:04 +0000 (17:53 +0000)]
* xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
(XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New.

16 years ago * elf32-bfin.c (bfin_relocate_section): Set up dynobj before using it
Bernd Schmidt [Mon, 11 Feb 2008 16:04:51 +0000 (16:04 +0000)]
* elf32-bfin.c (bfin_relocate_section): Set up dynobj before using it
if necessary.
(elf32_bfin_merge_private_bfd_data): Simplify, and ensure object type
mismatches are detected.

16 years agoopcodes/
Jan Beulich [Mon, 11 Feb 2008 15:11:06 +0000 (15:11 +0000)]
opcodes/
2008-02-11  Jan Beulich  <jbeulich@novell.com>
* i386-opc.tbl: Remove Disp32S from CpuNo64 opcodes. Remove
Disp16 from Cpu64 non-jump opcodes (including loop and j?cxz).
* i386-tbl.h: Re-generate.

16 years ago * cache.c (cache_bread): Set bfd_error_file_truncated if EOF
Daniel Jacobowitz [Mon, 11 Feb 2008 13:52:02 +0000 (13:52 +0000)]
* cache.c (cache_bread): Set bfd_error_file_truncated if EOF
was reached.
* srec.c (srec_scan): Calculate the checksum.  Complain on mismatch.

16 years ago*** empty log message ***
gdbadmin [Mon, 11 Feb 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sun, 10 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 10 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 9 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoMark last change as tiny.
Eli Zaretskii [Sat, 9 Feb 2008 13:46:27 +0000 (13:46 +0000)]
Mark last change as tiny.

16 years ago * corelow.c (core_open): Use IS_ABSOLUTE_PATH.
Eli Zaretskii [Sat, 9 Feb 2008 13:45:33 +0000 (13:45 +0000)]
* corelow.c (core_open): Use IS_ABSOLUTE_PATH.
(filenames.h): New include.
* Makefile.in (corelow.o): Add dependency for filenames.h.

16 years agoFix dates of entries. Commit a forgotten entry from 2008-01-26.
Eli Zaretskii [Sat, 9 Feb 2008 13:39:06 +0000 (13:39 +0000)]
Fix dates of entries.  Commit a forgotten entry from 2008-01-26.

16 years ago * library/main.tcl: Add gdbtk_platform definitions.
Keith Seitz [Sat, 9 Feb 2008 01:23:43 +0000 (01:23 +0000)]
    * library/main.tcl: Add gdbtk_platform definitions.
        * library/attachdlg.itb (list_pids): Use gdbtk_platform
        instead of tcl_platform.
        * library/bpwin.itb (build_win): Likewise.
        (_bp_add): Likewise.
        (_bp_modify): Likewise.
        * library/download.itb (download_it): Likewise.
        * library/globalpref.itb (_build_win): Likewise.
        * library/helpviewer.tcl (open_help): Likewise.
        * library/interface.tcl (gdbtk_tcl_query): Likewise.
        (show_warning): Likewise.
        (open_file): Likewise.
        (run_executable): Likewise.
        * library/managedwin.itb (reveal): Likewise.
        (_create): Likewise.
        * library/prefs.tcl (pref_read): Likewise.
        (pref_set_defaults): Likewise.
        (pref_set_colors): Likewise.
        * library/session.tcl (_exe_name): Likewise.
        * library/srcbar.itcl (_update_file_menu): Likewise.
        (create_run_menu): Likewise.
        * library/srctextwin.itb (_mtime_changed): Likewise.
        (LoadFromCache): Likewise.
        * library/targetselection.itb (default_port): Likewise.
        (build_win): Likewise.

        * library/memwin.itb (build_win): Remove unused tcl_platform
        declaration.
        * library/pluginwin.itcl (enable_ui): Likewise.
        * library/process.itb (build_win): Likewise.
        * library/srcbar.itcl (enable_ui): Likewise.
        * library/srcwin.itb (location): Likewise.
        * library/stackwin.itb (build_win): Likewise.
        * library/tdump.tcl (build_win): Likewise.

16 years agoMoved entries for previous years to separate changelogs.
Keith Seitz [Sat, 9 Feb 2008 00:05:36 +0000 (00:05 +0000)]
Moved entries for previous years to separate changelogs.

16 years agoRotate logs.
Keith Seitz [Sat, 9 Feb 2008 00:05:16 +0000 (00:05 +0000)]
Rotate logs.

16 years ago*** empty log message ***
gdbadmin [Sat, 9 Feb 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Fri, 8 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * source.c (find_and_open_source): Always rewrite absolute filenames.
Daniel Jacobowitz [Fri, 8 Feb 2008 22:20:48 +0000 (22:20 +0000)]
* source.c (find_and_open_source): Always rewrite absolute filenames.

16 years ago * gdb.cp/mb-inline.exp: New.
Doug Evans [Fri, 8 Feb 2008 00:42:26 +0000 (00:42 +0000)]
* gdb.cp/mb-inline.exp: New.
* gdb.cp/mb-inline.h: New.
* gdb.cp/mb-inline1.cc: New.
* gdb.cp/mb-inline2.cc: New.

16 years ago * breakpoint.c: #include "hashtab.h".
Doug Evans [Fri, 8 Feb 2008 00:42:07 +0000 (00:42 +0000)]
* breakpoint.c: #include "hashtab.h".
(ambiguous_names_p): New fn.
(update_breakpoint_locations): When restoring bp enable status, don't
compare function names if any functions have same name.
* Makefile.in (breakpoint.o): Add hashtab.h dependency.

* gdb.cp/mb-inline.exp: New.
* gdb.cp/mb-inline.h: New.
* gdb.cp/mb-inline1.cc: New.
* gdb.cp/mb-inline2.cc: New.

16 years ago*** empty log message ***
gdbadmin [Fri, 8 Feb 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 7 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
Joel Brobecker [Thu, 7 Feb 2008 22:27:53 +0000 (22:27 +0000)]
    * ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
        instead of just a VEC*. Update use of SV.
        (ada_make_symbol_completion_list): Update symbol_completion_add calls.

16 years ago * NEWS: Put all new commands since gdb-6.7 together.
Joel Brobecker [Thu, 7 Feb 2008 19:23:10 +0000 (19:23 +0000)]
    * NEWS: Put all new commands since gdb-6.7 together.

16 years ago * ada-lang.c: #include "vec.h".
Joel Brobecker [Thu, 7 Feb 2008 19:06:51 +0000 (19:06 +0000)]
    * ada-lang.c: #include "vec.h".
        (struct string_vector, new_string_vector, string_vector_append):
        Delete.
        (char_ptr): New typedef.
        (DEF_VEC_P (char_ptr)): New VEC type.
        (symbol_completion_add): Update profile to take the new VEC type
        instead of the old string_vector structure. Update code accordingly.
        (ada_make_symbol_completion_list): Use the new VEC type instead of
        the old string_vector structure, and update the code accordingly.
        * Makefile.in (ada-lang.o): Add dependency on vec.h.

16 years agobfd/
Alan Modra [Thu, 7 Feb 2008 01:26:56 +0000 (01:26 +0000)]
bfd/
* elf32-spu.c (spu_elf_size_stubs): Revert 2008-01-28 doubling
of _ovly_buf_table size.
(spu_elf_build_stubs): Use low bit of .size as "present" bit.
Adjust initialisations relating to _ovly_buf_table.
ld/
* emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
a "present" bit rather than low bit of .buf.  Correct indexing
into _ovly_buf_table.  Use relative loads and stores to access
overlay manager local vars.
* emultempl/spu_ovl.o: Regenerate.

16 years ago*** empty log message ***
gdbadmin [Thu, 7 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Wed, 6 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.pascal/floats.pas: New test program.
Pierre Muller [Wed, 6 Feb 2008 22:24:43 +0000 (22:24 +0000)]
* gdb.pascal/floats.pas: New test program.
* gdb.pascal/floats.exp: New testcase.

16 years ago * p-exp.y: Set current_type in missing places.
Pierre Muller [Wed, 6 Feb 2008 22:21:38 +0000 (22:21 +0000)]
* p-exp.y: Set current_type in missing places.
(leftdiv_is_integer): New static variable.
Typecast right operand of BINOP_DIV to long_double if both operands
are integers.

16 years ago* remote-mips.c (set_breakpoint): Rename to...
Maciej W. Rozycki [Wed, 6 Feb 2008 09:37:56 +0000 (09:37 +0000)]
* remote-mips.c (set_breakpoint): Rename to...
(mips_set_breakpoint): ... this.
(clear_breakpoint): Rename to...
(mips_clear_breakpoint): ... this.
(common_breakpoint): Rename to...
(mips_common_breakpoint): ... this.
(check_lsi_error): Rename to...
(mips_check_lsi_error): ... this.

16 years ago* simops.c (OP_1C007E0): Compensate for 64 bit hosts.
DJ Delorie [Wed, 6 Feb 2008 04:41:26 +0000 (04:41 +0000)]
* simops.c (OP_1C007E0): Compensate for 64 bit hosts.
(OP_18007E0): Likewise.
(OP_2C007E0): Likewise.
(OP_28007E0): Likewise.
* v850.igen (divh): Likewise.

16 years ago * gdb.base/callfuncs.c (t_float_many_args): New function.
Thiago Jung Bauermann [Wed, 6 Feb 2008 03:54:12 +0000 (03:54 +0000)]
* gdb.base/callfuncs.c (t_float_many_args): New function.
(t_double_many_args): New function.
* gdb.base/callfuncs.exp: Add tests for exceeding float
and double parameters passed through the stack.

16 years agoIndex: ChangeLog
DJ Delorie [Wed, 6 Feb 2008 00:40:05 +0000 (00:40 +0000)]
Index: ChangeLog

* configure.ac (v850): V850 now has a testsuite.
* configure (v850): Likewise.

Index: testsuite/ChangeLog

* sim/v850/: New directory.
* sim/v850/allinsns.exp: New.
* sim/v850/bsh.cgs: New.
* sim/v850/div.cgs: New.
* sim/v850/divh.cgs: New.
* sim/v850/divh_3.cgs: New.
* sim/v850/divhu.cgs: New.
* sim/v850/divu.cgs: New.
* sim/v850/sar.cgs: New.
* sim/v850/satadd.cgs: New.
* sim/v850/satsub.cgs: New.
* sim/v850/satsubi.cgs: New.
* sim/v850/satsubr.cgs: New.
* sim/v850/shl.cgs: New.
* sim/v850/shr.cgs: New.
* sim/v850/testutils.cgs: New.
* sim/v850/testutils.inc: New.

Index: v850/ChangeLog

* simops.c (OP_C0): Correct saturation logic.
(OP_220): Likewise.
(OP_A0): Likewise.
(OP_660): Likewise.
(OP_80): Likewise.

* simops.c (OP_2A0): If the shift count is zero, clear the
carry.
(OP_A007E0): Likewise.
(OP_2C0): Likewise.
(OP_C007E0): Likewise.
(OP_280): Likewise.
(OP_8007E0): Likewise.

* simops.c (OP_2C207E0): Correct PSW flags for special divu
conditions.
(OP_2C007E0): Likewise, for div.
(OP_28207E0): Likewise, for divhu.
(OP_28007E0): Likewise, for divh.  Also, sign-extend the correct
operand.
* v850.igen (divh): Likewise, for 2-op divh.

* v850.igen (bsh): Fix carry logic.

16 years ago*** empty log message ***
gdbadmin [Wed, 6 Feb 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 5 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
Joel Brobecker [Tue, 5 Feb 2008 22:20:51 +0000 (22:20 +0000)]
    * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
        gdb.ada/complete/foo.adb: New files.
        * gdb.ada/complete.exp: New testcase.

16 years ago * language.h (struct language_defn): Add new field
Joel Brobecker [Tue, 5 Feb 2008 22:17:41 +0000 (22:17 +0000)]
    * language.h (struct language_defn): Add new field
        la_make_symbol_completion_list.
        * symtab.c (default_make_symbol_completion_list): Renames
        make_symbol_completion_list.
        (make_symbol_completion_list): New function.
        * symtab.h (default_make_symbol_completion_list): Add declaration.
        * langauge.c (unknown_language): Set la_make_symbol_completion_list.
        (auto_language, local_language): Likewise.
        * objc-lang.c (objc_language_defn): Likewise.
        * scm-lang.c (scm_language_defn): Likewise.
        * m2-lang.c (m2_language_defn): Likewise.
        * f-lang.c (f_language_defn): Likewise.
        * jv-lang.c (java_language_defn): Likewise.
        * p-lang.c (pascal_language_defn): Likewise.
        * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn)
        (minimal_language_defn): Likewise.
        * ada-lang.c (struct string_vector): New structure.
        (new_string_vector, string_vector_append, ada_unqualified_name)
        (add_angle_brackets, symbol_completion_match, symbol_completion_add)
        (ada_make_symbol_completion_list): New functions.
        (ada_language_defn): Set la_make_symbol_completion_list.
        * ada-lang.h (ada_make_symbol_completion_list): Remove declaration,
        this function is static.

16 years ago * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
Kevin Buettner [Tue, 5 Feb 2008 16:20:20 +0000 (16:20 +0000)]
* mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
to account for call site optimizations.

16 years ago2008-02-05 Andrzej Zaborowski <balrogg@gmail.com>
Jim Blandy [Tue, 5 Feb 2008 16:05:56 +0000 (16:05 +0000)]
2008-02-05  Andrzej Zaborowski  <balrogg@gmail.com>

* tracepoint.c (read_actions): Handle end-of-text indicator
in action list properly.  (Committed by Jim Blandy)

16 years agoFix changelog entry.
Jim Blandy [Tue, 5 Feb 2008 15:56:32 +0000 (15:56 +0000)]
Fix changelog entry.

16 years ago* ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
Jim Blandy [Tue, 5 Feb 2008 15:54:34 +0000 (15:54 +0000)]
* ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
pseudoregister, not an internal error.

16 years ago* generic/gdbtk-varobj.c (variable_children): Adjust
Maciej W. Rozycki [Tue, 5 Feb 2008 14:07:06 +0000 (14:07 +0000)]
* generic/gdbtk-varobj.c (variable_children): Adjust
for varobj_list_children change.

16 years ago*** empty log message ***
gdbadmin [Tue, 5 Feb 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * elf32-xtensa (elf_xtensa_relocate_section): After finding an invalid
Bob Wilson [Mon, 4 Feb 2008 23:13:24 +0000 (23:13 +0000)]
* elf32-xtensa (elf_xtensa_relocate_section): After finding an invalid
relocation, do not continue processing it.  Ignore R_XTENSA_ASM_EXPAND
relocations against dynamic symbols.
(elf_xtensa_finish_dynamic_sections): Do not fail if there is no
.xt.lit section.

16 years agodaily update
Alan Modra [Mon, 4 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agobfd/
H.J. Lu [Mon, 4 Feb 2008 19:43:51 +0000 (19:43 +0000)]
bfd/

2008-02-04  Kai Tietz  <kai.tietz@onevision.com>
    H.J. Lu  <hongjiu.lu@intel.com>

PR 5715
* warning.m4: Enable -Wno-format by default when using gcc on
mingw.
* configure: Regenerated.

binutils/

2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>

PR 5715
* configure: Regenerated.

gas/

2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>

PR 5715
* configure: Regenerated.

ld/

2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>

PR 5715
* configure: Regenerated.

opcodes/

2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>

PR 5715
* configure: Regenerated.

16 years ago * mips-dis.c: Update copyright.
Adam Nemet [Mon, 4 Feb 2008 19:26:11 +0000 (19:26 +0000)]
* mips-dis.c: Update copyright.
(mips_arch_choices): Add Octeon.
* mips-opc.c: Update copyright.
(IOCT): New macro.
(mips_builtin_opcodes): Add Octeon instruction synciobdma.

16 years ago * mips.h: Update copyright.
Adam Nemet [Mon, 4 Feb 2008 19:25:05 +0000 (19:25 +0000)]
* mips.h: Update copyright.
(INSN_CHIP_MASK): New macro.
(INSN_OCTEON): New macro.
(CPU_OCTEON): New macro.
(OPCODE_IS_MEMBER): Handle Octeon instructions.

16 years ago * mips.h: Update copyright.
Adam Nemet [Mon, 4 Feb 2008 19:21:25 +0000 (19:21 +0000)]
* mips.h: Update copyright.
(E_MIPS_MACH_OCTEON): New macro.

16 years ago * archures.c: Update copyright.
Adam Nemet [Mon, 4 Feb 2008 19:15:52 +0000 (19:15 +0000)]
* archures.c: Update copyright.
(bfd_mach_mips_octeon): New macro.
* bfd-in2.h: Regenerate.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle Octeon.
(mips_set_isa_flags): Likewise.
(mips_mach_extensions): Add Octeon.
* cpu-mips.c: Update copyright.
(I_mipsocteon): New enum constant.
(arch_info_struct): Add Octeon.

16 years ago2008-02-04 Antony King <antony.king@st.com>
Andrew Stubbs [Mon, 4 Feb 2008 17:26:07 +0000 (17:26 +0000)]
2008-02-04  Antony King  <antony.king@st.com>

* interp.c (macl): Fix non-portable implementation.

16 years ago * varobj.c (c_value_of_variable): Use xstrdup.
Vladimir Prus [Mon, 4 Feb 2008 07:49:04 +0000 (07:49 +0000)]
* varobj.c (c_value_of_variable): Use xstrdup.

16 years ago Update stored rendition of varobj value when format changes.
Vladimir Prus [Mon, 4 Feb 2008 06:14:20 +0000 (06:14 +0000)]
Update stored rendition of varobj value when format changes.
* varobj.c (varobj_set_display_format): Recomputed
        print_value.
        (c_value_of_variable): Return print_value.

16 years ago * elf32-spu.c (spu_elf_relocate_section): Correct return type.
Alan Modra [Mon, 4 Feb 2008 01:13:38 +0000 (01:13 +0000)]
* elf32-spu.c (spu_elf_relocate_section): Correct return type.
Return error status on unexpected relocation errors.

16 years ago * eval.c (evaluate_subexp_standard): Fix type of result of mixed
Doug Evans [Mon, 4 Feb 2008 00:23:05 +0000 (00:23 +0000)]
* eval.c (evaluate_subexp_standard): Fix type of result of mixed
integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
* valops.c (value_one): New function.
* value.h (value_one): Declare.

Fix argument promotion for binary arithmetic ops for C.
* valarith.c (unop_result_type): New fn.
(binop_result_type): New fn.
(value_binop): Move result type computation to binop_result_type.
(value_pos, value_neg, value_complement): Move result type
computation to unop_result_type.

* gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.

16 years ago PR ld/5692
Alan Modra [Mon, 4 Feb 2008 00:09:04 +0000 (00:09 +0000)]
PR ld/5692
* elf.c (bfd_elf_get_elf_syms): Revert 2008-01-31.  Instead abort
on non-ELF input.
* elf32-arm.c (elf32_arm_size_dynamic_sections): Skip glue
processing on non-ELF input.

16 years ago*** empty log message ***
gdbadmin [Mon, 4 Feb 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sun, 3 Feb 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoadd copyright
Doug Evans [Sun, 3 Feb 2008 22:17:05 +0000 (22:17 +0000)]
add copyright

16 years ago PR 2384
Doug Evans [Sun, 3 Feb 2008 22:13:30 +0000 (22:13 +0000)]
PR 2384
* gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
Return basetype, fieldno if found.  All callers updated.
Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
objfile.
* gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
* symfile.h (fill_in_vptr_fieldno): Delete.

* gdb.cp/gdb2384.exp: New file.
* gdb.cp/gdb2384.cc: New file.
* gdb.cp/gdb2384-base.h: New file.
* gdb.cp/gdb2384-base.cc: New file.

16 years ago* gdb.texinfo (Help): Summarize 'info args' correctly.
Jim Blandy [Sun, 3 Feb 2008 18:55:27 +0000 (18:55 +0000)]
* gdb.texinfo (Help): Summarize 'info args' correctly.

16 years ago * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
Doug Evans [Sun, 3 Feb 2008 01:51:04 +0000 (01:51 +0000)]
* valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.

16 years ago * typeprint.c (*): Whitespace cleanup.
Doug Evans [Sun, 3 Feb 2008 01:02:47 +0000 (01:02 +0000)]
* typeprint.c (*): Whitespace cleanup.

16 years ago * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
Doug Evans [Sun, 3 Feb 2008 00:42:55 +0000 (00:42 +0000)]
* gdb.base/sigall.c (main): Ensure all signals aren't blocked.

16 years ago*** empty log message ***
gdbadmin [Sun, 3 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 2 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * configure.ac: Enable fortran for cris-*-elf and crisv32-*-elf.
Hans-Peter Nilsson [Sat, 2 Feb 2008 22:19:04 +0000 (22:19 +0000)]
* configure.ac: Enable fortran for cris-*-elf and crisv32-*-elf.
* configure: Regenerate.

16 years ago Luis Machado <luisgpm@br.ibm.com>
Mark Kettenis [Sat, 2 Feb 2008 00:07:57 +0000 (00:07 +0000)]
Luis Machado  <luisgpm@br.ibm.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
don't fit into registerson the stack the way GCC does.

16 years ago*** empty log message ***
gdbadmin [Sat, 2 Feb 2008 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * gdb.ada/sym_print_name: New test program.
Joel Brobecker [Fri, 1 Feb 2008 23:15:36 +0000 (23:15 +0000)]
    * gdb.ada/sym_print_name: New test program.
        * gdb.ada/sym_print_name.exp: New testcase.

16 years ago * symtab.c (symbol_set_names): Do not add an entry in the demangling
Joel Brobecker [Fri, 1 Feb 2008 23:12:23 +0000 (23:12 +0000)]
    * symtab.c (symbol_set_names): Do not add an entry in the demangling
        hash table for Ada symbols. Just store the linkage name as is,
        and leave the demangled_name as NULL.

16 years agodaily update
Alan Modra [Fri, 1 Feb 2008 23:00:08 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.ada/nested/hello.adb: New file.
Joel Brobecker [Fri, 1 Feb 2008 22:48:16 +0000 (22:48 +0000)]
    * gdb.ada/nested/hello.adb: New file.
        * gdb.ada/nested.exp: New testcase.
        * gdb.ada/Makefile.in (EXECUTABLES): Update list.

16 years ago * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
Joel Brobecker [Fri, 1 Feb 2008 22:45:13 +0000 (22:45 +0000)]
    * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
        in the global scope.
        (new_symbol): Likewise.

16 years ago2008-01-31 Marc Gauthier <marc@tensilica.com>
Bob Wilson [Fri, 1 Feb 2008 18:32:06 +0000 (18:32 +0000)]
2008-01-31  Marc Gauthier  <marc@tensilica.com>
* configure.ac (xtensa*-*-*): Recognize processor variants.
* configure: Regenerate.

16 years ago2008-01-31 Marc Gauthier <marc@tensilica.com>
Bob Wilson [Fri, 1 Feb 2008 17:58:47 +0000 (17:58 +0000)]
2008-01-31  Marc Gauthier  <marc@tensilica.com>
bfd/
* config.bfd (xtensa*-*-*): Recognize processor variants.
gas/
* configure.tgt (xtensa*-*-*): Recognize processor variants.
gas/testsuite/
* gas/all/gas.exp: Recognize Xtensa processor variants.
* gas/elf/elf.exp: Likewise.
* gas/lns/lns.exp: Likewise.
ld/
* configure.tgt (xtensa*-*-*): Recognize processor variants.
ld/testsuite/
* ld-elf/merge.d: Recognize Xtensa processor variants.
* ld-xtensa/coalesce.exp: Likewise.
* ld-xtensa/lcall.exp: Likewise.

16 years ago * breakpoint.c (break_command_1): Return void.
Vladimir Prus [Fri, 1 Feb 2008 16:24:47 +0000 (16:24 +0000)]
    * breakpoint.c (break_command_1): Return void.
        (break_command_really): Return void.  Rethrow
        exceptions instead of returning.
        (gdb_breakpoint): Remove the error_message parameter.
        Return void.  Rename to set_breakpoint.
        * gdb.h (gdb_breakpoint): Rename and move to...
* breakpoint.h (set_breakpoint): ...here.
        * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
        event hooks even if exception is thrown.  Adjust to
        gdb_breakpoint interface changes.

16 years ago * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
Thiago Jung Bauermann [Fri, 1 Feb 2008 15:04:18 +0000 (15:04 +0000)]
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
float in both first and second word in the doubleword, to support
old and new ABIs.

16 years ago Properly rethrow exception. This fixes errors
Vladimir Prus [Fri, 1 Feb 2008 06:47:20 +0000 (06:47 +0000)]
Properly rethrow exception.  This fixes errors
about non-existent functions for -break-insert.
        * breakpoint.c (break_command_really): Use throw_exception
        for rethrowing.  If rethrowing, don't print the exception.

16 years ago * hostio.c: Don't include errno.h.
Pedro Alves [Fri, 1 Feb 2008 00:08:25 +0000 (00:08 +0000)]
* hostio.c: Don't include errno.h.
(errno_to_fileio_errno): Move to hostio-errno.
* hostio.c: (hostio_error): Remove the error parameter.  Defer the
error number outputting to the target->hostio_last_error callback.
(hostio_packet_error): Use FILEIO_EINVAL directly.
(handle_open, handle_pread, hostio_error, handle_unlink): Update
calls to hostio_error.
* hostio-errno.c: New.
* server.h (hostio_last_error_from_errno): Declare.
* target.h (target_ops): Add hostio_last_error member.
* linux-low.c (linux_target_op): Register hostio_last_error_from_errno
as hostio_last_error handler.
* spu-low.c (spu_target_ops): Likewise.
* win32-low.c [_WIN32_WCE] (win32_error_to_fileio_error)
(wince_hostio_last_error): New functions.
(win32_target_ops) [_WIN32_WCE]: Register wince_hostio_last_error
as hostio_last_error handler.
(win32_target_ops) [!_WIN32_WCE]: Register
hostio_last_error_from_errno as hostio_last_error handler.
* Makefile.in (SFILES): Add hostio.c and hostio-errno.c.
(hostio-errno.o): New rule.
* configure.ac (GDBSERVER_DEPFILES): Add $srv_hostio_err_objs.
* configure.srv (srv_hostio_err_objs): New variable.  Default to
hostio-errno.o.
(arm*-*-mingw32ce*): Set srv_hostio_err_objs to "".
* configure: Regenerate.

16 years ago*** empty log message ***
gdbadmin [Fri, 1 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 31 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * NEWS: Mention Decimal Floating Point support.
Thiago Jung Bauermann [Thu, 31 Jan 2008 21:07:37 +0000 (21:07 +0000)]
* NEWS: Mention Decimal Floating Point support.

16 years ago * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
Joel Brobecker [Thu, 31 Jan 2008 20:03:38 +0000 (20:03 +0000)]
    * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
        value type to builtin_type_void_func_ptr.