aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-10-292009-10-28 Doug Kwan <dougkwan@google.com>Doug Kwan2-0/+355
* arm.cc (Arm_relobj): New class definition. (Arm_relobj::scan_sections_for_stubs, Arm_relobj::do_count_local_symbols, Arm_relobj::do_relocate_sections): New method definitions.
2009-10-29 * doc/as.texinfo (Set): Delete incorrect HPPA para.Alan Modra2-5/+4
2009-10-29*** empty log message ***gdbadmin1-1/+1
2009-10-28daily updateAlan Modra1-1/+1
2009-10-28 Reported by Antti Hatala <ahatala@nvidia.com>.Daniel Jacobowitz2-1/+8
* arm-tdep.c (thumb_get_next_pc): Limit check to IT instructions correctly.
2009-10-28 * dwarf2-frame.c (dwarf2_build_frame_info): Discard --gc-sectionPedro Alves2-15/+54
leftover FDEs.
2009-10-28Revert previous patch. Applied an old version by mistake.Pedro Alves2-36/+13
2009-10-28 * dwarf2-frame.c (dwarf2_build_frame_info): Discard --gc-sectionPedro Alves2-13/+36
leftover FDEs.
2009-10-28 * plugin.h (Plugin::Plugin): Initialize cleanup_done_.Cary Coutant3-12/+25
(Plugin::cleanup_done_): New member. (Plugin_manager::Plugin_manager): Remove cleanup_done_. (Plugin_manager::cleanup_done_): Remove. (Plugin_manager::add_input_file): Edit error message. * plugin.cc (Plugin::cleanup): Test and set cleanup_done_. (Plugin_manager::cleanup): Remove use of cleanup_done_.
2009-10-282009-10-28 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-1/+7
* emultempl/pep.em (U): Define underscore macro. (init): Use for __ImageBase U macro.
2009-10-282009-10-28 Kai Tietz <kai.tietz@onevision.com>Kai Tietz3-6/+50
* dlltool.c (leading_underscore): New local variable. (asm_prefix): Interpret leading_underscore. (xlate): Likewise. (add_excludes): Use leading_underscore for making symbol name. (gen_exp_file): Use leading_underscore for internal _imp_ symbols. (usage): Add display of --no-leading-underscore and --leading-underscore option. (OPTION_NO_LEADING_UNDERSCORE): New. (OPTION_LEADING_UNDERSCORE): New. (long_options): Add --no-leading-underscore and --leading-underscore option. (main): Handle new options. * doc/binutils.text: Add documentation of the options --no-leading-underscore and --leading-underscore.
2009-10-282009-10-28 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-0/+158
* binutils-all/dlltool.exp: Add tests for --no-leading-underscore and --leading-underscore option for dlltool.
2009-10-282009-10-28 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-14/+71
PR gdb/10757 * thread-db.c (attach_thread): New function. (maybe_attach_thread): Return success/failure. (find_new_threads_callback): Adjust. (thread_db_find_new_threads): Loop until no new threads.
2009-10-282009-10-28 Paul Brook <paul@codesourcery.com>Paul Brook2-5/+7
gas/ * config/tc-arm.c (opcode_lookup): Allow VFP/NEON type suffixes unconditionally.
2009-10-28 * infrun.c (keep_going): Wrap with resume_cleanups.Pedro Alves2-0/+11
2009-10-28 gdb/:Joel Brobecker3-14/+169
* remote.c (interrupt_sequence_control_c) (interrupt_sequence_break, interrupt_sequence_break_g) (interrupt_sequence_modes): New constants. (interrupt_sequence_mode, interrupt_on_connect): New variable. (show_interrupt_sequence): New function. (set_remotebreak, show_remotebreak): New function. (send_interrupt_sequence): New function. (remote_start_remote): Call send_interrupt_sequence if interrupt_on_connect is true. (remote_stop_as): Call send_interrupt_sequence. (_initialize_remote): Add interrupt-sequence and interrupt-on-connect, modify remotebreak to call set_remotebreak and show_remotebreak. * NEWS: Add entry for "set/show remote interrupt-sequence" and "set/show remote interrupt-on-connect". Also mention that "set/show remotebreak" is now deprecated. gdb/doc/: * gdb.texinfo (Remote Configuration): Add "set/show remote interrupt-sequence" and "set/show remote interrupt-on-connect" command.
2009-10-28 PR gas/10856Alan Modra4-9/+25
* expr.c (resolve_expression): Only add "left" value to O_symbol expression when the symbol is undefined and different from the original symbol. Simplify negative logic. * gas/i386/intelpic.d: Correct.
2009-10-28 * Makefile.in (stamp-arch): Update path to lm32.cpu.Doug Evans2-4/+9
(stamp-cpu): Ditto.
2009-10-28 * fileread.cc: (File_read::View::~View): Use the newIan Lance Taylor4-20/+100
data_ownership_ filed. (File_read::~File_read): Dispose the new whole_file_view_. (File_read::open): Mmap the whole file if needed. (File_read::open): Use whole_file_view_ instead of contents_. (File_read::find_view): Use whole_file_view_ if applicable. (File_read::do_read): Use whole_file_view_ instead of contents_. (File_read::make_view): Use whole_file_view_ instead of contents_, update File_read::View::View call. (File_read::find_or_make_view): Update File_read::View::View call. * fileread.h: (File_read::File_read): Initialize whole_file_view_, remove contents_ (File_read::View::Data_ownership): New enum. (File_read::View::View): Replace bool mapped_ with Data_ownership argument. (File_read::View::mapped_): Remove (replaced by data_ownership_). (File_read::View::data_ownership_): New field. (File_read::contents_): Remove (replaced by whole_file_view_). (File_read::whole_file_view_): New field. * options.h (class General_options): Add --keep-files-mapped.
2009-10-28 * symtab.cc (add_from_pluginobj): Pass correct value for is_ordinary.Cary Coutant4-16/+66
* testsuite/Makefile.am (plugin_test_5): New test case. * testsuite/Makefile.in: Regenerate.
2009-10-28*** empty log message ***gdbadmin1-1/+1
2009-10-27daily updateAlan Modra1-1/+1
2009-10-272009-10-27 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-0/+5
* MAINTAINERS: Add self to "modify-after-approval" maintainers.
2009-10-272009-10-27 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-18/+117
PR gdb/10757 * linux-thread-db.c (attach_thread): Return success/failure indicator. (thread_db_find_new_threads_silently): Retry until no new threads. (struct callback_data): New. (find_new_threads_callback): Count new threads, stop iteration on error. (find_new_threads_once): New function. (thread_db_find_new_threads_2): Rename from thread_db_find_new_threads_1 and adjust. (thread_db_find_new_threads_1): New function.
2009-10-272009-10-27 Tom Tromey <tromey@redhat.com>Phil Muldoon2-0/+14
Eli Zaretskii <eliz@gnu.org> PR python/10781 * gdb.texinfo (Values From Inferior): Document cast method.
2009-10-272009-10-27 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-0/+15
* config/tc-avr.c (md_pseudo_table): Add dwarf2 debug pseudo. * config/tc-avr.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. (DWARF2_ADDR_SIZE): Define.
2009-10-272009-10-27 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-1/+8
* peXXigen.c (bfdver.h): Add include. (LINKER_VERSION): Do calculation based on BFD_VERSION.
2009-10-27 * Makefile.am (HFILES): Remove cgen-ops.h and cgen-types.h.Alan Modra3-2/+6
2009-10-27*** empty log message ***gdbadmin1-1/+1
2009-10-26 PR gas/10850Alan Modra4-22/+14
* listing.c (listing_flags): Delete. * listing.h: Likewise. * read.c (potable <lflags>): Call s_ignore.
2009-10-26daily updateAlan Modra1-1/+1
2009-10-26Add self to MAINTAINERS.Michael Eager2-0/+5
2009-10-262009-10-26 Michael Snyder <msnyder@vmware.com>Hui Zhu24-29/+31
Hui Zhu <teawater@gmail.com> * Makefile.in (SFILES): Add gcore.c. (COMMON_OBS): Add gcore.o. * config/alpha/alpha-linux.mh (NATDEPFILES): Delete gcore.o. * config/alpha/fbsd.mh (NATDEPFILES): Ditto. * config/arm/linux.mh (NATDEPFILES): Ditto. * config/i386/fbsd.mh (NATDEPFILES): Ditto. * config/i386/fbsd64.mh (NATDEPFILES): Ditto. * config/i386/i386sol2.mh (NATDEPFILES): Ditto. * config/i386/linux.mh (NATDEPFILES): Ditto. * config/i386/linux64.mh (NATDEPFILES): Ditto. * config/i386/sol2-64.mh (NATDEPFILES): Ditto. * config/ia64/linux.mh (NATDEPFILES): Ditto. * config/m32r/linux.mh (NATDEPFILES): Ditto. * config/m68k/linux.mh (NATDEPFILES): Ditto. * config/mips/linux.mh (NATDEPFILES): Ditto. * config/pa/linux.mh (NATDEPFILES): Ditto. * config/powerpc/linux.mh (NATDEPFILES): Ditto. * config/powerpc/ppc64-linux.mh (NATDEPFILES): Ditto. * config/s390/s390.mh (NATDEPFILES): Ditto. * config/sparc/fbsd.mh (NATDEPFILES): Ditto. * config/sparc/linux.mh (NATDEPFILES): Ditto. * config/sparc/linux64.mh (NATDEPFILES): Ditto. * config/sparc/sol2.mh (NATDEPFILES): Ditto. * config/xtensa/linux.mh (NATDEPFILES): Ditto. * target.c (dummy_find_memory_regions): Change output. (dummy_make_corefile_notes): Ditto.
2009-10-262009-10-26 Michael Snyder <msnyder@vmware.com>Hui Zhu2-2/+32
Hui Zhu <teawater@gmail.com> * Makefile.in (SFILES): Add gcore.c. (COMMON_OBS): Add gcore.o. * config/alpha/alpha-linux.mh (NATDEPFILES): Delete gcore.o. * config/alpha/fbsd.mh (NATDEPFILES): Ditto. * config/arm/linux.mh (NATDEPFILES): Ditto. * config/i386/fbsd.mh (NATDEPFILES): Ditto. * config/i386/fbsd64.mh (NATDEPFILES): Ditto. * config/i386/i386sol2.mh (NATDEPFILES): Ditto. * config/i386/linux.mh (NATDEPFILES): Ditto. * config/i386/linux64.mh (NATDEPFILES): Ditto. * config/i386/sol2-64.mh (NATDEPFILES): Ditto. * config/ia64/linux.mh (NATDEPFILES): Ditto. * config/m32r/linux.mh (NATDEPFILES): Ditto. * config/m68k/linux.mh (NATDEPFILES): Ditto. * config/mips/linux.mh (NATDEPFILES): Ditto. * config/pa/linux.mh (NATDEPFILES): Ditto. * config/powerpc/linux.mh (NATDEPFILES): Ditto. * config/powerpc/ppc64-linux.mh (NATDEPFILES): Ditto. * config/s390/s390.mh (NATDEPFILES): Ditto. * config/sparc/fbsd.mh (NATDEPFILES): Ditto. * config/sparc/linux.mh (NATDEPFILES): Ditto. * config/sparc/linux64.mh (NATDEPFILES): Ditto. * config/sparc/sol2.mh (NATDEPFILES): Ditto. * config/xtensa/linux.mh (NATDEPFILES): Ditto. * target.c (dummy_find_memory_regions): Change output. (dummy_make_corefile_notes): Ditto.
2009-10-262009-10-26 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-11/+21
* avr-tdep.c (avr_push_dummy_call): Handle avr6 architecture. Fix the returned value. Fix style.
2009-10-26 * MAINTAINERS (Responsible Maintainers): Add info about the microblazeJoel Brobecker2-0/+9
targets. Add Michael Eager as the maintainer for this target.
2009-10-26 * doc/as.texinfo: Add mention of RX port and inclusion of RXNick Clifton1-0/+5
documentation.
2009-10-26 * doc/as.texinfo: Add mention of RX port and inclusion of RXNick Clifton1-0/+14
documentation.
2009-10-26*** empty log message ***gdbadmin1-1/+1
2009-10-25daily updateAlan Modra1-1/+1
2009-10-25gdb/Jan Kratochvil3-220/+402
Performance optimize large bp_location count. * breakpoint.c (ALL_BP_LOCATIONS_SAFE): Remove. (ALL_BP_LOCATIONS): New parameter BP_TMP. Use now bp_location and bp_location_count. (bp_location_chain): Remove variable. (bp_location, bp_location_count) (bp_location_placed_address_before_address_max) (bp_location_shadow_len_after_address_max): New variables. (moribund_locations, update_watchpoint): Update the bp_location variable name. (breakpoint_restore_shadows): Extend the comment. Move the variable b to local blocks. Move the variables bp_addr, bp_size and bptoffset to a local block. New variables bc_l, bc_r and bc. New binary search for the left range boundary. New break on reaching the right range boundary. Move shadow existence conditionals to ... (bp_location_has_shadow): ... a new function. (insert_breakpoint_locations): Replace the temp variable by bp_tmp. Use now ALL_BP_LOCATIONS instead of ALL_BP_LOCATIONS_SAFE. (remove_breakpoints, remove_hw_watchpoints, reattach_breakpoints) (detach_breakpoints): New variable bp_tmp. Update the ALL_BP_LOCATIONS calling convention. (update_breakpoints_after_exec): New variable bplocp_tmp. Update the ALL_BP_LOCATIONS calling convention. (breakpoint_here_p, software_breakpoint_inserted_here_p) (breakpoint_thread_match): New variable bptp_tmp. Drop the const attribute of bpt. Update the ALL_BP_LOCATIONS calling convention. (regular_breakpoint_inserted_here_p): Likewise. Update the bp_location variable name. (mark_breakpoints_out, breakpoint_init_inferior): New variable bptp_tmp. Update the ALL_BP_LOCATIONS calling convention. (bpstat_stop_status): New variables blp_tmp and update_locations. Drop the const attribute of bl. Update the ALL_BP_LOCATIONS calling convention. Protect HIT_COUNT increment by an ENABLE_STATE check. Delay the update_global_location_list call using update_locations. (set_default_breakpoint): Drop the check_duplicates name from comment. (disable_breakpoints_in_shlibs, disable_breakpoints_in_unloaded_shlib): New variable locp_tmp. Update the ALL_BP_LOCATIONS calling convention. (bp_location_compare, bp_location_compare_for_qsort) (bp_location_target_extensions_update): New functions. (check_duplicates, check_duplicates_for): Remove, moving their code ... (update_global_location_list): ... into this existing function. Remove variables next, loc2, old_locations, ret and ix. New variables locp, loc_first, old_location, old_locp and old_location_count. Stop using global_next, create now the array bp_location, sort it by bp_location_compare_for_qsort and call bp_location_target_extensions_update. Change quadratic iteration by loc2 into an in-sync scanning by locp and loc2p. Rename former loc usage as old_loc. (do_vec_free): Remove. (breakpoint_program_space_exit): Update the ALL_BP_LOCATIONS calling convention. (remove_breakpoints_pid): New variable b_tmp. Update the ALL_BP_LOCATIONS calling convention. * breakpoint.h (struct bp_location <global_next>): Remove.
2009-10-252009-10-25 Doug Kwan <dougkwan@google.com>Doug Kwan3-16/+78
* arm.cc (Arm_output_section, Arm_relobj): Forward class declarations. (Arm_input_section::as_arm_input_section): New method. (Arm_output_section): New class definition. (Arm_output_section::create_stub_group, Arm_output_section::group_sections): New method definitions.
2009-10-25* gas/z80/equ.d, gas/z80/equ.s: Added test of parsing equ directives.Arnold Metselaar5-1/+28
* gas/z80/z80.exp: Run it. * gas/z80/redef.d: Expect little endian output only.
2009-10-25* config/tc-z80.c (z80_start_line_hook): Fix parsing of 'equ' orArnold Metselaar2-11/+17
'defl' in cases where the space between the keyword and the expression has been scrubbed away. Do not check whether a symbol is redefined with 'equ' here; the function equals takes an argument indicating whether redefinitions are allowed. Only call LISTING_NEWLINE if needed, and then after the call to bump_line_counters.
2009-10-25gdb/Jan Kratochvil2-1/+5
* mep-tdep.c: Update include for the new location cgen/bitset.h.
2009-10-25 * doc/as.texinfo (Overview): Move -mfix7000/-mno-fix7000 toMaciej W. Rozycki3-3/+13
match the order elsewhere. Add -mfix-vr4120/-mno-fix-vr4120 and -mfix-vr4130/-mno-fix-vr4130. * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-vr4120 to -mno-fix-vr4120 and -no-mfix-vr4130 to -mno-fix-vr4130.
2009-10-25 * elf32-vax.c (elf_vax_relocate_section): Correct assertion.Maciej W. Rozycki2-1/+5
2009-10-25 * elf32-vax.c (elf_vax_plt_entry): Fix formatting.Maciej W. Rozycki2-1/+5
2009-10-25 * elf32-vax.c (elf_vax_relocate_section): Fix a typo.Maciej W. Rozycki2-1/+5
2009-10-25*** empty log message ***gdbadmin1-1/+1