external/binutils.git
15 years ago PR ld/10749
Alan Modra [Fri, 9 Oct 2009 05:19:37 +0000 (05:19 +0000)]
PR ld/10749
* ldlang.c (lang_size_sections_1): Zero section vmas only for COFF.

15 years agomerge from gcc
DJ Delorie [Fri, 9 Oct 2009 04:49:52 +0000 (04:49 +0000)]
merge from gcc

15 years ago * linux-nat.c (linux_nat_wait_1): Bail out, if TARGET_WNOHANG and
Pedro Alves [Fri, 9 Oct 2009 01:57:12 +0000 (01:57 +0000)]
* linux-nat.c (linux_nat_wait_1): Bail out, if TARGET_WNOHANG and
we found no event while waiting for a specific LWP.
* infrun.c (handle_inferior_event): Handle TARGET_WAITKIND_IGNORE
before anything else.

15 years ago * procfs.c (procfs_make_note_section): Always output a NT_PSTATUS
Pedro Alves [Fri, 9 Oct 2009 01:28:02 +0000 (01:28 +0000)]
* procfs.c (procfs_make_note_section): Always output a NT_PSTATUS
note when NEW_PROC_API is defined.

15 years ago * corelow.c (add_to_thread_list): Fix typo.
Pedro Alves [Fri, 9 Oct 2009 01:01:22 +0000 (01:01 +0000)]
* corelow.c (add_to_thread_list): Fix typo.

15 years ago * corelow.c (core_has_fake_pid): New.
Pedro Alves [Fri, 9 Oct 2009 00:49:06 +0000 (00:49 +0000)]
* corelow.c (core_has_fake_pid): New.
(core_close): Clear it.
(add_to_thread_list): Fake a pid if one is not found on a Solaris
core.  Add the inferior here.  Always add the thread, don't use
thread_change_ptid.
(core_open): Don't add the main thread or the inferior here unless
we find that the core had no .reg/NN sections.
(get_core_register_section): Handle Solaris cores with fake pids.

15 years agodoc/
Paul Pluzhnikov [Fri, 9 Oct 2009 00:31:01 +0000 (00:31 +0000)]
doc/
2009-10-08  Paul Pluzhnikov  <ppluzhnikov@google.com>

* gdb.texinfo (Server): Document libthread-db-search-path.

gdbserver/
2009-10-08  Paul Pluzhnikov  <ppluzhnikov@google.com>

* acinclude.m4: (SRV_CHECK_THREAD_DB, SRV_CHECK_TLS_GET_ADDR): Remove.
* configure.ac: Adjust.
* linux-low.h (struct process_info_private): Move members to struct
thread_db.
(thread_db_free, thread_db_handle_monitor_command): New prototype.
* linux-low.c (linux_remove_process): Adjust.
(linux_wait_for_event_1, linux_look_up_symbols): Likewise.
* server.c (handle_query): Move code ...
(handle_monitor_command): ... here. New function.
* target.h (struct target_ops): New member.
* thread-db.c (struct thread_db): New.
(libthread_db_search_path): New variable.
(thread_db_create_event, thread_db_enable_reporting)
(find_one_thread, maybe_attach_thread, find_new_threads_callback)
(thread_db_find_new_threads, (thread_db_get_tls_address): Adjust.
(try_thread_db_load_1, dladdr_to_soname): New functions.
(try_thread_db_load, thread_db_load_search): New functions.
(thread_db_init): Search for libthread_db.
(thread_db_free): New function.
(thread_db_handle_monitor_command): Likewise.
* config.in: Regenerate.
* configure: Regenerate.

15 years ago*** empty log message ***
gdbadmin [Fri, 9 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Thu, 8 Oct 2009 22:59:56 +0000 (22:59 +0000)]
daily update

15 years ago gdb/testsuite/
Pedro Alves [Thu, 8 Oct 2009 22:42:53 +0000 (22:42 +0000)]
gdb/testsuite/
* lib/gdb.exp (gdb_compile): Remove dead aix and irix related
bits.

15 years ago2009-10-08 Paul Pluzhnikov <ppluzhnikov@google.com>
Paul Pluzhnikov [Thu, 8 Oct 2009 16:38:42 +0000 (16:38 +0000)]
2009-10-08  Paul Pluzhnikov  <ppluzhnikov@google.com>

PR gdb/10457
* elfread.c (elf_symtab_read): Don't use alloca in a loop.

15 years agogdb/doc/
Jan Kratochvil [Thu, 8 Oct 2009 13:08:26 +0000 (13:08 +0000)]
gdb/doc/
* gdbint.texinfo (i386_stopped_by_hwbp): Remove.

15 years ago2009-10-08 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 8 Oct 2009 12:46:17 +0000 (12:46 +0000)]
2009-10-08  Tristan Gingold  <gingold@adacore.com>

