aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-10-07merge from gccDJ Delorie2-0/+46
2009-10-07*** empty log message ***gdbadmin1-1/+1
2009-10-06 ARI fix: OP eol rule.Pierre Muller9-42/+54
* 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.
2009-10-06 * options.h (class General_options): DefineIan Lance Taylor32-63/+1321
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.
2009-10-06 ARI fix: OP eol rule.Pierre Muller10-62/+76
* 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.
2009-10-06Tweak last patch.Ian Lance Taylor1-9/+11
2009-10-06 * i386.cc (class Target_i386::Relocate): Add ldo_addrs_ field.Ian Lance Taylor2-1/+43
(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.
2009-10-06 ARI fix: OP eol rule.Pierre Muller5-27/+38
* 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.
2009-10-06 * plugin.cc (add_input_library): New.Ian Lance Taylor3-5/+30
(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.
2009-10-06Merge from gcc repository.Ian Lance Taylor2-2/+47
2009-10-062009-10-06 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* bfd-in2.h: Regenerated.
2009-10-06* info (Contributors): Add self for Xilinx MicroBlaze.Michael Eager2-0/+48
(Embedded Processors): Add MicroBlaze. (MicroBlaze): New. Describe Xilinx MicroBlaze
2009-10-06GDB 7.0 released.gdbadmin1-0/+4
2009-10-06Minor reformatting of the last entry.Joel Brobecker1-2/+2
2009-10-06Updated Finnish translationNick Clifton2-164/+247
2009-10-06 * ARI fix: "%p" rule.Pierre Muller2-2/+8
target.c (debug_to_thread_architecture): Replace %p by %s using host_address_to_string function.
2009-10-06* microblaze/interp.c: Add include microblaze-dis.h.Michael Eager2-0/+5
2009-10-06 * gdb.base/annota1.exp: Remove obsolete match_max increase.Pierre Muller4-14/+6
* gdb.base/annota3.exp: Idem. * gdb.base/maint.exp: Idem.
2009-10-062009-10-06 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+34
* darwin-nat.c: Add __TEXT __info_plist content. (darwin_attach_pid): Update error message.
2009-10-06 * MAINTAINERS: Add Tristan Gingold as Maintainer of the Darwin port.Joel Brobecker2-1/+5
2009-10-06 * MAINTAINERS: Add Jan Kratochvil as Maintainer of the ia64 target.Joel Brobecker2-0/+5
2009-10-06*** empty log message ***gdbadmin1-1/+1
2009-10-05daily updateAlan Modra1-1/+1
2009-10-05 PR gas/10704Alan Modra2-4/+6
* symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117.
2009-10-05 * read.c (s_reloc): Don't use expression_and_evaluate.Alan Modra2-1/+5
2009-10-05 Revert:Pedro Alves2-2/+6
2009-10-04 Pedro Alves <pedro@codesourcery.com> * gdbinit.in: Set data-directory to @srcdir@.
2009-10-05 * opc2c.c: Include "libiberty.h" and <errno.h>.Nick Clifton5-630/+656
(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.
2009-10-05 * lib/gdb.exp (default_gdb_init): Set current value of match_maxPierre Muller2-0/+7
to default.
2009-10-05*** empty log message ***gdbadmin1-1/+1
2009-10-04daily updateAlan Modra1-1/+1
2009-10-04 * NEWS: Mention non-stop mode.Pedro Alves2-0/+18
2009-10-04 * gdb.texinfo (Remote Protocol): Don't mention vCont;T.Pedro Alves2-4/+6
2009-10-04 * gdbinit.in: Set data-directory to @srcdir@.Pedro Alves2-0/+6
2009-10-04*** empty log message ***gdbadmin1-1/+1
2009-10-03daily updateAlan Modra1-1/+1
2009-10-03Revert the last change.H.J. Lu3-21/+10
2009-10-032009-10-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-10/+21
* 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.
2009-10-03 * arm-dis.c (print_insn): Check symtab_size not *symtab.Alan Modra2-2/+5
2009-10-03daily updateAlan Modra1-1/+1
2009-10-03*** empty log message ***gdbadmin1-1/+1
2009-10-02 * remove unwanted directory partsPierre Muller1-3/+3
2009-10-02 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option forPierre Muller2-1/+9
mingw and cygwin targets.
2009-10-02 * lib/gdb.exp (gdb_compile): Avoid addingPierre Muller2-1/+11
gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
2009-10-022009-10-02 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-76/+81
* i386-opc.tbl: Drop Disp64 on jump and loop instructions. * i386-tbl.h: Regenerated.
2009-10-02merge from gccDJ Delorie7-70/+305
2009-10-02 * linux-nat.c (TRAP_IS_SYSCALL, TRAP_REMOVE_SYSCALL_FLAG): Delete.Pedro Alves3-179/+344
(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.
2009-10-02gdb/Jan Kratochvil4-0/+59
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.
2009-10-022009-10-02 Ralf Corsepius <ralf.corsepius@rtems.org>Tom Tromey2-0/+5
* Make-common.in: Add datarootdir.
2009-10-02typo fixAlan Modra3-24/+24
2009-10-02ld/Alan Modra12-11/+65
* 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.