aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-10-09 * procfs.c (procfs_make_note_section): Always output a NT_PSTATUSPedro Alves2-2/+10
note when NEW_PROC_API is defined.
2009-10-09 * corelow.c (add_to_thread_list): Fix typo.Pedro Alves2-1/+3
2009-10-09 * corelow.c (core_has_fake_pid): New.Pedro Alves2-24/+67
(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.
2009-10-09doc/Paul Pluzhnikov11-342/+431
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.
2009-10-09*** empty log message ***gdbadmin1-1/+1
2009-10-08daily updateAlan Modra1-1/+1
2009-10-08 gdb/testsuite/Pedro Alves2-10/+9
* lib/gdb.exp (gdb_compile): Remove dead aix and irix related bits.
2009-10-082009-10-08 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-1/+7
PR gdb/10457 * elfread.c (elf_symtab_read): Don't use alloca in a loop.
2009-10-08gdb/doc/Jan Kratochvil2-7/+4
* gdbint.texinfo (i386_stopped_by_hwbp): Remove.
2009-10-082009-10-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+5
* config.bfd: Add bfd_mach_o_i386_vec in x86_64-darwin targ_selvecs.
2009-10-082009-10-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-16/+22
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.
2009-10-082009-10-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-0/+33
PR ld/10744 * ld-scripts/phdrs3.exp: Run phdrs3a. * ld-scripts/phdrs3a.d: New. * ld-scripts/phdrs3a.t: Likewise.
2009-10-08 PR ld/10744Alan Modra2-1/+6
* ld-scripts/phdrs3.d: Update.
2009-10-08 PR ld/10744Alan Modra3-3/+13
* ldlang.c (lang_new_phdr): Allow FILEHDR/PHDRS on more than the first PT_LOAD header. * ld.texinfo: Update.
2009-10-08*** empty log message ***gdbadmin1-1/+1
2009-10-07daily updateAlan Modra1-1/+1
2009-10-072009-10-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+12
PR gas/10704 * gas/i386/intelok.s: Add 2 new tests. * gas/i386/intelok.d: Updated.
2009-10-07gdb/testsuite/Jan Kratochvil3-0/+77
* gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
2009-10-07gdb/Jan Kratochvil2-22/+5
* i386-nat.c (i386_stopped_by_hwbp): Remove.
2009-10-07Checked in the missing testcases.H.J. Lu6-0/+55
2009-10-07Add the missing entry.H.J. Lu1-0/+6
2009-10-07 * NEWS: Update following the GDB 7.0 release.Joel Brobecker2-1/+7
2009-10-07 * gdb.base/watchpoints.c: Add copyright header. Reformat oneJoel Brobecker2-6/+28
of the comments.
2009-10-07 * arm.cc (Arm_relocate_functions::extract_arm_movw_movt_addend):Ian Lance Taylor2-0/+224
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.
2009-10-07* opcodes/microblaze-dis.c: Add include for microblaze-dis.h,Michael Eager3-6/+42
eliminate local extern decls. * opcodes/microblaze-dis.h: New.
2009-10-07 * arm.cc (Arm_relocate_functions::got_prel) New function.Ian Lance Taylor2-0/+35
(Scan::local, Scan::global): Handle R_ARM_GOT_PREL. (Relocate::relocate): Likewise. (Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
2009-10-07 * config/tc-arm.c (mapping_state, mapping_state_2): Make dummyNathan Sidwell2-2/+5
versions slightly more than nothing.
2009-10-07 * doc/c-arm.texi (ARM Options): Correctly name the two mapcs options.Nathan Sidwell2-3/+9
2009-10-07 ld/Nathan Sidwell6-4/+79
* 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.
2009-10-07Sync with gcc repository.Ian Lance Taylor6-18/+2084
2009-10-07 PR gas/2117Alan Modra2-36/+82
* 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.
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.