* config.bfd: Add bfd_mach_o_i386_vec in x86_64-darwin targ_selvecs.

15 years ago2009-10-08 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 8 Oct 2009 12:44:57 +0000 (12:44 +0000)]
2009-10-08  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10704
* gas/i386/intelok.s: Move 2 PIC tests to ...
* gas/i386/intelpic.s: Here.

* gas/i386/intelok.d: Updated.
* gas/i386/intelpic.d: Likewise.

15 years ago2009-10-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 8 Oct 2009 02:38:26 +0000 (02:38 +0000)]
2009-10-07  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10744
* ld-scripts/phdrs3.exp: Run phdrs3a.

* ld-scripts/phdrs3a.d: New.
* ld-scripts/phdrs3a.t: Likewise.

15 years ago PR ld/10744
Alan Modra [Thu, 8 Oct 2009 01:11:56 +0000 (01:11 +0000)]
PR ld/10744
* ld-scripts/phdrs3.d: Update.

15 years ago PR ld/10744
Alan Modra [Thu, 8 Oct 2009 01:00:27 +0000 (01:00 +0000)]
PR ld/10744
* ldlang.c (lang_new_phdr): Allow FILEHDR/PHDRS on more than the
first PT_LOAD header.
* ld.texinfo: Update.

15 years ago*** empty log message ***
gdbadmin [Thu, 8 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Wed, 7 Oct 2009 22:59:59 +0000 (22:59 +0000)]
daily update

15 years ago2009-10-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 7 Oct 2009 20:02:05 +0000 (20:02 +0000)]
2009-10-07  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10704
* gas/i386/intelok.s: Add 2 new tests.
* gas/i386/intelok.d: Updated.

15 years agogdb/testsuite/
Jan Kratochvil [Wed, 7 Oct 2009 19:52:28 +0000 (19:52 +0000)]
gdb/testsuite/
* gdb.base/hbreak.exp, gdb.base/hbreak.c: New.

15 years agogdb/
Jan Kratochvil [Wed, 7 Oct 2009 19:35:06 +0000 (19:35 +0000)]
gdb/
* i386-nat.c (i386_stopped_by_hwbp): Remove.

15 years agoChecked in the missing testcases.
H.J. Lu [Wed, 7 Oct 2009 18:33:20 +0000 (18:33 +0000)]
Checked in the missing testcases.

15 years agoAdd the missing entry.
H.J. Lu [Wed, 7 Oct 2009 18:31:50 +0000 (18:31 +0000)]
Add the missing entry.

15 years ago * NEWS: Update following the GDB 7.0 release.
Joel Brobecker [Wed, 7 Oct 2009 18:27:22 +0000 (18:27 +0000)]
    * NEWS: Update following the GDB 7.0 release.

15 years ago * gdb.base/watchpoints.c: Add copyright header. Reformat one
Joel Brobecker [Wed, 7 Oct 2009 18:17:32 +0000 (18:17 +0000)]
    * gdb.base/watchpoints.c: Add copyright header.  Reformat one
        of the comments.

15 years ago * arm.cc (Arm_relocate_functions::extract_arm_movw_movt_addend):
Ian Lance Taylor [Wed, 7 Oct 2009 15:41:50 +0000 (15:41 +0000)]
* arm.cc (Arm_relocate_functions::extract_arm_movw_movt_addend):
New function.
(Arm_relocate_functions::insert_val_arm_movw_movt): New function.
(Arm_relocate_functions::extract_thumb_movw_movt_addend): New
function.
(Arm_relocate_functions::insert_val_thumb_movw_movt): New
function.
(Arm_relocate_functions::movw_abs_nc): New function.
(Arm_relocate_functions::movt_abs): New function.
(Arm_relocate_functions::thm_movw_abs_nc): New function.
(Arm_relocate_functions::thm_movt_abs): New function.
(Scan::local): Handle R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS,
R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS.
(Scan::global): Likewise.
(Relocate::relocate): Likewise.
(Relocatable_size_for_reloc::get_size_for_reloc): Likewise.

15 years ago* opcodes/microblaze-dis.c: Add include for microblaze-dis.h,
Michael Eager [Wed, 7 Oct 2009 15:40:17 +0000 (15:40 +0000)]
* opcodes/microblaze-dis.c: Add include for microblaze-dis.h,
eliminate local extern decls.
* opcodes/microblaze-dis.h: New.

