OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
16 years ago * gdb.base/annota1.exp: Accept printf@... in place of printf.
Ulrich Weigand [Fri, 16 May 2008 12:48:08 +0000 (12:48 +0000)]
* gdb.base/annota1.exp: Accept printf@... in place of printf.
* gdb.base/annota3.exp: Likewise.

16 years ago * src-release (DEVO_SUPPORT): Add ChangeLog, MAINTAINERS, cgen-snapshot-20080601
Daniel Jacobowitz [Fri, 16 May 2008 12:34:38 +0000 (12:34 +0000)]
* src-release (DEVO_SUPPORT): Add ChangeLog, MAINTAINERS,
README-maintainer-mode, lt~obsolete.m4, ltgcc.m4, depcomp,
mkdep, and compile.  Update comments.
(ETC_SUPPORT): Add ChangeLog and update comments.

16 years ago * gdbarch.sh: Delete dwarf_reg_to_regnum.
Daniel Jacobowitz [Fri, 16 May 2008 00:27:24 +0000 (00:27 +0000)]
* gdbarch.sh: Delete dwarf_reg_to_regnum.
* gdbarch.c, gdbarch.h: Regenerated.
* amd64-tdep.c, arm-tdep.c, h8300-tdep.c, hppa-linux-tdep.c,
hppa-tdep.c, i386-tdep.c, m32c-tdep.c, m68k-tdep.c, mips-tdep.c,
s390-tdep.c, xtensa-tdep.c: Do not set dwarf_reg_to_regnum.

* gdbint.texinfo (Target Conditionals): Delete entry for
gdbarch_dwarf_reg_to_regnum.

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

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

16 years ago * linux-nat.c (trap_ptid): Delete.
Pedro Alves [Thu, 15 May 2008 20:11:48 +0000 (20:11 +0000)]
* linux-nat.c (trap_ptid): Delete.
(linux_nat_detach, linux_nat_wait, linux_nat_mourn_inferior):
Adjust.
* linux-thread-db.c (thread_db_wait): Adjust.

16 years ago * linespec.c (decode_line_1): Fix a couple of comments.
Joel Brobecker [Thu, 15 May 2008 19:24:46 +0000 (19:24 +0000)]
    * linespec.c (decode_line_1): Fix a couple of comments.

