summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PR breakpoints/13568:Tom Tromey2012-01-302-10/+45
| | | | | | * dwarf2read.c (dwarf_decode_macro_bytes): Add 'include_hash' argument. Check for recursive includes. (dwarf_decode_macros): Create an include hash.
* Support stepping through PPC PLT with securePLT.Michael Eager2012-01-303-2/+110
| | | | | | | | | | | * configure.tgt (powerpc-*-linux*): Add glibc-tdep.o. * ppc-linux-tdep.c: Include glibc-tdep.h. (powerpc32_plt_stub, powerpc32_plt_stub_so): Add PLT stub templates. (powerpc_linux_in_plt_stub): New function. (powerpc_linux_in_dynsym_resolve_code): New function. (ppc_skip_trampoline_code): New function. (ppc_linux_init_abi): Use PPC specific functions rather than generic. Use glibc_skip_solib_resolver.
* gdb/testsuite/Jan Kratochvil2012-01-302-1/+6
| | | | | * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix compatibility with valgrind-3.7.0.
* *** empty log message ***gdbadmin2012-01-301-1/+1
|
* daily updateAlan Modra2012-01-291-1/+1
|
* *** empty log message ***gdbadmin2012-01-291-1/+1
|
* daily updateAlan Modra2012-01-281-1/+1
|
* gdb/Jan Kratochvil2012-01-2823-34/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code cleanup: Make 1440 bytes of data segment read-only. * arch-utils.c (endian_enum): Make it const char *const []. * arm-tdep.c (fp_model_strings, arm_abi_strings, arm_mode_strings): Likewise. * breakpoint.c (always_inserted_enums): Likewise. * cli/cli-cmds.c (script_ext_enums): Likewise. * cli/cli-decode.c (add_setshow_enum_cmd, complete_on_enum): Make the enumlist parameter const char *const *. * cli/cli-decode.h (struct cmd_list_element): Make the enums field const char *const *. * command.h (complete_on_enum, add_setshow_enum_cmd): Make the enumlist parameter const char *const *. * cris-tdep.c (cris_modes): Make it const char *const []. * filesystem.c (target_file_system_kinds): Likewise. * i386-tdep.c (valid_flavors, valid_conventions): Likewise. * infrun.c (follow_fork_mode_kind_names, follow_exec_mode_names) (can_use_displaced_stepping_enum, scheduler_enums) (exec_direction_names): Likewise. * language.c (_initialize_language): Make the type_or_range_names and case_sensitive_names variables const char *const []. * mips-tdep.c (mips_abi_strings): Make it const char *const []. * python/python.c (python_excp_enums): Likewise. * remote.c (interrupt_sequence_modes): Likewise. * rs6000-tdep.c (powerpc_vector_strings): Likewise. * serial.c (logbase_enums): Likewise. * sh-tdep.c (sh_cc_enum): Likewise. * stack.c (print_frame_arguments_choices, print_entry_values_choices): Likewise. * symtab.c (multiple_symbols_modes): Likewise. * tui/tui-win.c (tui_border_kind_enums, tui_border_mode_enums): Likewise. * utils.c (internal_problem_modes): Likewise.
* * reloc.h (Bits): New class with static functions, copied fromIan Lance Taylor2012-01-283-104/+171
| | | | | | namespace utils in arm.cc. * arm.cc (namespace utils): Remove. Rewrite all uses to use Bits instead.
* Update copyright year.Ian Lance Taylor2012-01-281-1/+1
|
* * mips.h: New fileIan Lance Taylor2012-01-283-1/+395
| | | | | | | | | | | | | | | | | | | | | * elfcpp.h (SHT_MIPS_REGINFO): New enums for processor-specific flags. (SHF_MIPS_GPREL): Likewise. (PT_MIPS_REGINFO, PT_MIPS_RTPROC, PT_MIPS_OPTIONS): Likewise. (DT_MIPS_RLD_VERSION, DT_MIPS_TIME_STAMP, DT_MIPS_ICHECKSUM, DT_MIPS_IVERSION, DT_MIPS_FLAGS, DT_MIPS_BASE_ADDRESS, DT_MIPS_MSYM, DT_MIPS_CONFLICT, DT_MIPS_LIBLIST, DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO, DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_GOTSYM, DT_MIPS_HIPAGENO, DT_MIPS_RLD_MAP, DT_MIPS_DELTA_CLASS, DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE, DT_MIPS_DELTA_INSTANCE_NO, DT_MIPS_DELTA_RELOC, DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM, DT_MIPS_DELTA_SYM_NO, DT_MIPS_DELTA_CLASSSYM, DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_CXX_FLAGS, DT_MIPS_PIXIE_INIT, DT_MIPS_SYMBOL_LIB, DT_MIPS_LOCALPAGE_GOTIDX, DT_MIPS_LOCAL_GOTIDX, DT_MIPS_HIDDEN_GOTIDX, DT_MIPS_PROTECTED_GOTIDX, DT_MIPS_OPTIONS, DT_MIPS_INTERFACE, DT_MIPS_DYNSTR_ALIGN, DT_MIPS_INTERFACE_SIZE, DT_MIPS_RLD_TEXT_RESOLVE_ADDR, DT_MIPS_PERF_SUFFIX, DT_MIPS_COMPACT_SIZE, DT_MIPS_GP_VALUE, DT_MIPS_AUX_DYNAMIC, DT_MIPS_PLTGOT, DT_MIPS_RWPLT): Likewise.
* * elfcpp.h (STT_GNU_IFUNC): Add comment.Ian Lance Taylor2012-01-282-2/+11
|
* Correct incremental relocation offsetH.J. Lu2012-01-282-1/+6
| | | | | | 2012-01-27 H.J. Lu <hongjiu.lu@intel.com> * incremental.cc (write_info_blocks): Correct relocation offset.
* *** empty log message ***gdbadmin2012-01-281-1/+1
|
* Support x32 GD->IE and GD->LE optimizationsH.J. Lu2012-01-272-17/+59
| | | | | | | 2012-01-27 H.J. Lu <hongjiu.lu@intel.com> * x86_64.cc (Relocate::tls_gd_to_ie): Support x32. (Relocate::tls_gd_to_le): Likewise.
* Support x32 IFUNC function pointerH.J. Lu2012-01-272-1/+6
| | | | | | 2012-01-27 H.J. Lu <hongjiu.lu@intel.com> * x86_64.cc (Scan::global): Support x32 IFUNC function pointer.
* Check if -mcmodel=medium worksH.J. Lu2012-01-273-2/+24
| | | | | | | 2012-01-27 H.J. Lu <hongjiu.lu@intel.com> * configure.ac: Check if -mcmodel=medium works. * configure: Regenerated.
* daily updateAlan Modra2012-01-271-1/+1
|
* gdb/Jan Kratochvil2012-01-272-1/+7
| | | | | | Fix the 2012-01-26 regression by la_get_symbol_name_match_p. * linespec.c (iterate_name_matcher): Negate the SYMBOL_NAME_MATCH_P result.
* 2012-01-27 Pedro Alves <palves@redhat.com>Pedro Alves2012-01-274-33/+26
| | | | | | | | | | | * linux-low.c (linux_child_pid_to_exec_file): Delete. (elf_64_file_p): Make static. (linux_pid_exe_is_elf_64_file): New. * linux-low.h (linux_child_pid_to_exec_file, elf_64_file_p): Delete declarations. (linux_pid_exe_is_elf_64_file): Declare. * linux-x86-low.c (x86_arch_setup): Use linux_pid_exe_is_elf_64_file.
* * configure.ac (with_python): Fix absolute path handling for win32.Doug Evans2012-01-273-2/+7
| | | | * configure: Regenerate.
* * bfd/elf32-microblaze.c (create_got_section):Michael Eager2012-01-272-1/+7
| | | | Reuse existing .rela.got section.
* 2012-01-27 Pedro Alves <palves@redhat.com>Pedro Alves2012-01-272-11/+71
| | | | | | | | | | | | * gdb.base/watchpoint.exp (no_hw): New global. (maybe_clean_restart, maybe_reinitialize): If no_hw is set, disable hw watchpoints. (test_wide_location_1, test_wide_location_2): If no_hw is set, don't expect hw watchpoints. (no_hw_watchpoints): Always clean restart. (do_tests): New procedure, factored out from the top level. (top level): Run tests twice. Once with hw watchpoints enabled, another time with hw watchpoints disabled.
* 2012-01-27 Pedro Alves <palves@redhat.com>Pedro Alves2012-01-272-36/+46
| | | | | | * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored out from the top level. (top level): Call it instead.
* 2012-01-27 Pedro Alves <palves@redhat.com>Pedro Alves2012-01-272-5/+10
| | | | | * gdb.base/watchpoint.exp (top level): Re-enable hardware watchpoints sooner.
* 2012-01-27 Pedro Alves <palves@redhat.com>Pedro Alves2012-01-272-0/+6
| | | | * gdb.base/watchpoint.exp (top level): Delete watch ival3.
* 2012-01-27 Pedro Alves <palves@redhat.com>Pedro Alves2012-01-272-2/+44
| | | | | | * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect "You may have requested too many hardware breakpoints/watchpoints".
* 2012-01-27 Pedro Alves <palves@redhat.com>Pedro Alves2012-01-272-47/+49
| | | | | | | | | | | | * gdb.base/watchpoint.exp (maybe_clean_restart) (maybe_reinitialize): New. (test_disabling_watchpoints): Call maybe_reinitialize. Don't expect "hit N times". (test_disabling_watchpoints, test_complex_watchpoint) (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint): Call maybe_clean_restart. (top level): Use clean_restart. Remove "mips-idt-*" reinitialization.
* 2012-01-27 Pedro Alves <palves@redhat.com>Pedro Alves2012-01-272-7/+5
| | | | * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
* 2012-01-27 Pedro Alves <palves@redhat.com>Pedro Alves2012-01-272-11/+10
| | | | | | * gdb.base/watchpoint.exp: Clean restart after tests that don't require `initialize' anymore. Remove unnecessary `initialize' calls.
* 2012-01-27 Pedro Alves <palves@redhat.com>Pedro Alves2012-01-272-66/+8
| | | | | * gdb.base/watchpoint.exp (wp_set): Delete. (initialize, test_simple_watchpoint, top level): Remove dead code.
* 2012-01-27 Pedro Alves <palves@redhat.com>Pedro Alves2012-01-272-1/+6
| | | | | * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix typo.
* 2012-01-27 Pedro Alves <palves@redhat.com>Pedro Alves2012-01-274-1/+217
| | | | | | | | * config/extended-gdbserver.exp: New file. * lib/gdbserver-support.exp (gdbserver_start_extended): Extend comment. (gdbserver_start_multi, mi_gdbserver_start_multi): New. * boards/native-extended-gdbserver.exp: New file.
* * gdb.textinfo (Packets): Move vCont paragraph to the correct place.Thomas Schwinge2012-01-272-6/+10
|
* *** empty log message ***gdbadmin2012-01-271-1/+1
|
* * symtab.c: Whitespace cleanup, no code changes.Doug Evans2012-01-262-1/+24
|
* * symtab.c (lookup_symbol_in_language): Improve comment.Doug Evans2012-01-262-7/+8
| | | | (lookup_symbol_aux): Fix comment.
* daily updateAlan Modra2012-01-261-1/+1
|
* * dwarf2.h (enum dwarf_form): Add Fission extensions.Cary Coutant2012-01-262-1/+17
| | | | (enum dwarf_attribute): Likewise.
* * psymtab.c (add_psymbol_to_list): Result is now "void".Doug Evans2012-01-263-21/+11
| | | | * psympriv.h (add_psymbol_to_list): Update.
* * dwarf2read.c (add_partial_symbol): Delete local psym, unused.Doug Evans2012-01-262-1/+4
|
* gdb/Jan Kratochvil2012-01-266-40/+57
| | | | | | | | | | | | | | | | | | | Do not open script filenames twice. * cli/cli-cmds.c (source_script_from_stream): Pass to source_python_script also STREAM. * python/py-auto-load.c (source_section_scripts): Pass to source_python_script_for_objfile also STREAM. (auto_load_objfile_script): Pass to source_python_script_for_objfile also INPUT. * python/python-internal.h (source_python_script_for_objfile): New parameter file, rename parameter file to filename. * python/python.c (python_run_simple_file): Call PyRun_SimpleFile instead if !_WIN32. Update the function comment. (source_python_script, source_python_script_for_objfile) (source_python_script): New parameter file, rename parameter file to filename. Pass FILENAME to python_run_simple_file. * python/python.h (source_python_script): New parameter file, rename parameter file to filename.
* 2012-01-26 Pedro Alves <palves@redhat.com>Pedro Alves2012-01-262-9/+21
| | | | | | | | | * corelow.c (core_has_fake_pid): Delete. (core_close): Delete references to `core_has_fake_pid'. (add_to_thread_list): Adjust to mark the inferior's pid as fake. (core_open): Delete references to `core_has_fake_pid'. (core_pid_to_str): Adjust to check inferior->fake_pid_p instead of the removed global.
* PR gas/13624Nick Clifton2012-01-262-0/+6
| | | | * app.c (app_push): Set 'add_newlines' to zero after saving.
* * make-relative-prefix.c (make_relative_prefix_1): Avoid warningJakub Jelinek2012-01-262-3/+9
| | | | about using preprocessor directives inside of macro arguments.
* 2012-01-26 Pedro Alves <palves@redhat.com>Pedro Alves2012-01-262-134/+77
| | | | | * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test and gdb_test_multiple.
* 2012-01-26 Pedro Alves <palves@redhat.com>Pedro Alves2012-01-262-9/+20
| | | | | Make test messages unique, and more identifiable. * gdb.multi/watchpoint-multi.exp: Change test messages.
* PR binutils/13622Nick Clifton2012-01-262-2/+10
| | | | | | * readelf.c (process_section_groups): If there are no section headers do not scan for section groups. (process_note_sections): Likewise for note sections.
* Remove language param from name_matcher in struct quick_symbol_functionsJoel Brobecker2012-01-268-20/+27
| | | | | | | | | | | | | | | | | | | | | | The quick_symbol_functions struct contains a field which is pointer a function which takes another function, called name_matcher, as its parameter. This name_matcher currently has 3 arguments, one of them being the language. This parameter is no longer used, and thus deleted. gdb/ChangeLog: * symfile.h (struct quick_symbol_functions) [expand_symtabs_matching]: Remove language parameter from name_matcher. Adjust the comment. * symtab.c (search_symbols_name_matches, expand_partial_symbol_name): Remove language parameter. * ada-lang.c (ada_expand_partial_symbol_name): Likewise. * linespec.c (iterate_name_matcher): Likewise. * dwarf2read.c (dw2_expand_symtabs_matching): Adjust type of name_matcher. Adjust call accordingly. * psymtab.c (expand_symtabs_matching_via_partial): Likewise. (maintenance_check_symtabs): Adjust type of parameter "fun". * psymtab.h (maintenance_check_symtabs): Likewise.
* Ada: allow unqualified function names in linespecsJoel Brobecker2012-01-2614-35/+86
| | | | | | | | | | | | | | | | | | | | | | | | This is the meat, where we replace the old la_symbol_name_compare language method with the new ada_get_symbol_name_match_p. It fixes the problem when trying to insert a breakpoint on "+". gdb/ChangeLog: * language.h (symbol_name_match_p_ftype): New typedef. (struct language_defn): Replace field la_symbol_name_compare by la_get_symbol_name_match_p. * ada-lang.c (ada_get_symbol_name_match_p): New function. (ada_language_defn): Use it. * linespec.c (struct symbol_matcher_data): New type. (iterate_name_matcher): Rewrite. (iterate_over_all_matching_symtabs): Pass a pointer to a symbol_matcher_data struct to expand_symtabs_matching instead of just the lookup name. * c-lang.c, d-lang.c, jv-lang.c, m2-lang.c, objc-lang.c, opencl-lang.c, p-lang.c, language.c: Delete field la_symbol_name_compare, and replace by NULL for new field la_get_symbol_name_match_p. * symfile.h (struct quick_symbol_functions): Update comment.
OpenPOWER on IntegriCloud