15 years ago * arm.cc (Arm_relocate_functions::got_prel) New function.
Ian Lance Taylor [Wed, 7 Oct 2009 15:30:40 +0000 (15:30 +0000)]
* arm.cc (Arm_relocate_functions::got_prel) New function.
(Scan::local, Scan::global): Handle R_ARM_GOT_PREL.
(Relocate::relocate): Likewise.
(Relocatable_size_for_reloc::get_size_for_reloc): Likewise.

15 years ago * config/tc-arm.c (mapping_state, mapping_state_2): Make dummy
Nathan Sidwell [Wed, 7 Oct 2009 14:00:06 +0000 (14:00 +0000)]
* config/tc-arm.c (mapping_state, mapping_state_2): Make dummy
versions slightly more than nothing.

15 years ago * doc/c-arm.texi (ARM Options): Correctly name the two mapcs options.
Nathan Sidwell [Wed, 7 Oct 2009 13:46:55 +0000 (13:46 +0000)]
* doc/c-arm.texi (ARM Options): Correctly name the two mapcs options.

15 years ago ld/
Nathan Sidwell [Wed, 7 Oct 2009 07:25:36 +0000 (07:25 +0000)]
ld/
* ldlang.c (lang_new_phdr): Check PHDRS and FILEHDR in loadable
segments do not appear after a different loadable segment.
* ld.texinfo (PHDRS): Document order of processing segments.
Document where PHDRS and FILEHDR may appear.

ld/testsuite/
* ld-scripts/phdrs3.d: New.
* ld-scripts/phdrs3.t: New.
* ld-scripts/phdrs3.exp: New.

15 years agoSync with gcc repository.
Ian Lance Taylor [Wed, 7 Oct 2009 05:57:49 +0000 (05:57 +0000)]
Sync with gcc repository.

15 years ago PR gas/2117
Alan Modra [Wed, 7 Oct 2009 05:13:53 +0000 (05:13 +0000)]
PR gas/2117
* config/tc-ia64.c (parse_operand): Use expression rather than
expression_and_evalute.
(parse_operand_and_eval): New function.  Replace all uses of
parse_operand outside of parse_operands with this function.
(parse_operans_maybe_eval): New function.  Replace uses of
parse_operand in parse_operands, except for the dummy, with
this function.

15 years agomerge from gcc
DJ Delorie [Wed, 7 Oct 2009 02:57:27 +0000 (02:57 +0000)]
merge from gcc