16 years ago bfd/
Nick Clifton [Thu, 15 May 2008 17:00:13 +0000 (17:00 +0000)]
    bfd/
        * elf32-arm.c (THM2_MAX_FWD_BRANCH_OFFSET): Define.
        (THM2_MAX_BWD_BRANCH_OFFSET): Define.
        (ARM_MAX_FWD_BRANCH_OFFSET): Define.
        (ARM_MAX_BWD_BRANCH_OFFSET): Define.
        (THM_MAX_FWD_BRANCH_OFFSET): Define.
        (THM_MAX_BWD_BRANCH_OFFSET): Define.
        (arm_long_branch_stub): Define.
        (arm_pic_long_branch_stub): Define.
        (arm_thumb_v4t_long_branch_stub): Define.
        (arm_thumb_thumb_long_branch_stub): Define.
        (arm_thumb_arm_v4t_long_branch_stub): Define.
        (STUB_SUFFIX): Define.
        (elf32_arm_stub_type): Define.
        (elf32_arm_stub_hash_entry): Define.
        (elf32_arm_link_hash_entry): Add stub_cache field.
        (arm_stub_hash_lookup): Define.
        (elf32_arm_link_hash_table): Add stub_hash_table, stub_bfd,
        add_stub_section, layout_sections_again, stub_group, bfd_count,
        top_index, input_list fields.
        (elf32_arm_link_hash_newfunc): Init new field.
        (stub_hash_newfunc): New function.
        (elf32_arm_link_hash_table_create): Init stub_hash_table.
        (elf32_arm_hash_table_free): New function.
        (arm_type_of_stub): New function.
        (elf32_arm_stub_name): New function.
        (elf32_arm_get_stub_entry): New function.
        (elf32_arm_stub_add_mapping_symbol): New function.
        (elf32_arm_add_stub): New function.
        (arm_build_one_stub): New function.
        (arm_size_one_stub): New function.
        (elf32_arm_setup_section_lists): New function.
        (elf32_arm_next_input_section): New function.
        (group_sections): New function.
        (elf32_arm_size_stubs): New function.
        (elf32_arm_build_stubs): New function.
        (bfd_elf32_arm_add_glue_sections_to_bfd): Skip stub sections.
        (bfd_elf32_arm_process_before_allocation): No longer handle
        R_ARM_CALL and R_ARM_THM_CALL.
        (using_thumb_only): New function.
        (elf32_arm_final_link_relocate): Redirect calls to stub if range
        exceeds encoding capabilities.
        (bfd_elf32_bfd_link_hash_table_free): Define.
        * bfd-in.h (R_ARM_max): Fix value to 130.
        (elf32_arm_setup_section_lists): Protype.
        (elf32_arm_next_input_section): Protype.
        (elf32_arm_size_stubs): Protype.
        (elf32_arm_build_stubs): Protype.

        ld/
        * emultempl/armelf.em (build_section_lists): New function.
        (stub_file): Define.
        (need_laying_out): Define.
        (group_size): Define.
        (hook_stub_info): Define.
        (hook_in_stub): New function.
        (elf32_arm_add_stub_section): New function.
        (gldarm_layout_sections_again): New function.
        (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate
        stubs for long calls if needed.
        (arm_elf_create_output_section_statements): create stub_file bfd.
        (arm_for_each_input_file_wrapper): New function.
        (arm_lang_for_each_input_file): New function.
        (lang_for_each_input_file): Define.
        (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE.
        (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size.
        (PARSE_AND_LIST_OPTIONS): Add option stub-group-size.
        (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case.
        (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish.
        * ld/lang.c (print_input_statement): Skip if bfd has
        BFD_LINKER_CREATED.

        ld/testsuite
        * ld-arm/arm-elf.exp (armelftests): Add farcall-arm-arm,
        farcall-arm-arm-pic-veneer, farcall-arm-arm-be8 farcall-arm-thumb,
        farcall-arm-thumb-blx, farcall-arm-thumb-pic-veneer,
        farcall-arm-thumb-blx-pic-veneer, farcall-thumb-thumb,
        farcall-thumb-thumb-pic-veneer, farcall-thumb-thumb-blx,
        farcall-thumb-thumb-m, farcall-thumb-thumb-m-pic-veneer,
        farcall-thumb-thumb-blx-pic-veneer, farcall-thumb-arm,
        farcall-thumb-arm-pic-veneer, farcall-thumb-arm-blx,
        farcall-thumb-arm-blx-pic-veneer.
        Change thumb2-bl-as-thumb1-bad, thumb2-bl-bad.
        * ld-arm/thumb2-bl-as-thumb1-bad.d: Reflects farcall stub
        generation.
        * ld-arm/thumb2-bl-bad.d: Likewise.
        * ld-arm/thumb2-bl-as-thumb1-bad.s: Update comments.
        * ld-arm/thumb2-bl-bad.s: Likewise.

16 years ago * dbxread.c: Formatting.
Alan Modra [Thu, 15 May 2008 13:23:34 +0000 (13:23 +0000)]
* dbxread.c: Formatting.
(INTERNALIZE_SYMBOL): Init n_other.
(set_namestring): Take pointer to nlist arg rather than struct
copy.  Update all callers.

16 years ago(dwarf2loc.o): Remove $(addrmap_h).
Andreas Schwab [Thu, 15 May 2008 09:38:40 +0000 (09:38 +0000)]
(dwarf2loc.o): Remove $(addrmap_h).
(dwarf2read.o): Add $(addrmap_h).

16 years ago*** empty log message ***
gdbadmin [Thu, 15 May 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 15 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Rename ...
Ulrich Weigand [Wed, 14 May 2008 18:28:59 +0000 (18:28 +0000)]
* ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Rename ...
(ppc64_linux_convert_from_func_ptr_addr): ... to this.  No longer try
to handle ppc32 PLT entries.
(ppc_linux_init_abi): Install ppc64_linux_convert_from_func_ptr_addr
only on ppc64.

16 years ago * elfread.c (elf_symtab_read): Create trampolines for @plt symbols.
Daniel Jacobowitz [Wed, 14 May 2008 18:14:34 +0000 (18:14 +0000)]
* elfread.c (elf_symtab_read): Create trampolines for @plt symbols.
* minsyms.c (lookup_minimal_symbol_by_pc_section_1): Renamed from
lookup_minimal_symbol_by_pc_section.  Prefer trampolines if requested.
(lookup_minimal_symbol_by_pc_section): Use
lookup_minimal_symbol_by_pc_section_1.
(lookup_solib_trampoline_symbol_by_pc): Likewise.

16 years ago * elf32-ppc.c (ppc_elf_get_synthetic_symtab): Fix memset calls.
Ulrich Weigand [Wed, 14 May 2008 16:00:38 +0000 (16:00 +0000)]
* elf32-ppc.c (ppc_elf_get_synthetic_symtab): Fix memset calls.
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Likewise.

16 years agoupdate dependencies
Alan Modra [Wed, 14 May 2008 06:45:40 +0000 (06:45 +0000)]
update dependencies

16 years ago * findcmd.c: Add #include "gdb_stdint.h".
Joel Brobecker [Wed, 14 May 2008 04:23:03 +0000 (04:23 +0000)]
    * findcmd.c: Add #include "gdb_stdint.h".
        * Makefile.in (findcmd.o): Update dependencies.

16 years ago * elf32-ppc.c (section_covers_vma): New function.
Alan Modra [Wed, 14 May 2008 02:21:19 +0000 (02:21 +0000)]
* elf32-ppc.c (section_covers_vma): New function.
(ppc_elf_get_synthetic_symtab): New function.
(bfd_elf32_get_synthetic_symtab): Define.
* elf64-ppc.c (section_covers_vma): New function.
(ppc64_elf_get_synthetic_symtab): Generate sym@plt on glink branch
table entries, and __glink_PLTresolve on resolver stub.
(ppc64_elf_build_stubs): Rename __glink sym to __glink_PLTresolve.

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

16 years agodaily update
Alan Modra [Wed, 14 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * gdb.base/watch_thread_num.exp: Don't run tests that require
Nathan Froyd [Tue, 13 May 2008 21:17:18 +0000 (21:17 +0000)]
* gdb.base/watch_thread_num.exp: Don't run tests that require
watchpoints if the target doesn't support them.

16 years ago*** empty log message ***
gdbadmin [Tue, 13 May 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 13 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
Doug Evans [Mon, 12 May 2008 17:25:28 +0000 (17:25 +0000)]
* lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.

16 years ago2008-05-12 Samuel Tardieu <sam@rfc1149.net>
Paolo Bonzini [Mon, 12 May 2008 16:25:40 +0000 (16:25 +0000)]
2008-05-12  Samuel Tardieu  <sam@rfc1149.net>
    Paolo Bonzini  <bonzini@gnu.org>

PR ada/36001
* acx.m4: Add optional parameter to ACX_PROG_GNAT.

16 years ago PR 6443
Alan Modra [Mon, 12 May 2008 12:47:47 +0000 (12:47 +0000)]
PR 6443
* elf32-ppc.c (MUST_BE_DYN_RELOC): Delete.
(must_be_dyn_reloc): New function.
(ppc_elf_check_relocs): Don't set DF_STATIC_TLS for tprel relocs
in pies.
(ppc_elf_tls_optimize): Optimise pies.
(ppc_elf_relocate_section): Use a section symbol rather than no
symbol if possible for LD->IE TLS sequence, but don't error if
we must use no symbol.
* elf64-ppc.c (MUST_BE_DYN_RELOC): As for elf32-ppc.c.
(must_be_dyn_reloc): Likewise.
(ppc64_elf_check_relocs): Likewise.
(ppc64_elf_tls_optimize): Likewise.
(ppc64_elf_relocate_section): Likewise.

16 years ago * elf32-spu.c (spu_elf_relocate_section): Rename is_ea to is_ea_sym.
Alan Modra [Mon, 12 May 2008 12:22:53 +0000 (12:22 +0000)]
* elf32-spu.c (spu_elf_relocate_section): Rename is_ea to is_ea_sym.

16 years ago * Update uses of val_print functions with additional language argument.
Pierre Muller [Mon, 12 May 2008 07:24:54 +0000 (07:24 +0000)]
* Update uses of val_print functions with additional language argument.
generic/gdbtk-cmds.c: Add "language.h" include.
(gdb_eval): Add current_language as new arg of val_print.
generic/gdbtk-register.c: Add "language.h" include.
(get_register): Add current_language as new arg of val_print.
generic/gdbtk-wrapper.c: Add "language.h" include.
(wrap_val_print): Add current_language as new arg of val_print.

16 years ago * src-release (BINUTILS_SUPPORT_DIRS): Add elfcpp and gold.
Ian Lance Taylor [Mon, 12 May 2008 04:12:15 +0000 (04:12 +0000)]
* src-release (BINUTILS_SUPPORT_DIRS): Add elfcpp and gold.

16 years ago*** empty log message ***
gdbadmin [Mon, 12 May 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 12 May 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago * sparc-linux-tdep.c (sparc32_linux_init_abi): Remove
David S. Miller [Sun, 11 May 2008 22:43:53 +0000 (22:43 +0000)]
* sparc-linux-tdep.c (sparc32_linux_init_abi): Remove
long double size override, Linux does use 128-bit now.

16 years ago * sparc-linux-tdep.c (PSR_SYSCALL): Define.
David S. Miller [Sun, 11 May 2008 22:10:30 +0000 (22:10 +0000)]
* sparc-linux-tdep.c (PSR_SYSCALL): Define.
(sparc_linux_write_pc): New function.
(sparc32_linux_init_abi): Register it.
* sparc64-linux-tdep.c (TSTATE_SYSCALL): Define.
(sparc64_linux_write_pc): New function.
(sparc64_linux_init_abi): Register it.

16 years ago * sparc-linux-tdep.c, sparc64-linux-tdep.c: Use
David S. Miller [Sun, 11 May 2008 20:03:26 +0000 (20:03 +0000)]
  * sparc-linux-tdep.c, sparc64-linux-tdep.c: Use
dwarf2_append_unwinders(), not dwarf2_frame_sniffer.

16 years ago * rs6000-tdep.c (rs6000_gdbarch_init): Set up info.target_desc
Ulrich Weigand [Sun, 11 May 2008 15:29:47 +0000 (15:29 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): Set up info.target_desc
and info.tdep_info before calling gdbarch_init_osabi.

16 years ago*** empty log message ***
gdbadmin [Sun, 11 May 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sun, 11 May 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago * elfcore.h (elf_core_file_p): Warn about core truncation.
Alan Modra [Sat, 10 May 2008 01:58:17 +0000 (01:58 +0000)]
* elfcore.h (elf_core_file_p): Warn about core truncation.

16 years agodaily update
Alan Modra [Sat, 10 May 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sat, 10 May 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * gdb.ada/assign_1.exp: New testcase.
Joel Brobecker [Fri, 9 May 2008 23:51:40 +0000 (23:51 +0000)]
    * gdb.ada/assign_1.exp: New testcase.

16 years ago * ada-lang.c (ada_evaluate_subexp) [BINOP_ASSIGN]: Do not force
Joel Brobecker [Fri, 9 May 2008 23:50:41 +0000 (23:50 +0000)]
    * ada-lang.c (ada_evaluate_subexp) [BINOP_ASSIGN]: Do not force
        the type of the right hand side of the assignment to the type
        of the left hand side if the left hand side is a convenience
        variable.

16 years ago * NEWS: Mention gdbserver bi-arch capability.
Ulrich Weigand [Fri, 9 May 2008 19:17:46 +0000 (19:17 +0000)]
* NEWS: Mention gdbserver bi-arch capability.

16 years agoupdate for capitalization changes
Doug Evans [Fri, 9 May 2008 18:51:07 +0000 (18:51 +0000)]
update for capitalization changes

16 years agoremove cruft from previous checkin
Doug Evans [Fri, 9 May 2008 18:08:56 +0000 (18:08 +0000)]
remove cruft from previous checkin

16 years ago * remote.c (remote_search_memory): Fix capilization in error messages.
Doug Evans [Fri, 9 May 2008 17:45:58 +0000 (17:45 +0000)]
* remote.c (remote_search_memory): Fix capilization in error messages.

16 years ago * error.c (parse_find_args): Fix capitalization in previous patch.
Doug Evans [Fri, 9 May 2008 17:37:36 +0000 (17:37 +0000)]
* error.c (parse_find_args): Fix capitalization in previous patch.
(find_command): Ditto.
* target.c (simple_search_memory): Ditto.
* gdbserver/server.c (handle_search_memory_1): Ditto.
(handle_search_memory): Ditto.

16 years ago New "find" command.
Doug Evans [Fri, 9 May 2008 17:02:03 +0000 (17:02 +0000)]
New "find" command.
* NEWS: Document find command and qSearch:memory packet.
* Makefile.in (SFILES): Add findcmd.c.
(COMMON_OBJS): Add findcmd.o.
(findcmd.o): New rule.
* findcmd.c: New file.
* target.h (target_ops): New member to_search_memory.
(simple_search_memory): Declare.
(target_search_memory): Declare.
* target.c (simple_search_memory): New fn.
(target_search_memory): New fn.
* remote.c (PACKET_qSearch_memory): New packet kind.
(remote_search_memory): New fn.
(init_remote_ops): Init to_search_memory.
(init_extended_remote_ops): Ditto.
(_initialize_remote): Add qSearch:memory packet config command.

* gdbserver/server.h (decode_search_memory_packet): Declare.
* gdbserver/remote-utils.c (decode_search_memory_packet): New fn.
* gdbserver/server.c (handle_search_memory_1): New fn.
(handle_search_memory): New fn.
(handle_query): Process qSearch:memory packets.

* doc/gdb.texinfo: Document "find" command, qSearch:memory packet.

* testsuite/gdb.base/find.exp: New file.
* testsuite/gdb.base/find.c: New file.

16 years ago * ppc/altivec.igen (vperm): Latch inputs into temporaries.
Joel Brobecker [Fri, 9 May 2008 15:03:09 +0000 (15:03 +0000)]
    * ppc/altivec.igen (vperm): Latch inputs into temporaries.

16 years ago * thread.c (_initialize_thread): Don't use commas and periods in
Eli Zaretskii [Fri, 9 May 2008 08:14:47 +0000 (08:14 +0000)]
* thread.c (_initialize_thread): Don't use commas and periods in
first line of doc string of "set/show print thread-events".

16 years ago * alpha-mdebug-tdep.c, alpha-osf1-tdep.c, alpha-tdep.c:
Joel Brobecker [Fri, 9 May 2008 03:58:26 +0000 (03:58 +0000)]
    * alpha-mdebug-tdep.c, alpha-osf1-tdep.c, alpha-tdep.c:
        Update for unwinder changes.

16 years ago * frame.c (get_frame_base_address, get_frame_locals_address)
Joel Brobecker [Fri, 9 May 2008 03:52:11 +0000 (03:52 +0000)]
    * frame.c (get_frame_base_address, get_frame_locals_address)
        (get_frame_args_address): Pass the correct frame when calling
        frame_base_find_by_frame.

16 years ago*** empty log message ***
gdbadmin [Fri, 9 May 2008 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Fri, 9 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * remote.c (extended_remote_attach_1): Call target_find_description.
Ulrich Weigand [Thu, 8 May 2008 19:48:55 +0000 (19:48 +0000)]
* remote.c (extended_remote_attach_1): Call target_find_description.

16 years ago * regcache.c (registers_length): Remove.
Ulrich Weigand [Thu, 8 May 2008 19:46:56 +0000 (19:46 +0000)]
* regcache.c (registers_length): Remove.
(set_register_cache): Verify that PBUFSIZ is large enough to hold a
full register packet.
* regcache.h (registers_length): Remove prototype.
* server.h (PBUFSIZ): Define to 16384.

16 years ago * gdb.base/commands.exp (watchpoint_command_test): Handle
Daniel Jacobowitz [Thu, 8 May 2008 16:30:53 +0000 (16:30 +0000)]
* gdb.base/commands.exp (watchpoint_command_test): Handle
gdb,no_hardware_watchpoints.
* gdb.base/float.exp: Allow ARM targets without floating point.
* gdb.base/step-test.exp: Allow callee@plt when stepping in.

16 years ago * remote.c (extended_remote_create_inferior_1): Clean up
Daniel Jacobowitz [Thu, 8 May 2008 16:08:10 +0000 (16:08 +0000)]
* remote.c (extended_remote_create_inferior_1): Clean up
before marking the target running.

16 years ago * hppa-tdep.h, hppa-tdep.c, hppa-hpux-tdep.c: Update for unwinder
Joel Brobecker [Thu, 8 May 2008 04:21:45 +0000 (04:21 +0000)]
    * hppa-tdep.h, hppa-tdep.c, hppa-hpux-tdep.c: Update for unwinder
        changes.

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

16 years agodaily update
Alan Modra [Thu, 8 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agobfd/
Bob Wilson [Wed, 7 May 2008 23:13:08 +0000 (23:13 +0000)]
bfd/
        * elf32-xtensa.c (xtensa_property_section_name): New.
        (xtensa_make_property_section): New.
        (xtensa_get_property_section): Make static.  Do not create a new
        section if it does not exist.
gas/
        * config/tc-xtensa.c (xtensa_create_property_segments): Use
        xtensa_make_property_section instead of xtensa_get_property_section.
        (xtensa_create_xproperty_segments): Likewise.

16 years ago * sparc-tdep.c, sparc-tdep.h, sparc-sol2-tdep.c, sparc64-tdep.c,
Joel Brobecker [Wed, 7 May 2008 19:30:04 +0000 (19:30 +0000)]
    * sparc-tdep.c, sparc-tdep.h, sparc-sol2-tdep.c, sparc64-tdep.c,
        sparc64-sol2-tdep.c: Update for unwinder changes.

16 years agobfd/
Alan Modra [Wed, 7 May 2008 14:46:44 +0000 (14:46 +0000)]
bfd/
* elf32-spu.c (spu_elf_special_sections): Add "._ea".
(spu_elf_relocate_section): Handle relocations against symbols
defined in ._ea specially.
binutils/
* embedspu.sh: Take note of R_SPU_PPU32/64 relocs without a symbol,
and if present, put image in ".data.speelf".  Put program handle
in ".data.spehandle".
ld/emulparams/
* elf32_spu.sh (OTHER_SECTIONS): Add "._ea".
* elf32ppc.sh: If building with spu support, put ".data.spehandle"
sections at the start of ".data" and provide a symbol to locate
the directory of embedded spe programs.
ld/testsuite/
* ld-spu/ear.s: Align various sections.
* ld-spu/embed.rd: Update.

16 years ago * cp-support.c (mangled_name_to_comp): Initialize storage.
Daniel Jacobowitz [Wed, 7 May 2008 12:43:54 +0000 (12:43 +0000)]
* cp-support.c (mangled_name_to_comp): Initialize storage.
(unqualified_name_from_comp): Likewise.

16 years ago * remote.c (remote_insert_breakpoint): Call get_remote_state
Jie Zhang [Wed, 7 May 2008 11:54:41 +0000 (11:54 +0000)]
* remote.c (remote_insert_breakpoint): Call get_remote_state
after gdbarch_breakpoint_from_pc is called.
(remote_insert_hw_breakpoint): Likewise.

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

16 years agodaily update
Alan Modra [Wed, 7 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * gdb.ada/lang_switch: New test program.
Joel Brobecker [Tue, 6 May 2008 21:37:32 +0000 (21:37 +0000)]
    * gdb.ada/lang_switch: New test program.
        * gdb.ada/lang_switch.exp: New testcase.

16 years ago * valprint.c (val_print): Add new language parameter and use it
Joel Brobecker [Tue, 6 May 2008 21:35:01 +0000 (21:35 +0000)]
    * valprint.c (val_print): Add new language parameter and use it
        instead of using the current_language. Update calls to val_print
        throughout.
        (common_val_print): Add new langauge parameter and pass it to
        val_print.
        * value.h (struct language_defn): Add opaque declaration.
        (val_print, common_val_print): Update declarations.
        * stack.c (print_frame_args): Update call to common_val_print
        using the appropriate language.
        * mi/mi-cmd-stack.c (list_args_or_locals): Likewise.
        * c-valprint, f-valprint.c, m2-valprint.c, mt-tdep.c, infcmd.c,
        mi/mi-main.c, jv-valprint.c, ada-valprint.c, varobj.c, p-valprint.c,
        scm-valprint.c, cp-valprint.c, sh64-tdep.c, printcmd.c:
        #include "language.h" if necessary.
        Update calls to val_print and common_val_print.
        * Makefile.in (mt-tdep.o, sh64-tdep.o, mi-cmds.o, mi-main.o):
        Update dependencies.

16 years ago * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Treat addresses
Joel Brobecker [Tue, 6 May 2008 20:03:03 +0000 (20:03 +0000)]
    * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Treat addresses
        pointing inside a non-executable section as function descriptors.

16 years ago * inf-loop.c (inferior_event_handler): Run all continuations and
Pedro Alves [Tue, 6 May 2008 18:49:19 +0000 (18:49 +0000)]
* inf-loop.c (inferior_event_handler): Run all continuations and
print any language change before running the breakpoint commands.

16 years ago * frame-unwind.c (frame_unwind_got_bytes): New function.
Joel Brobecker [Tue, 6 May 2008 18:37:46 +0000 (18:37 +0000)]
    * frame-unwind.c (frame_unwind_got_bytes): New function.
        * frame-unwind.h (frame_unwind_got_bytes): Add declaration.
        * libunwind-frame.h, libunwind-frame.c, ia64-tdep.c: Update
        for unwinder changes.

16 years agodaily update
Alan Modra [Tue, 6 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Tue, 6 May 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * gdb.base/help.exp (disassemble): Update expected help text.
Doug Evans [Mon, 5 May 2008 22:54:49 +0000 (22:54 +0000)]
* gdb.base/help.exp (disassemble): Update expected help text.

16 years ago * NEWS: Mention new /m modifier for disassemble command.
Doug Evans [Mon, 5 May 2008 21:14:37 +0000 (21:14 +0000)]
* NEWS: Mention new /m modifier for disassemble command.
* cli/cli-cmds.c (print_disassembly): New function.
(disassemble_current_function): New function
(disassemble_command): Recognize /m modifier, print mixed
source+assembly.
(init_cli_cmds): Update disassemble help text.

* gdb.texinfo (disassemble): Document /m modifier.

16 years ago2008-05-05 Maxim Grigoriev <maxim2405@gmail.com>
Maxim Grigoriev [Mon, 5 May 2008 20:49:44 +0000 (20:49 +0000)]
2008-05-05  Maxim Grigoriev  <maxim2405@gmail.com>

* xtensa-tdep.c: Update for unwinder changes.

16 years agoUpdate m68k port for unwinder changes.
Andreas Schwab [Mon, 5 May 2008 20:47:02 +0000 (20:47 +0000)]
Update m68k port for unwinder changes.
* m68k-tdep.c (m68k_frame_cache): Expect this_frame.
(m68k_frame_this_id, m68k_frame_prev_register): Update signature.
(m68k_frame_unwind): Use default_frame_sniffer.
(m68k_frame_sniffer): Remove.
(m68k_frame_base_address): Expect this_frame.
(m68k_dummy_id): Renamed from m68k_unwind_dummy_id.  Expect
this_frame.
(m68k_gdbarch_init): Use set_gdbarch_dummy_id,
dwarf2_append_unwinders, and frame_unwind_append_unwinder.
* m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Expect frame_info
parameter instead of pc value.
(m68k_linux_get_sigtramp_info, m68k_linux_sigtramp_frame_cache):
Expect this_frame.
(m68k_linux_sigtramp_frame_this_id)
(m68k_linux_sigtramp_frame_prev_register)
(m68k_linux_sigtramp_frame_sniffer): Update signature.
(m68k_linux_sigtramp_frame_unwind): Use
m68k_linux_sigtramp_frame_sniffer.
(m68k_linux_init_abi): Use frame_unwind_append_unwinder.

* m68klinux-nat.c (store_register): Fix typo.

16 years ago * infcmd.c (step_1): Put thread id on the stack to avoid possible
Pedro Alves [Mon, 5 May 2008 16:41:42 +0000 (16:41 +0000)]
* infcmd.c (step_1): Put thread id on the stack to avoid possible
NULL dereferencing.

16 years ago * symfile.c (reread_symbols): Update objfile's entry point.
Luis Machado [Mon, 5 May 2008 16:13:49 +0000 (16:13 +0000)]
* symfile.c (reread_symbols): Update objfile's entry point.

16 years agoMinor typing error fixes in ChangeLog.
Aleksandar Ristovski [Mon, 5 May 2008 14:47:09 +0000 (14:47 +0000)]
Minor typing error fixes in ChangeLog.

16 years ago * ada-lang.c: Update throughout to use symbol_matches_domain
Aleksandar Ristovski [Mon, 5 May 2008 14:37:32 +0000 (14:37 +0000)]
* ada-lang.c: Update throughout to use symbol_matches_domain
instead of matching the symbol domain explictly.
* dwarf2read.c (add_partial_symbol): Do not add new psym for
STRUCT_DOMAIN. Make sure you recognize c++ struct and java and ada
class as typedefs. See lookup_partial_symbol function.
(new_symbol): Similar to add_partial_symbol, do not create
symbol for the typedef. See lookup_block_symbol.
* symtab.c (symbol_matches_domain): New function, takes care
of dual meaning of STRUCT_DOMAIN symbol for c++, ada and java.
(lookup_partial_symbol): Use symbol_matches_domain to see if the
found psym domain matches the given domain.
(lookup_block_symbol): Likewise.

16 years agoAdded 3 miscellaneous testcases like read32.ms uread16.ms hw-trap.ms.
M R Swami Reddy [Mon, 5 May 2008 10:25:20 +0000 (10:25 +0000)]
Added 3 miscellaneous testcases like read32.ms uread16.ms hw-trap.ms.

16 years agoThese files removed.
M R Swami Reddy [Mon, 5 May 2008 10:00:16 +0000 (10:00 +0000)]
These files removed.

16 years agoAdd the change for testcases comment update and new testcases addition.
M R Swami Reddy [Mon, 5 May 2008 09:55:36 +0000 (09:55 +0000)]
Add the change for testcases comment update and new testcases addition.

16 years agoUpdate testcase comment.
M R Swami Reddy [Mon, 5 May 2008 09:52:46 +0000 (09:52 +0000)]
Update testcase comment.
   addb.cgs addd.cgs addi.cgs andb.cgs andd.cgs andw.cgs
   ashub.cgs ashub_i.cgs ashud.cgs ashud_i.cgs ashuw.cgs
   ashuw_i.cgs cmpi.cgs cmpw.cgs jlt.cgs jump.cgs loadd.cgs
   loadw.cgs lshb.cgs lshb_i.cgs lshd.cgs lshd_i.cgs lshw.cgs
   lshw_i.cgs movb.cgs movd.cgs movw.cgs movxb.cgs movxw.cgs
   movzb.cgs movzw.cgs mulb.cgs muluw.cgs mulw.cgs orb.cgs
   ord.cgs orw.cgs pop1.cgs pop2.cgs pop3.cgs popret1.cgs
   popret2.cgs popret3.cgs push1.cgs push2.cgs push3.cgs

Added BIT operation testcases:
  cbitb.cgs cbitw.cgs sbitb.cgs sbitw.cgs tbitb.cgs tbit.cgs and tbitw.cgs

16 years ago * top.c (command_line_handler_continuation): Remove.
Vladimir Prus [Mon, 5 May 2008 09:47:47 +0000 (09:47 +0000)]
    * top.c (command_line_handler_continuation): Remove.
        (execute_command): Do not install the above.

16 years agoComment change
M R Swami Reddy [Mon, 5 May 2008 09:41:33 +0000 (09:41 +0000)]
Comment change

16 years agoUpdated the sim engine's ecode logic and commit the code changes
M R Swami Reddy [Mon, 5 May 2008 09:35:16 +0000 (09:35 +0000)]
Updated the sim engine's ecode logic and commit the code changes

16 years agoUpdate for code standards
M R Swami Reddy [Mon, 5 May 2008 09:33:37 +0000 (09:33 +0000)]
Update for code standards

16 years agoCleaned up unwanted code and fixed BIT operations simulation.
M R Swami Reddy [Mon, 5 May 2008 09:29:10 +0000 (09:29 +0000)]
Cleaned up unwanted code and fixed BIT operations simulation.

16 years agoUpdate simops struct members and PSR bits.
M R Swami Reddy [Mon, 5 May 2008 09:24:26 +0000 (09:24 +0000)]
Update simops struct members and PSR bits.

16 years agoFix typo.
M R Swami Reddy [Mon, 5 May 2008 09:21:46 +0000 (09:21 +0000)]
Fix typo.

16 years ago Update the machine code decode algorithm using hash table.
M R Swami Reddy [Mon, 5 May 2008 09:19:42 +0000 (09:19 +0000)]
 Update the machine code decode algorithm using hash table.

16 years ago * inf-loop.c (inferior_event_handler): Call bpstat_do_action,
Vladimir Prus [Mon, 5 May 2008 09:02:59 +0000 (09:02 +0000)]
* inf-loop.c (inferior_event_handler): Call bpstat_do_action,
and catch all exceptions from it.
* top.c (command_line_handler_continuation): Don't
call bpstat_do_action here.

16 years ago*** empty log message ***
gdbadmin [Mon, 5 May 2008 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 5 May 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago * dwarf2read.c (struct dwarf2_cu): Add type_hash.
Daniel Jacobowitz [Sun, 4 May 2008 22:49:47 +0000 (22:49 +0000)]
* dwarf2read.c (struct dwarf2_cu): Add type_hash.
(struct die_info): Remove type.
(read_type_die, read_typedef, read_base_type, read_subrange_type)
(read_structure_type, read_enumeration_type, read_array_type)
(read_tag_pointer_type, read_tag_ptr_to_member_type)
(read_tag_reference_type, read_tag_const_type, read_tag_volatile_type)
(read_tag_string_type, read_subroutine_type, read_set_type)
(read_unspecified_type): Delete prototypes.  Remove check for
already-loaded type.  Return the new type.
(set_die_type): Return the new type.
(reset_die_and_siblings_types): Delete.
(load_comp_unit, load_full_comp_unit): Set type_hash.
(process_queue): Remove call to reset_die_and_siblings_types.
(process_die): Do not read most types here.  Use read_type_die
for others.
(read_func_scope, dwarf2_add_member_fn): Use read_type_die.
(quirk_gcc_member_function_pointer): Return the new type.
(process_structure_scope, process_enumeration_scope): Use
get_die_type and read the DIE's type.
(read_full_die): Do not initialize die->type.
(tag_type_to_type): Use read_type_die.
(read_type_die): Check for already defined types.  Return the
type.
(determine_prefix): Use get_die_type.
(set_die_type): Return the type.
(get_die_type): Take a CU argument.  Check for no type_hash.

16 years ago * dwarf2read.c (dwarf2_ranges_read, read_partial_die): Initialize
Daniel Jacobowitz [Sun, 4 May 2008 20:04:48 +0000 (20:04 +0000)]
* dwarf2read.c (dwarf2_ranges_read, read_partial_die): Initialize
locals.