15 years ago*** empty log message ***
gdbadmin [Wed, 7 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago ARI fix: OP eol rule.
Pierre Muller [Tue, 6 Oct 2009 23:27:05 +0000 (23:27 +0000)]
ARI fix: OP eol rule.
* doublest.c (floatformat_from_length): Avoid operator at end of line.
* dwarf2-frame.c (dwarf2_build_frame_info): Idem.
* dwarf2read.c (read_array_order, dwarf_decode_macros): Idem.
* eval.c (evaluate_subexp_standard): Idem.
* event-loop.c (create_timer, handle_timer_event): Idem.
* expprint.c (print_subexp_standard): Idem.
* f-exp.y (variable): Idem.
* f-typeprint.c (f_print_type): Idem.

15 years ago * options.h (class General_options): Define
Ian Lance Taylor [Tue, 6 Oct 2009 22:58:27 +0000 (22:58 +0000)]
* options.h (class General_options): Define
split_stack_adjust_size parameter.
* object.h (class Object): Add uses_split_stack_ and
has_no_split_stack_ fields.  Add uses_split_stack and
has_no_split_stack accessor functions.  Declare
handle_split_stack_section.
(class Reloc_symbol_changes): Define.
(class Sized_relobj): Define Function_offsets.  Declare
split_stack_adjust, split_stack_adjust_reltype, and
find_functions.
* object.cc (Object::handle_split_stack_section): New function.
(Sized_relobj::do_layout): Call handle_split_stack_section.
* dynobj.cc (Sized_dynobj::do_layout): Call
handle_split_stack_section.
* reloc.cc (Sized_relobj::relocate_sections): Call
split_stack_adjust for executable sections in split_stack
objects.  Pass reloc_map to relocate_section.
(Sized_relobj::split_stack_adjust): New function.
(Sized_relobj::split_stack_adjust_reltype): New function.
(Sized_relobj::find_functions): New function.
* target-reloc.h: Include "object.h".
(relocate_section): Add reloc_symbol_changes parameter.  Change
all callers.
* target.h (class Target): Add calls_non_split method.  Declare
do_calls_non_split virtual method.  Declare match_view and
set_view_to_nop.
* target.cc: Include "elfcpp.h".
(Target::do_calls_non_split): New function.
(Target::match_view): New function.
(Target::set_view_to_nop): New function.
* gold.cc (queue_middle_tasks): Give an error if mixing
split-stack and non-split-stack objects with -r.
* i386.cc (Target_i386::relocate_section): Add
reloc_symbol_changes parameter.
(Target_i386::do_calls_non_split): New function.
* x86_64.cc (Target_x86_64::relocate_section): Add
reloc_symbol_changes parameter.
(Target_x86_64::do_calls_non_split): New function.
* arm.cc (Target_arm::relocate_section): Add reloc_symbol_changes
parameter.
* powerpc.cc (Target_powerpc::relocate_section): Add
reloc_symbol_changes parameter.
* sparc.cc (Target_sparc::relocate_section): Add
reloc_symbol_changes parameter.
* configure.ac: Call AM_CONDITIONAL for the default target.
* configure: Rebuild.
* testsuite/Makefile.am (TEST_AS): New variable.
(check_SCRIPTS): Add split_i386.sh and split_x86_64.sh.
(check_DATA): Add split_i386 and split_x86_64 files.
(SPLIT_DEFSYMS): Define.
(split_i386_[1234n].o): New targets.
(split_i386_[124]): New targets.
(split_i386_[1234r].stdout): New targets.
(split_x86_64_[1234n].o): New targets.
(split_x86_64_[124]): New targets.
(split_x86_64_[1234r].stdout): New targets.
(MOSTLYCLEANFILES): Add new executables.
* testsuite/split_i386.sh: New file.
* testsuite/split_x86_64.sh: New file.
* testsuite/split_i386_1.s: New file.
* testsuite/split_i386_2.s: New file.
* testsuite/split_i386_3.s: New file.
* testsuite/split_i386_4.s: New file.
* testsuite/split_i386_n.s: New file.
* testsuite/split_x86_64_1.s: New file.
* testsuite/split_x86_64_2.s: New file.
* testsuite/split_x86_64_3.s: New file.
* testsuite/split_x86_64_4.s: New file.
* testsuite/split_x86_64_n.s: New file.
* testsuite/testfile.cc (Target_test): Update relocation_section
function.
* testsuite/Makefile.in: Rebuild.

15 years ago ARI fix: OP eol rule.
Pierre Muller [Tue, 6 Oct 2009 22:47:20 +0000 (22:47 +0000)]
ARI fix: OP eol rule.
* blockframe.c (find_pc_partial_function): Avoid operator at end of
line.
* buildsym.c (find_symbol_in_list): Idem.
(start_subfile, patch_subfile_names): Idem.
* c-exp.y (variable, yylex): Idem.
* c-typeprint.c (c_print_type, c_type_print_base): Idem.
* c-valprint.c (c_val_print): Idem.
* coffread.c (patch_opaque_types, process_coff_symbol): Idem.
* corelow.c (core_open): Idem.
* cris-tdep.c (move_reg_to_mem_movem_op): Idem.
* cli/cli-decode.c (help_cmd_list, find_command_name_length): Idem.

15 years agoTweak last patch.
Ian Lance Taylor [Tue, 6 Oct 2009 21:44:11 +0000 (21:44 +0000)]
Tweak last patch.

15 years ago * i386.cc (class Target_i386::Relocate): Add ldo_addrs_ field.
Ian Lance Taylor [Tue, 6 Oct 2009 21:36:00 +0000 (21:36 +0000)]
* i386.cc (class Target_i386::Relocate): Add ldo_addrs_ field.
(Target_i386::Relocate::relocate_tls): Call fix_up_ldo before
changing local_dynamic_type_ from LOCAL_DYNAMIC_NONE.  When
handling R_386_TLS_LDO_32, if local_dynamic_type_ is NONE, push
the address on ldo_addrs_.
(Target_i386::Relocate::fix_up_ldo): New function.

15 years ago ARI fix: OP eol rule.
Pierre Muller [Tue, 6 Oct 2009 21:27:59 +0000 (21:27 +0000)]
ARI fix: OP eol rule.
* ada-exp.y (block_lookup): Avoid operator at end of line.
* aix-thread.c (pd_enable): Idem.
* alpha-tdep.c (alpha_next_pc): Idem.
* arm-tdep.c (arm_skip_prologue, arm_scan_prologue): Idem.
(condition_true, coff_sym_is_thumb): Idem.

15 years ago * plugin.cc (add_input_library): New.
Ian Lance Taylor [Tue, 6 Oct 2009 20:15:09 +0000 (20:15 +0000)]
* plugin.cc (add_input_library): New.
(Plugin::load): Add add_input_library to tv.
(Plugin_manager::add_input_file): Add the is_lib argument.
(add_input_file): Update call to Plugin_manager::add_input_file.
(add_input_library): New.
* plugin.h (Plugin_manager::add_input_file): Add the is_lib argument.

15 years agoMerge from gcc repository.
Ian Lance Taylor [Tue, 6 Oct 2009 20:14:06 +0000 (20:14 +0000)]
Merge from gcc repository.

15 years ago2009-10-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 6 Oct 2009 19:41:13 +0000 (19:41 +0000)]
2009-10-06  H.J. Lu  <hongjiu.lu@intel.com>

* bfd-in2.h: Regenerated.

15 years ago* info (Contributors): Add self for Xilinx MicroBlaze.
Michael Eager [Tue, 6 Oct 2009 18:02:36 +0000 (18:02 +0000)]
* info (Contributors): Add self for Xilinx MicroBlaze.
(Embedded Processors): Add MicroBlaze.
(MicroBlaze): New.  Describe Xilinx MicroBlaze

15 years agoGDB 7.0 released.
gdbadmin [Tue, 6 Oct 2009 17:40:34 +0000 (17:40 +0000)]
GDB 7.0 released.

15 years agoMinor reformatting of the last entry.
Joel Brobecker [Tue, 6 Oct 2009 16:04:05 +0000 (16:04 +0000)]
Minor reformatting of the last entry.

15 years agoUpdated Finnish translation
Nick Clifton [Tue, 6 Oct 2009 15:44:40 +0000 (15:44 +0000)]
Updated Finnish translation

15 years ago * ARI fix: "%p" rule.
Pierre Muller [Tue, 6 Oct 2009 15:32:18 +0000 (15:32 +0000)]
* ARI fix: "%p" rule.
target.c (debug_to_thread_architecture): Replace %p by %s using
host_address_to_string function.

15 years ago* microblaze/interp.c: Add include microblaze-dis.h.
Michael Eager [Tue, 6 Oct 2009 15:19:52 +0000 (15:19 +0000)]
* microblaze/interp.c: Add include microblaze-dis.h.

15 years ago * gdb.base/annota1.exp: Remove obsolete match_max increase.
Pierre Muller [Tue, 6 Oct 2009 15:12:06 +0000 (15:12 +0000)]
* gdb.base/annota1.exp: Remove obsolete match_max increase.
* gdb.base/annota3.exp: Idem.
* gdb.base/maint.exp: Idem.

15 years ago2009-10-06 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 6 Oct 2009 07:23:05 +0000 (07:23 +0000)]
2009-10-06  Tristan Gingold  <gingold@adacore.com>

* darwin-nat.c: Add __TEXT __info_plist content.
(darwin_attach_pid): Update error message.

15 years ago * MAINTAINERS: Add Tristan Gingold as Maintainer of the Darwin port.
Joel Brobecker [Tue, 6 Oct 2009 05:14:46 +0000 (05:14 +0000)]
    * MAINTAINERS: Add Tristan Gingold as Maintainer of the Darwin port.

15 years ago * MAINTAINERS: Add Jan Kratochvil as Maintainer of the ia64 target.
Joel Brobecker [Tue, 6 Oct 2009 02:56:04 +0000 (02:56 +0000)]
    * MAINTAINERS: Add Jan Kratochvil as Maintainer of the ia64 target.

15 years ago*** empty log message ***
gdbadmin [Tue, 6 Oct 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Mon, 5 Oct 2009 23:00:04 +0000 (23:00 +0000)]
daily update

15 years ago PR gas/10704
Alan Modra [Mon, 5 Oct 2009 21:58:19 +0000 (21:58 +0000)]
PR gas/10704
* symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117.

15 years ago * read.c (s_reloc): Don't use expression_and_evaluate.
Alan Modra [Mon, 5 Oct 2009 21:57:12 +0000 (21:57 +0000)]
* read.c (s_reloc): Don't use expression_and_evaluate.

15 years ago Revert:
Pedro Alves [Mon, 5 Oct 2009 13:46:52 +0000 (13:46 +0000)]
Revert:
2009-10-04  Pedro Alves  <pedro@codesourcery.com>
* gdbinit.in: Set data-directory to @srcdir@.

15 years ago * opc2c.c: Include "libiberty.h" and <errno.h>.
Nick Clifton [Mon, 5 Oct 2009 13:14:55 +0000 (13:14 +0000)]
    * opc2c.c: Include "libiberty.h" and <errno.h>.
        (orig_filename): Constify.
        (dump_lines): Fix line number directive.
        (main): Set orig_filename to basename of input file.  Use
        xstrerror.

        * Makefile.am (rx-dis.lo): Remove explicit dependencies.
        ($(srcdir)/rx-decode.c): Use @MAINT@.  Use $(EXEEXT_FOR_BUILD)
        instead of $(EXEEXT).
        (opc2c$(EXEEXT_FOR_BUILD)): Renamed from opc2c$(EXEEXT) and use
        $(LINK_FOR_BUILD).  Link with libiberty.
        (MOSTLYCLEANFILES): Add opc2c$(EXEEXT_FOR_BUILD).
        (MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
        * Makefile.in: Regenerated.
        * rx-decode.c: Regenerated.

15 years ago * lib/gdb.exp (default_gdb_init): Set current value of match_max
Pierre Muller [Mon, 5 Oct 2009 06:27:46 +0000 (06:27 +0000)]
* lib/gdb.exp (default_gdb_init): Set current value of match_max
to default.

15 years ago*** empty log message ***
gdbadmin [Mon, 5 Oct 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Sun, 4 Oct 2009 23:00:04 +0000 (23:00 +0000)]
daily update

15 years ago * NEWS: Mention non-stop mode.
Pedro Alves [Sun, 4 Oct 2009 17:39:30 +0000 (17:39 +0000)]
* NEWS: Mention non-stop mode.

15 years ago * gdb.texinfo (Remote Protocol): Don't mention vCont;T.
Pedro Alves [Sun, 4 Oct 2009 17:37:57 +0000 (17:37 +0000)]
* gdb.texinfo (Remote Protocol): Don't mention vCont;T.

15 years ago * gdbinit.in: Set data-directory to @srcdir@.
Pedro Alves [Sun, 4 Oct 2009 13:50:08 +0000 (13:50 +0000)]
* gdbinit.in: Set data-directory to @srcdir@.

15 years ago*** empty log message ***
gdbadmin [Sun, 4 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Sat, 3 Oct 2009 23:00:05 +0000 (23:00 +0000)]
daily update

15 years agoRevert the last change.
H.J. Lu [Sat, 3 Oct 2009 17:00:16 +0000 (17:00 +0000)]
Revert the last change.

15 years ago2009-10-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 3 Oct 2009 14:36:34 +0000 (14:36 +0000)]
2009-10-03  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am ($(srcdir)/rx-decode.c): Add @MAINT@.
(rx-dis.lo): Remove a space.
(pc2c$(EXEEXT)): Remove a space. Use $(LINK_FOR_BUILD) instead
of gcc.
(MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
* Makefile.in: Regenerated.

15 years ago * arm-dis.c (print_insn): Check symtab_size not *symtab.
Alan Modra [Sat, 3 Oct 2009 00:39:53 +0000 (00:39 +0000)]
* arm-dis.c (print_insn): Check symtab_size not *symtab.

15 years agodaily update
Alan Modra [Sat, 3 Oct 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sat, 3 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * remove unwanted directory parts
Pierre Muller [Fri, 2 Oct 2009 22:39:41 +0000 (22:39 +0000)]
 * remove unwanted directory parts

15 years ago * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
Pierre Muller [Fri, 2 Oct 2009 22:25:26 +0000 (22:25 +0000)]
* lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
mingw and cygwin targets.

15 years ago * lib/gdb.exp (gdb_compile): Avoid adding
Pierre Muller [Fri, 2 Oct 2009 21:28:34 +0000 (21:28 +0000)]
* lib/gdb.exp (gdb_compile): Avoid adding
gdb_saved_unbuffered_mode_obj if -nostdlib option is used.

15 years ago2009-10-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 2 Oct 2009 19:03:40 +0000 (19:03 +0000)]
2009-10-02  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Drop Disp64 on jump and loop instructions.
* i386-tbl.h: Regenerated.

15 years agomerge from gcc
DJ Delorie [Fri, 2 Oct 2009 18:23:01 +0000 (18:23 +0000)]
merge from gcc

15 years ago * linux-nat.c (TRAP_IS_SYSCALL, TRAP_REMOVE_SYSCALL_FLAG): Delete.
Pedro Alves [Fri, 2 Oct 2009 16:51:04 +0000 (16:51 +0000)]
* linux-nat.c (TRAP_IS_SYSCALL, TRAP_REMOVE_SYSCALL_FLAG): Delete.
(SYSCALL_SIGTRAP): New.
(status_to_str): Adjust.
(get_pending_status): Pending events in lp->waitstatus don't map
to any signal.  Simplify.
(linux_handle_syscall_trap): New.
(linux_handle_extended_wait): When handling PTRACE_EVENT_CLONE
events, use linux_ops->to_resume instead of direct ptrace with
PTRACE_CONT.  Remove all TRAP_IS_SYSCALL handling.
(wait_lwp): Handle syscall traps with linux_handle_syscall_trap,
and clear the sysgood bit.
(status_callback): Make it clearer and add comments.
(cancel_breakpoints_callback): Ignore if LP has waitstatus set.
(linux_nat_filter_event): Handle syscall traps with
linux_handle_syscall_trap, and clear the sysgood bit.  Move the
check for storing siginfo to after handling extended statuses and
syscall traps.  Store status in the lwp object.
(linux_wait_1): Don't swap the pending status out of the lwp
object until after deciding we found an lwp with an interesting
event.  Requeue a new pending signal if we find one while getting
rid or a pending SIGSTOP we sent ourselves.  Don't clear the
sysgood bit here.

* infrun.c (deal_with_syscall_event): Rename to ...
(handle_syscall_event): ... this.  Always context switch and set
stop_pc, even if not catching the syscall.  If not catching the
syscall, always resume with keep_going.
(handle_inferior_event): Adjust.

15 years agogdb/
Jan Kratochvil [Fri, 2 Oct 2009 16:02:34 +0000 (16:02 +0000)]
gdb/
Fix compatibility of --with-system-readline and readline-6.0+.
* configure.ac <--with-system-readline> (for readline_echoing_p): New
test.
* config.in: Regenerate.
* configure: Regenerate.

15 years ago2009-10-02 Ralf Corsepius <ralf.corsepius@rtems.org>
Tom Tromey [Fri, 2 Oct 2009 15:43:17 +0000 (15:43 +0000)]
2009-10-02  Ralf Corsepius <ralf.corsepius@rtems.org>

* Make-common.in: Add datarootdir.

15 years agotypo fix
Alan Modra [Fri, 2 Oct 2009 15:35:01 +0000 (15:35 +0000)]
typo fix

15 years agold/
Alan Modra [Fri, 2 Oct 2009 15:00:30 +0000 (15:00 +0000)]
ld/
* emultempl/ppc32elf.em (emit_stub_syms): Init to -1.
(ppc_after_open): Set emit_stubs_syms by default when shared.
(OPTION_NO_STUBSYMS): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
* emultempl/ppc64elf.em (emit_stub_syms): Init to -1.
(gld${EMULATION_NAME}_finish): Set emit_stubs_syms by default.
(OPTION_NO_STUBSYMS): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
ld/testsuite/
* ld-powerpc/tlsexe.d: Update.
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.d: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsso.d: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.d: Update.
* ld-powerpc/tlstocso.r: Update.

15 years agogas/
Peter Bergner [Fri, 2 Oct 2009 14:42:42 +0000 (14:42 +0000)]
gas/
* config/tc-ppc.c (md_show_usage): Document -m476.
* doc/c-ppc.texi (PowerPC-Opts): Document -m476.

gas/testsuite/
* gas/ppc/476.s: New test.
* gas/ppc/476.d: Likewise.
* gas/ppc/ppc.exp: Run the 476 test.

include/opcode/
* ppc.h (PPC_OPCODE_476): Define.

opcodes/
* ppc-dis.c (ppc_opts): Add "476" entry.
* ppc-opc.c (PPC476): Define.
(powerpc_opcodes): Update mnemonics where required for 476.

15 years agoinclude/aout/
Alan Modra [Fri, 2 Oct 2009 14:40:41 +0000 (14:40 +0000)]
include/aout/
* aout64.h (N_SHARED_LIB): Define as zero if not already defined.
* sun4.h (N_SHARED_LIB): Define.
* hp300hpux.h (N_SHARED_LIB): Don't define.
bfd/
* aout-cris.c (N_SHARED_LIB): Don't define.
* hp300bsd.c (N_SHARED_LIB): Don't define.
* i386bsd.c (N_SHARED_LIB): Don't define.
* i386linux.c (N_SHARED_LIB): Don't define.
* i386lynx.c (N_SHARED_LIB): Don't define.
* m68klinux.c (N_SHARED_LIB): Don't define.
* m88kmach3.c (N_SHARED_LIB): Don't define.
* mipsbsd.c (N_SHARED_LIB): Don't define.
* newsos3.c (N_SHARED_LIB): Don't define.
* pc532-mach.c (N_SHARED_LIB): Don't define.
* pdp11.c (N_SHARED_LIB): Don't define.
* sparclinux.c (N_SHARED_LIB): Don't define.
* vaxbsd.c (N_SHARED_LIB): Don't define.

15 years ago * dw2gencfi.c: Include dwarf2dbg.h.
Jakub Jelinek [Fri, 2 Oct 2009 11:33:50 +0000 (11:33 +0000)]
* dw2gencfi.c: Include dwarf2dbg.h.
(DWARF2_FORMAT): Define if not defined.
(dot_cfi_sections): New function.
(cfi_pseudo_table): Handle .cfi_sections.
(CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define.
(cfi_sections): New variable.
(output_cie, output_fde, select_cie_for_fde): Add eh_frame
argument, add supporting for outputting .debug_frame
section.
(cfi_change_reg_numbers): New function or macro.
(cfi_finish): Only emit .eh_frame if
cfi_sections & CFI_EMIT_eh_frame.  Emit .debug_frame if
cfi_sections & CFI_EMIT_debug_frame.
* config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define.
* doc/as.texinfo (CFI directives): Document .cfi_sections.

15 years ago*** empty log message ***
gdbadmin [Fri, 2 Oct 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Fri, 2 Oct 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago * lib/ld-lib.exp (ld_simple_link_defsyms): New proc, adding
Alan Modra [Thu, 1 Oct 2009 23:29:29 +0000 (23:29 +0000)]
* lib/ld-lib.exp (ld_simple_link_defsyms): New proc, adding
powerpc-*-rtems to code setting symbols, extracted from..
* ld-srec/srec.exp (run_srec_test): ..here.  Correct flags for sh64.
* ld-gc/gc.exp (test_gc): Use ld_simple_link_defsyms.

15 years ago * MAINTAINERS: Move Don Lee to the correct section (Write After
Joel Brobecker [Thu, 1 Oct 2009 23:11:02 +0000 (23:11 +0000)]
    * MAINTAINERS: Move Don Lee to the correct section (Write After
        Approval).

15 years ago * src/gdb/testsuite/gdb.base/shr1.c: Use %p in format string.
Pierre Muller [Thu, 1 Oct 2009 21:33:24 +0000 (21:33 +0000)]
* src/gdb/testsuite/gdb.base/shr1.c: Use %p in format string.
* src/gdb/testsuite/gdb.base/unload.c: Avoid warning in fprintf.
* src/gdb/testsuite/gdb.base/watchpoint-solib.c: Idem.

15 years ago2009-10-01 Phil Muldoon <pmuldoon@redhat.com>
Phil Muldoon [Thu, 1 Oct 2009 20:09:21 +0000 (20:09 +0000)]
2009-10-01  Phil Muldoon  <pmuldoon@redhat.com>

* infcall.c (call_function_by_hand): Add a new cleanup branch for
std::terminate breakpoints.

15 years ago * cofflink.c (_bfd_coff_generic_relocate_section): Look for the aux
Dave Korn [Thu, 1 Oct 2009 19:48:12 +0000 (19:48 +0000)]
* cofflink.c (_bfd_coff_generic_relocate_section): Look for the aux
symbol for a weak undef in the auxbfd, not the input bfd.

15 years agogas/
Peter Bergner [Thu, 1 Oct 2009 19:24:48 +0000 (19:24 +0000)]
gas/
* config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2".
* doc/c-ppc.texi (PowerPC-Opts): Likewise.

gas/testsuite/
* gas/ppc/a2.d: Rename "ppca2" to "a2".

include/opcode/
* ppc.h (PPC_OPCODE_A2): Rename from PPC_OPCODE_PPCA2.

opcodes/
* ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2.
* ppc-dis.c (ppc_opts): Likewise.
Rename "ppca2" to "a2".

15 years ago * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
Pierre Muller [Thu, 1 Oct 2009 15:39:13 +0000 (15:39 +0000)]
* gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
long type.
(test_unlink): Correct printf string.
* gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
* gdb.threads/attachstop-mt.c: Add #include <string.h>.

15 years ago2009-10-01 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 1 Oct 2009 14:31:43 +0000 (14:31 +0000)]
2009-10-01  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (x86_cons): Reformat.

15 years agobfd/
Ulrich Weigand [Thu, 1 Oct 2009 13:09:56 +0000 (13:09 +0000)]
bfd/
* elf32-spu.c (spu_elf_auto_overlay): Insert icache linker script
after .toe instead of before .text section.  Set the LMA of all
overlay sections to their icache IA address.
(spu_elf_find_overlays): Determine icache set id without reference
to the LMA.

ld/testsuite/
* ld-spu/icache1.d: Update to new section layout.

15 years ago2009-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
M R Swami Reddy [Thu, 1 Oct 2009 08:19:55 +0000 (08:19 +0000)]
2009-10-01  M R Swami Reddy <MR.Swami.Reddy@nsc.com>

       * crx-dis.c (match_opcode): Truncate mcode to 32-bit.

15 years ago * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
Alan Modra [Thu, 1 Oct 2009 06:33:15 +0000 (06:33 +0000)]
* addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.