* tracepoint.c (scope_info): Update.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 355e82bb0137afc1079aeca71122f93983f0050a..f62a45fb80de4f90dd9df3d571aeb9b4afe8a514 100644 (file)
@@ -1,3 +1,860 @@
+2012-05-10  Tom Tromey  <tromey@redhat.com>
+
+       * tracepoint.c (scope_info): Update.
+       * symtab.c (lookup_block_symbol, iterate_over_symbols)
+       (find_pc_sect_symtab, search_symbols)
+       (default_make_symbol_completion_list_break_on)
+       (make_file_symbol_completion_list): Update.
+       * symmisc.c (dump_symtab_1): Update.
+       * stack.c (print_frame_args, iterate_over_block_locals)
+       (print_frame_labels, iterate_over_block_arg_vars): Update.
+       * python/py-block.c (block_object) <dict>: Remove.
+       <block>: New field.
+       <iter>: Change type.
+       (blpy_iter): Update.
+       (blpy_block_syms_iternext): Update.
+       * psymtab.c (map_block): Use block iterators.
+       * objfiles.c (objfile_relocate1): Use ALL_DICT_SYMBOLS.
+       * mi/mi-cmd-stack.c (list_args_or_locals): Update.
+       * mdebugread.c (parse_symbol, mylookup_symbol): Update.
+       * infrun.c (check_exception_resume): Update.
+       * cp-support.c (make_symbol_overload_list_block): Update.
+       * coffread.c (patch_opaque_types): Update.
+       * buildsym.c (finish_block, end_symtab): Use ALL_DICT_SYMBOLS.
+       * block.h (struct block_iterator): New.
+       (block_iterator_first, block_iterator_next, block_iter_name_first)
+       (block_iter_name_next, block_iter_match_first)
+       (block_iter_match_next): Declare.
+       (ALL_BLOCK_SYMBOLS): Redefine.
+       * block.c (block_iterator_first, block_iterator_next)
+       (block_iter_name_first, block_iter_name_next)
+       (block_iter_match_first, block_iter_match_next): New functions.
+       * ada-lang.c (ada_add_block_symbols)
+       (ada_make_symbol_completion_list): Use block iterator.
+
+2012-05-10  Tom Tromey  <tromey@redhat.com>
+
+       * psymtab.c (PSYMTAB_TO_SYMTAB): Remove.
+       (find_pc_sect_symtab_from_partial, lookup_symbol_aux_psymtabs)
+       (lookup_partial_symbol, find_last_source_symtab_from_partial)
+       (read_psymtabs_with_filename, map_matching_symbols_psymtab)
+       (expand_symtabs_matching_via_partial, maintenance_check_symtabs):
+       Update.
+
+2012-05-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * config/djgpp/fnchange.lst: Add entries for print-file-var-lib1.c,
+       print-file-var-lib2.c, print-file-var-main.c and
+       print-file-var.exp (located in gdb/testsuite/gdb.base).
+
+2012-05-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * findvar.c (default_read_var_value): For LOC_UNRESOLVED symbols,
+       try locating the symbol in the symbol's own objfile first, before
+       extending the search to all objfiles.
+       * symtab.c (lookup_symbol_aux_objfile): New function, extracted
+       out of lookup_symbol_aux_symtabs.
+       (lookup_symbol_aux_symtabs): Add new parameter "exclude_objfile".
+       Replace extracted-out code by call to lookup_symbol_aux_objfile.
+       Do not search EXCLUDE_OBJFILE.
+       (lookup_static_symbol_aux): Update call to lookup_symbol_aux_symtabs.
+       (lookup_symbol_global): Search for matches in the block's objfile
+       first, before searching all other objfiles.
+
+2012-05-10  Tristan Gingold  <gingold@adacore.com>
+
+       * printcmd.c (set_command): Add pre/post inc/dec.
+
+2012-05-09  Frank Ch. Eigler  <fche@redhat.com>
+
+       * gdb.1: Document -ex option.
+
+2012-05-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * infcall.c (call_function_by_hand): Remove AT_SYMBOL handling.
+       * inferior.h (AT_SYMBOL): Delete.
+
+2012-05-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * mips-tdep.c (mips_push_dummy_code): New function.
+       (mips_gdbarch_init): Set the gdbarch call_dummy_location to
+       ON_STACK and install mips_push_dummy_code as our gdbarch
+       push_dummy_code routine.
+
+2012-05-09  Pedro Alves  <palves@redhat.com>
+
+       * target.c (set_maintenance_target_async_permitted): Rename to ...
+       (set_target_async_command): ... this.
+       (show_maintenance_target_async_permitted): Rename to ...
+       (show_target_async_command): ... this.
+       (initialize_targets): Adjust.
+
+2012-05-08  Doug Evans  <dje@google.com>
+
+       * go-exp.y (classify_name): Add missing assignment of fields of
+       yylval.ssym.
+
+2012-05-08  Eli Zaretskii  <eliz@gnu.org>
+
+       Display the ">" prompt in interactive mode while reading canned
+       commands, even when the current interpreter is MI.
+
+       * interps.c (interp_set_temp): New function.
+
+       * interps.h (interp_set_temp): Add prototype.
+
+       * cli/cli-script.c (restore_interp): New cleanup function.
+       (read_command_lines): Temporarily override the current interpreter
+       with CLI and arrange for restoring the original one.
+
+2012-05-12  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * microblaze-rom.c (_initialize_picobug_rom): Add prototype.
+
+2012-05-07  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * probe.c (parse_probes): Move conditional to check for
+       debuginfo files from here...
+       * stap-probe.c (stap_get_probes): ... to here.
+
+2012-05-07  Mark Kettenis  <kettenis@gnu.org>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       * amd64-tdep.c (amd64_analyze_prologue): Additionally check for
+       `movl %esp, %ebp' for the X32 ABI.
+
+2012-05-07  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dwarf_tag_name): Return const char *.  Use
+       get_DW_TAG_name.
+       (dwarf_attr_name): Return const char *.  Use get_DW_AT_name.
+       (dwarf_form_name): Return const char *.  Use get_DW_FORM_name.
+       (dwarf_stack_op_name): Remove.
+       (dwarf_cfi_name): Return const char *.  Use get_DW_ATE_name.
+       (decode_locdesc): Use get_DW_OP_name.
+       * dwarf2loc.c (unimplemented): Use get_DW_OP_name.
+       (dwarf2_compile_expr_to_ax): Likewise.
+       (disassemble_dwarf_expression): Likewise.
+       * dwarf2expr.h: (dwarf_stack_op_name): Remove.
+
+2012-05-07  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       * sh-linux-tdep.c: Include trad-frame.h and tramp-frame.h.
+       (sh_linux_sigtramp_cache): New function.
+       (sh_linux_sigreturn_init): New function.
+       (sh_linux_rt_sigreturn_init): New function.
+       (SH_MOVW,SH_TRAP,SH_OR_R0_R0): New symbols for instruction
+       patterns.
+       (SH_NR_SIGRETURN,SH_NR_RT_SIGRETURN): New symbols for sigreturn
+       syscall codes.
+       (sh_linux_sigreturn_tramp_frame): New tramp_frame definition.
+       (sh_linux_rt_sigreturn_tramp_frame): Likewise.
+       (sh_linux_init_abi): Add init calls to register new tramp_frame
+       definitions under 32-bit SH, update comments.
+
+2012-05-07  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/10952
+
+       * amd64-linux-tdep.c: Include glibc-tdep.h.
+       (amd64_linux_init_abi): Install glibc_skip_solib_resolver as
+       gdbarch_skip_solib_resolver callback.
+
+2012-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * auto-load.c (set_auto_load_safe_path): Reset AUTO_LOAD_SAFE_PATH
+       back to DEFAULT_AUTO_LOAD_SAFE_PATH if it is being set to "".
+       (show_auto_load_safe_path): Check any-directory by comparison with "/".
+       (add_auto_load_safe_path): Change the error message.
+       (_initialize_auto_load): Change the "safe-path" help text.
+       * configure: Regenerate
+       * configure.ac (--without-auto-load-safe-path): Set
+       WITH_AUTO_LOAD_SAFE_PATH to /.
+
+2012-05-05  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * stap-probe.h: Do not include unecessary `probe.h'.
+
+2012-05-05  Alan Modra  <amodra@gmail.com>
+
+       * elfread.c (elf_symtab_read): Use bfd_abs_section_ptr and
+       bfd_und_section_ptr.
+       * machoread.c (macho_symtab_add_minsym): Use bfd_abs_section_ptr
+       and bfd_com_section_ptr.
+
+2012-05-04  Joel Brobecker  <brobecker@adacore.com>
+
+       * MAINTAINERS (Past Maintainers): Add Chris Faylor.
+
+2012-05-04  Joel Brobecker  <brobecker@adacore.com>
+
+       * windows-nat.h (segment_register_p_ftype): New typedef.
+       (windows_set_segment_register_p): Add declaration.
+       * windows-nat.c (segment_register_p): New static global.
+       (windows_set_segment_register_p): New function.
+       (do_windows_fetch_inferior_registers): Add special handling
+       for segment registers.
+       * amd64-windows-nat.c: #include "amd64-tdep.h".
+       (amd64_windows_segment_register_p): New function.
+       (_initialize_amd64_windows_nat): Call windows_set_segment_register_p.
+       * i386-windows-nat.c: #include "i386-tdep.h".
+       (i386_windows_segment_register_p): New function.
+       (_initialize_i386_windows_nat): Call windows_set_segment_register_p.
+
+2012-05-04  Tristan Gingold  <gingold@adacore.com>
+
+       * printcmd.c (set_command): Emit a warning if the expression is not
+       an assignment.
+
+2012-05-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * nto-procfs.c (procfs_find_new_threads, procfs_pid_to_str):
+       Make static.
+
+2012-05-03  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * stap-probe.c (stap_is_operator): Change declaration.
+       (stap_get_opcode): Change return value.
+       (stap_parse_argument_1): Update calls to `stap_get_opcode' and
+       `stap_parse_argument_1'.
+
+2012-05-03  Pedro Alves  <pedro@codesourcery.com>
+
+       * infrun.c (displaced_step_fixup): Add "displaced:" prefix to
+       debug log.
+
+2012-05-03  Siva Chandra Reddy  <sivachandra@google.com>
+
+       Add two new methods global_block and static_block to gdb.Symtab
+       objects.
+       * NEWS (Python scripting): Add entry about the new methods.
+       * python/py-symtab.c (stpy_global_block): New function which
+       implements the gdb.Symtab.global_block() method.
+       (stpy_static_block): New function which implements the
+       gdb.Symtab.static_block() method.
+       (symtab_object_methods): Add entries for the two new methods.
+
+2012-05-03  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dw2_find_symbol_file): Don't crash if there are no
+       files.
+
+2012-05-03  Yao Qi  <yao@codesourcery.com>
+
+       * i386-tdep.c (i386_fetch_pointer_argument): Remove extra
+       space.
+       (i386_process_record): Ditto.
+
+2012-05-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * infcall.c (unwind_on_signal_p): Make static.
+
+2012-05-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (solaris_pid_to_str): Make static.
+       (_initialize_sol_thread): Add prototype.
+
+2012-05-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (procfs_pid_to_str): Delete extern declaration.
+
+2012-05-02  Christopher Faylor  <me.cygwin2012@cgf.cx>
+
+       * MAINTAINERS: Remove myself.
+
+2012-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix --without-auto-load-safe-path for MS-Windows host platform.
+       * auto-load.c (filename_is_in_dir): Return 1 for DIR_LEN 0.
+
+2012-05-02  Eli Zaretskii  <eliz@gnu.org>
+
+       * gdb_curses.h: Undefine KEY_EVENT before including curses
+       headers.  Move "#undef MOUSE_MOVED" before any curses header
+       inclusion.
+
+2012-05-02  Sergio Durigan Junior  <sergiodj@gmail.com>
+
+       * features/i386/i386-mmx-linux.c: Regenerate.
+       * features/rs6000/powerpc-32.c: Likewise.
+       * features/rs6000/powerpc-32l.c: Likewise.
+       * features/rs6000/powerpc-403.c: Likewise.
+       * features/rs6000/powerpc-403gc.c: Likewise.
+       * features/rs6000/powerpc-405.c: Likewise.
+       * features/rs6000/powerpc-505.c: Likewise.
+       * features/rs6000/powerpc-601.c: Likewise.
+       * features/rs6000/powerpc-602.c: Likewise.
+       * features/rs6000/powerpc-603.c: Likewise.
+       * features/rs6000/powerpc-604.c: Likewise.
+       * features/rs6000/powerpc-64.c: Likewise.
+       * features/rs6000/powerpc-64l.c: Likewise.
+       * features/rs6000/powerpc-750.c: Likewise.
+       * features/rs6000/powerpc-860.c: Likewise.
+       * features/rs6000/powerpc-e500.c: Likewise.
+       * features/rs6000/powerpc-e500l.c: Likewise.
+       * features/rs6000/powerpc-isa205-32l.c: Likewise.
+       * features/rs6000/powerpc-isa205-64l.c: Likewise.
+       * features/rs6000/rs6000.c: Likewise.
+
+2012-05-02  Sergio Durigan Junior  <sergiodj@gmail.com>
+
+       * i386-tdep.c (i386_stap_parse_special_token) <s>: Remove unused
+       variable.
+       * stap-probe.c (stap_parse_single_operand) <reg_suffix,
+       reg_ind_suffix, reg_suffix_len, reg_ind_suffix_len>: Likewise.
+       (stap_parse_argument) <e>: Likewise.
+       (handle_stap_probe) <byte_order>: Likewise.
+
+2012-04-30  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (init_cutu_and_read_dies): Renamed from
+       init_and_read_dies_worker.  All callers updated.
+       (init_cu_and_read_dies, init_tu_and_read_dies): Delete.  All calls
+       replaced with init_cutu_and_read_dies.
+       (load_partial_comp_unit): Pass 1 for use_existing_cu.
+       (find_partial_die): Remove FIXME.  Don't free current CU.
+
+2012-04-30  Sterling Augustine  <saugustine@google.com>
+
+       * contrib: New directory.
+       * contrib/test_pubnames_and_indexes.py: New file.
+
+2012-04-30  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf_decode_macros): New arg section_name.
+       All callers updated.
+       (init_cu_die_reader): Verify the section is non-empty.
+       (dwarf_decode_line_header): Don't dereference section->asection
+       until we know the section is present.
+
+2012-04-29  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * tracepoint.c (start_tracing, stop_tracing): Checking for NULL
+       probes.
+
+2012-04-29  Yao Qi  <yao@codesourcery.com>
+
+       * gdb-code-style.el: New hook gdb-markup-hook
+       and gdb-comment-hook.
+
+2012-04-28  Doug Evans  <dje@google.com>
+
+       Initial support for Fission.  http://gcc.gnu.org/wiki/DebugFission
+       * symfile.c (default_symfile_relocate): Use sectp->owner instead of
+       objfile->obfd.
+       * symfile.h (dwarf2_debug_sections): New member addr.
+       * dwarf2expr.c (execute_stack_op): New case DW_OP_GNU_addr_index.
+       (ctx_no_get_addr_index): New function.
+       * dwarf2expr.h (dwarf_expr_context_funcs): New member get_addr_index.
+       (ctx_no_get_addr_index): Declare.
+       * dwarf2-frame.c (dwarf2_frame_ctx_funcs): Update.
+       * dwarf2loc.c (dwarf_expr_get_addr_index): New function.
+       (dwarf_expr_ctx_funcs): Update.
+       (needs_get_addr_index): New function.
+       (needs_frame_ctx_funcs): Update.
+       * dwarf2loc.h (dwarf2_read_addr_index): Declare.
+       * dwarf2read.c: #include "gdbcore.h".
+       (dwarf2_per_objfile): New members addr, dwo_files.
+       (dwarf2_elf_names): Add entry for addr.
+       (struct dwo_section_names): New type.
+       (dwo_section_names): New static global.
+       (dwarf2_cu): New members dwo_unit, addr_base, have_addr_base.
+       (dwarf2_per_cu_data): New member is_debug_types, all boolean uses of
+       old debug_types_section member updated to use this.
+       Rename member debug_types_section to info_or_types_section,
+       all uses updated.
+       (signatured_type): Rename member type_offset to type_offset_in_tu,
+       all uses updated.  New member type_offset_in_section.
+       (struct dwo_sections): New type.
+       (struct dwo_unit): New type.
+       (struct dwo_file): New type.
+       (die_reader_specs): New member dwo_file.
+       (dwarf2_locate_sections): Watch for .debug_addr.
+       (zlib_decompress_section): Use sectp->owner instead of objfile->obfd.
+       (dwarf2_read_section): Get bfd of section from bfd's asection,
+       instead of objfile.
+       (create_cus_from_index): Initialize the_cu->info_or_types_section.
+       (create_signatured_type_table_from_index): Initialize
+       sig_type->info_or_types_section.
+       (dw2_get_file_names): Statement lists for type units with DWO files
+       live in the DWO file.
+       (create_debug_types_hash_table): New function.
+       (create_all_type_units): Rewrite.
+       (init_cu_die_reader): New arg dwo_file, all callers updated.
+       (init_and_read_dies_worker): Get section from
+       this_cu->info_or_types_section.  Set sig_type->type_offset_in_section.
+       Watch for DW_AT_GNU_dwo_name and if present lookup the file and
+       continue reading the CU/TU from there.
+       (init_cutu_and_read_dies_no_follow): New arg dwo_file, all callers
+       updated.  Get section from this_cu->info_or_types_section.
+       (create_all_comp_units): Initialize this_cu->info_or_types_section.
+       (skip_one_die): New cases DW_FORM_GNU_addr_index,
+       DW_FORM_GNU_str_index.
+       (hash_dwo_file, eq_dwo_file): New functions.
+       (allocate_dwo_file_hash_table): New function.
+       (hash_dwo_unit, eq_dwo_unit): New functions.
+       (allocate_dwo_unit_table): New function.
+       (dwarf2_locate_dwo_sections): New function.
+       (struct create_dwo_info_table_data): New type.
+       (create_debug_info_hash_table_reader): New function.
+       (create_debug_info_hash_table): New function.
+       (try_open_dwo_file, open_dwo_file, init_dwo_file): New function.
+       (lookup_dwo_file): New function.
+       (lookup_dwo_comp_unit, lookup_dwo_type_unit): New functions.
+       (free_dwo_file, free_dwo_file_cleanup): New functions.
+       (free_dwo_file_from_slot, free_dwo_files): New functions.
+       (dwarf2_get_pc_bounds): Handle DW_FORM_GNU_addr_index.
+       (dwarf2_record_block_ranges): Ditto.
+       (read_partial_die): Ditto.
+       (process_enumeration_scope): Update to use type_offset_in_section.
+       (read_full_die_1): New function.
+       (read_full_die): Rewrite.
+       (read_attribute_value): New cases DW_FORM_GNU_addr_index,
+       DW_FORM_GNU_str_index.
+       (read_addr_index_1, read_addr_index): New functions.
+       (read_addr_index_from_leb128): New function.
+       (struct dwarf2_read_addr_index_data): New type.
+       (dwarf2_read_addr_index_reader): New function.
+       (dwarf2_read_addr_index): New function.
+       (read_str_index): New function.
+       (leb128_size): New function.
+       (dwarf_decode_line_header): Delete arg abfd, all callers updated.
+       If processing a type unit from a DWO file, get the line section
+       from the DWO file.
+       (var_decode_location): Watch for DW_OP_GNU_addr_index.
+       (dwarf2_const_value_attr): New cases DW_FORM_GNU_addr_index,
+       DW_FORM_GNU_str_index.
+       (lookup_die_type): Check whether section offset of type's die is
+       known before looking it up.  Remove assert.  Condition can
+       legimately happen for inter-cu type references.
+       (dwarf_attr_name): Handle Fission attributes.
+       (dwarf_form_name): Handle Fission forms.
+       (dump_die_shallow): New cases DW_FORM_GNU_addr_index,
+       DW_FORM_GNU_str_index.
+       (follow_die_sig): Update to use type_offset_in_section.
+       (decode_locdesc): New case DW_OP_GNU_addr_index.
+       (skip_form_bytes): New cases DW_FORM_GNU_addr_index,
+       DW_FORM_GNU_str_index.
+       (cu_debug_loc_section): New function.
+       (fill_in_loclist_baton, dwarf2_symbol_mark_computed): Call it.
+       (dwarf2_per_objfile_free): Unmap .debug_addr section.
+       Free DWO files if present.
+       * xcoffread.c (dwarf2_xcoff_names): Add .debug_addr.
+
+       Refactor DIE reading.
+       * dwarf2read.c (dwarf2_per_objfile): Replace members
+       debug_info_type_hash and debug_types_type_hash with die_type_hash.
+       (die_reader_specs): New member "die_section".  Temporarily make
+       member "buffer" non-const, pending constifying all info_ptr uses.
+       (die_reader_func_ftype): New typedef.
+       (dw2_get_file_names_reader): New function.
+       (dw2_get_file_names): Rewrite.
+       (read_and_check_type_unit_head): Rename arg type_offset to
+       type_offset_in_tu.
+       (create_all_type_units): Improve debugging message.
+       Improve dummy type unit check.
+       (init_cu_die_reader): New arg "section".  All callers updated.
+       (init_and_read_dies_worker): New function.
+       (init_cu_and_read_dies, init_tu_and_read_dies): New functions.
+       (init_cutu_and_read_dies_no_follow): New function.
+       (init_cutu_and_read_dies_simple): New function.
+       (process_psymtab_comp_unit_reader): New function.
+       (process_psymtab_comp_unit): Delete args section,
+       is_debug_types_section.  Rewrite.  All callers updated.
+       (process_psymtab_type_unit): Renamed from process_type_comp_unit.
+       All callers updated.  Rewrite.
+       (load_partial_comp_unit_reader): New function.
+       (load_partial_comp_unit): Rewrite.
+       (skip_children): New arg reader.  Delete args buffer, cu.
+       All callers updated.
+       (skip_one_die): New arg reader.  Delete args buffer, cu.
+       All callers updated.
+       (locate_pdi_sibling): New arg reader.  Delete args buffer, abfd, cu.
+       All callers updated.
+       (load_full_comp_unit_reader): New function.
+       (load_full_comp_unit): Rewrite.
+       (read_comp_unit): Delete.
+       (read_die_and_children_1): Delete, contents moved ...
+       (read_die_and_children): ... here.
+       (dwarf2_read_abbrevs): New arg abbrev_section.  All callers updated.
+       (load_partial_dies): New arg reader.  Delete args abfd, buffer, cu.
+       All callers updated.
+       (read_partial_die): New arg reader.  Delete args abfd, buffer, cu.
+       All callers updated.
+       (find_partial_die): Rewrite load_all_dies support.
+       (read_attribute_value): New arg reader.  Delete args abfd, cu.
+       All callers updated.
+       (read_attribute): New arg reader.  Delete args abfd, cu.
+       All callers updated.
+       (load_full_type_unit): Add assert.
+       (read_signatured_type_reader): New function.
+       (read_signatured_type): Rewrite.
+       (free_stack_comp_unit): Remove call to age_cached_comp_units.
+       (free_one_cached_comp_unit): Change target_cu arg to target_per_cu.
+       All callers updated.  Set per_cu->cu = NULL after freeing it.
+       (dwarf2_per_cu_offset_and_type): Renamed from dwarf2_offset_and_type.
+       (per_cu_offset_and_type_hash): Renamed from offset_and_type_hash.
+       (per_cu_offset_and_type_eq): Renamed from offset_and_type_eq.
+       (set_die_type): Update.
+       (get_die_type_at_offset): Update.
+       (read_file_scope): Call prepare_one_comp_unit.
+       (read_type_unit_scope): Ditto.
+       (prepare_one_comp_unit): Set producer if present.
+
+2012-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * probe.c (compile_rx_or_error): Silence ARI warning about missing
+        gettext function on `error'.
+
+2012-04-27  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf2_read_index): Don't use index if symbol table
+       is empty.
+
+2012-04-27  Sergio Durigan Junior  <sergiodj@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (struct breakpoint_objfile_data)
+       <longjmp_searched>,<longjmp_probes>,<exception_searched>,
+       <exception_probes>: New fields.
+       (free_breakpoint_probes): New function.
+       (create_longjmp_master_breakpoint): Prefer SystemTap probe over
+       `_Unwind_DebugHook'.
+       (create_exception_master_breakpoint): Likewise.
+       (_initialize_breakpoint): Registering cleanup for SystemTap probes.
+       * infrun.c: Including necessary header files for handling SystemTap
+       probes.
+       (handle_inferior_event): Handling longjmp breakpoint and exceptions
+       via SystemTap probes.
+       (check_exception_resume): Remove `func' argument.  Handle exception
+       unwinding breakpoint set via a SystemTap probe.
+       (insert_exception_resume_from_probe): New function.
+
+2012-04-27  Sergio Durigan Junior  <sergiodj@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * Makefile.in (SFILES): Add `probe' and `stap-probe'.
+       (COMMON_OBS): Likewise.
+       (HFILES_NO_SRCDIR): Add `probe'.
+       * NEWS: Mention support for static and SystemTap probes.
+       * amd64-tdep.c (amd64_init_abi): Initializing proper fields used by
+       SystemTap probes' arguments parser.
+       * arm-linux-tdep.c: Including headers needed to perform the parsing
+       of SystemTap probes' arguments.
+       (arm_stap_is_single_operand): New function.
+       (arm_stap_parse_special_token): Likewise.
+       (arm_linux_init_abi): Initializing proper fields used by SystemTap
+       probes' arguments parser.
+       * ax-gdb.c (require_rvalue): Removing static declaration.
+       (gen_expr): Likewise.
+       * ax-gdb.h (gen_expr): Declaring function.
+       (require_rvalue): Likewise.
+       * breakpoint.c: Include `gdb_regex.h' and `probe.h'.
+       (bkpt_probe_breakpoint_ops): New variable.
+       (momentary_breakpoint_from_master): Set the `probe' value.
+       (add_location_to_breakpoint): Likewise.
+       (break_command_1): Using proper breakpoint_ops according to the
+       argument passed by the user in the command line.
+       (bkpt_probe_insert_location): New function.
+       (bkpt_probe_remove_location): Likewise.
+       (bkpt_probe_create_sals_from_address): Likewise.
+       (bkpt_probe_decode_linespec): Likewise.
+       (tracepoint_probe_create_sals_from_address): Likewise.
+       (tracepoint_probe_decode_linespec): Likewise.
+       (tracepoint_probe_breakpoint_ops): New variable.
+       (trace_command): Using proper breakpoint_ops according to the
+       argument passed by the user in the command line.
+       (initialize_breakpoint_ops): Initializing breakpoint_ops for
+       static probes on breakpoints and tracepoints.
+       * breakpoint.h (struct bp_location) <probe>: New field.
+       * cli-utils.c (skip_spaces_const): New function.
+       (extract_arg): Likewise.
+       * cli-utils.h (skip_spaces_const): Likewise.
+       (extract_arg): Likewise.
+       * coffread.c (coff_sym_fns): Add `sym_probe_fns' value.
+       * configure.ac: Append `stap-probe.o' to be generated when ELF
+       support is present.
+       * configure: Regenerate.
+       * dbxread.c (aout_sym_fns): Add `sym_probe_fns' value.
+       * elfread.c: Include `probe.h' and `arch-utils.h'.
+       (probe_key): New variable.
+       (elf_get_probes): New function.
+       (elf_get_probe_argument_count): Likewise.
+       (elf_evaluate_probe_argument): Likewise.
+       (elf_compile_to_ax): Likewise.
+       (elf_symfile_relocate_probe): Likewise.
+       (stap_probe_key_free): Likewise.
+       (elf_probe_fns): New variable.
+       (elf_sym_fns): Add `sym_probe_fns' value.
+       (elf_sym_fns_lazy_psyms): Likewise.
+       (elf_sym_fns_gdb_index): Likewise.
+       (_initialize_elfread): Initialize objfile cache for static
+       probes.
+       * gdb_vecs.h (struct probe): New forward declaration.
+       (probe_p): New VEC declaration.
+       * gdbarch.c: Regenerate.
+       * gdbarch.h: Regenerate.
+       * gdbarch.sh (stap_integer_prefix): New variable.
+       (stap_integer_suffix): Likewise.
+       (stap_register_prefix): Likewise.
+       (stap_register_suffix): Likewise.
+       (stap_register_indirection_prefix): Likewise.
+       (stap_register_indirection_suffix): Likewise.
+       (stap_gdb_register_prefix): Likewise.
+       (stap_gdb_register_suffix): Likewise.
+       (stap_is_single_operand): New function.
+       (stap_parse_special_token): Likewise.
+       (struct stap_parse_info): Forward declaration.
+       * i386-tdep.c: Including headers needed to perform the parsing
+       of SystemTap probes' arguments.
+       (i386_stap_is_single_operand): New function.
+       (i386_stap_parse_special_token): Likewise.
+       (i386_elf_init_abi): Initializing proper fields used by SystemTap
+       probes' arguments parser.
+       * i386-tdep.h (i386_stap_is_single_operand): New function.
+       (i386_stap_parse_special_token): Likewise.
+       * machoread.c (macho_sym_fns): Add `sym_probe_fns' value.
+       * mipsread.c (ecoff_sym_fns): Likewise.
+       * objfiles.c (objfile_relocate1): Support relocation for static
+       probes.
+       * parse.c (prefixify_expression): Remove static declaration.
+       (initialize_expout): Likewise.
+       (reallocate_expout): Likewise.
+       * parser-defs.h (initialize_expout): Declare function.
+       (reallocate_expout): Likewise.
+       (prefixify_expression): Likewise.
+       * ppc-linux-tdep.c: Including headers needed to perform the parsing
+       of SystemTap probes' arguments.
+       (ppc_stap_is_single_operand): New function.
+       (ppc_stap_parse_special_token): Likewise.
+       (ppc_linux_init_abi): Initializing proper fields used by SystemTap
+       probes' arguments parser.
+       * probe.c: New file, for generic statically defined probe support.
+       * probe.h: Likewise.
+       * s390-tdep.c: Including headers needed to perform the parsing of
+       SystemTap probes' arguments.
+       (s390_stap_is_single_operand): New function.
+       (s390_gdbarch_init): Initializing proper fields used by SystemTap
+       probes' arguments parser.
+       * somread.c (som_sym_fns): Add `sym_probe_fns' value.
+       * stap-probe.c: New file, for SystemTap probe support.
+       * stap-probe.h: Likewise.
+       * symfile.h: Include `gdb_vecs.h'.
+       (struct sym_probe_fns): New struct.
+       (struct sym_fns) <sym_probe_fns>: New field.
+       * symtab.c (init_sal): Initialize `probe' field.
+       * symtab.h (struct probe): Forward declaration.
+       (struct symtab_and_line) <probe>: New field.
+       * tracepoint.c (start_tracing): Adjust semaphore on breakpoints
+       locations.
+       (stop_tracing): Likewise.
+       * xcoffread.c (xcoff_sym_fns): Add `sym_probe_fns' value.
+
+2012-04-27  Sergio Durigan Junior  <sergiodj@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       * ax-gdb.c (gen_expr): Clean up code to handle internal variables
+       and to compile agent expressions.
+       * infrun.c (siginfo_make_value): New argument `ignore'.
+       (siginfo_funcs): New struct.
+       (_initialize_infrun): New argument when calling
+       `create_internalvar_type_lazy'.
+       * thread.c (thread_id_make_value): New argument `ignore'.
+       (thread_funcs): New struct.
+       (_initialize_thread): New argument when calling
+       `create_internalvar_type_lazy'.
+       * tracepoint.c (sdata_make_value): New argument `ignore'.
+       (sdata_funcs): New struct.
+       (_initialize_tracepoint): New argument when calling
+       `create_internalvar_type_lazy'.
+       * value.c (make_value): New struct.
+       (create_internalvar_type_lazy): New argument `data'.
+       (compile_internalvar_to_ax): New function.
+       (value_of_internalvar): Properly handling `make_value' case.
+       (clear_internalvar): Likewise.
+       (show_convenience): Adding `TRY_CATCH' block.
+       * value.h (internalvar_make_value): Delete, replace by...
+       (struct internalvar_funcs): ... this.
+       (create_internalvar_type_lazy) <fun>: Delete argument.
+       (create_internalvar_type_lazy) <funcs>, <data>: New arguments.
+       (compile_internalvar_to_ax): New function.
+       * windows-tdep.c (tlb_make_value): New argument `ignore'.
+       (tlb_funcs): New struct.
+       (_initialize_windows_tdep): New argument when calling
+       `create_internalvar_type_lazy'.
+
+2012-04-27  Mark Wielaard  <mjw@redhat.com>
+
+       * dwarf2read.c (dwarf2_get_pc_bounds): Check DW_AT_high_pc form to
+       see whether it is an address or a constant offset from DW_AT_low_pc.
+       (dwarf2_record_block_ranges): Likewise.
+       (read_partial_die): Likewise.
+
+2012-04-26  Mark Wielaard  <mjw@redhat.com>
+
+       * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2012-04-26  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * proc-utils.h (proc_prettyprint_signalset): New prototype.
+       (proc_prettyprint_signal): Likewise.
+       (proc_prettyprint_faultset): Likewise.
+       (proc_prettyprint_fault): Likewise.
+       (proc_prettyprint_actionset): Likewise.
+       (proc_prettyprint_flags): Move to new proc-flags.c section.
+       (proc_prettyfprint_flags): New prototype.
+       * procfs.c (proc_nsysarg, proc_sysargs): Add prototypes.
+       (proc_syscall, proc_cursig): Likewise.
+       (proc_set_kill_on_last_close): Likewise.
+       (proc_unset_kill_on_last_close): Likewise.
+       (proc_set_watchpoint): Make static.
+       (proc_delete_dead_threads): Likewise.
+       (procfs_set_watchpoint): Likewise.
+       (_initialize_procfs): Add prototype.
+       * proc-events.c: Include proc-utils.h.
+       (init_syscall_table): Make static.
+       * proc-api.c (_initialize_proc_api): Add prototype.
+       * proc-flags.c: Include proc-utils.h.
+
+2012-04-26  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * configure.ac: Add AC_ARG_PROGRAM.
+       * configure: Regenerate.
+
+2012-04-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix DW_AT_lower_bound defaults for DWARF-4+.
+       * dwarf2read.c (read_subrange_type): Remove initialization of low and
+       high.  New variable low_default_is_valid.  Implement DWARF-4+
+       DW_AT_lower_bound defaults.  Print complaint for DW_AT_lower_bound with
+       no default by the DWARF standard.
+
+2012-04-26  Maciej W. Rozycki  <macro@mips.com>
+            Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * infrun.c (handle_inferior_event): Move the check for return
+       trampolines ahead of the check for function trampolines.
+       * mips-tdep.h (MIPS_S2_REGNUM, MIPS_GP_REGNUM): New macros.
+       * mips-tdep.c (mips_str_mips16_call_stub): New variable.
+       (mips_str_mips16_ret_stub): Likewise.
+       (mips_str_call_fp_stub): Likewise.
+       (mips_str_call_stub): Likewise.
+       (mips_str_fn_stub): Likewise.
+       (mips_str_pic): Likewise.
+       (mips_in_frame_stub): New function.
+       (mips_unwind_pc): Return the return address rather than the PC
+       if the PC of an intermediate frame is inside a call thunk.
+       (mips_is_stub_suffix): New function.
+       (mips_is_stub_mode): Likewise.
+       (mips_get_mips16_fn_stub_pc): Likewise.
+       (mips_skip_mips16_trampoline_code): Update to handle all the
+       currently generated stub types.  Don't recurse into __fn_stub
+       thunks.  Remove heuristics to handle stubs beyond etext/_etext.
+       Use cooked register accesses.
+       (mips_in_return_stub): Reintroduce function.
+       (mips_skip_trampoline_code): Traverse trampolines recursively.
+       (mips_gdbarch_init): Handle MIPS16 return trampolines.
+
+2012-04-26  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.4.1 released.
+
+2012-04-26  Jonathan Larmour  <jifl@eCosCentric.com>
+
+       * arm-tdep.h (VFP_REGISTER_SIZE): Define.
+       * features/arm-with-m-vfp-d16.xml: New file. Describes
+       Cortex-M with VFPv4-sp-d16 FPU register layout.
+       * features/Makefile (WHICH): Add arm-with-m-vfp-d16.
+       * features/arm-with-m-vfp-d16.c: New. Generated from above.
+       * arm-tdep.c: Include arm-with-m-vfp-d16.c.
+       (arm-register_g_packet_guesses): Add vfp-d16 guess.
+       (_initialise_arm_tdep): Initialize arm-with-m-vfp-d16 tdesc.
+
+2012-04-25  Doug Evans  <dje@google.com>
+
+       * cli/cli-decode.c (print_doc_line): Use stream instead of
+       current_uiout.
+
+2012-04-25  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * features/arm-with-iwmmxt.c: Regenerate.
+       * features/arm-with-m-fpa-layout.c: Likewise.
+       * features/arm-with-m.c: Likewise.
+       * features/arm-with-neon.c: Likewise.
+       * features/arm-with-vfpv2.c: Likewise.
+       * features/arm-with-vfpv3.c: Likewise.
+       * features/mips-dsp-linux.c: Likewise.
+       * features/mips-linux.c: Likewise.
+       * features/mips64-dsp-linux.c: Likewise.
+       * features/mips64-linux.c: Likewise.
+       * features/s390-linux32.c: Likewise.
+       * features/s390-linux32v1.c: Likewise.
+       * features/s390-linux32v2.c: Likewise.
+       * features/s390-linux64.c: Likewise.
+       * features/s390-linux64v1.c: Likewise.
+       * features/s390-linux64v2.c: Likewise.
+       * features/s390x-linux64.c: Likewise.
+       * features/s390x-linux64v1.c: Likewise.
+       * features/s390x-linux64v2.c: Likewise.
+       * features/tic6x-c62x-linux.c: Likewise.
+       * features/tic6x-c62x.c: Likewise.
+       * features/tic6x-c64x-linux.c: Likewise.
+       * features/tic6x-c64x.c: Likewise.
+       * features/tic6x-c64xp-linux.c: Likewise.
+       * features/tic6x-c64xp.c: Likewise.
+       * target-descriptions.c: Only generate `field_type' and `type'
+       variables when needed.
+
+2012-04-25  Fredrik Hederstierna  <fredrikh.hederstierna@securitas-direct.com>
+
+       * cli/cli-cmds.c (cd_command): Use memmove instead of strcpy.
+
+2012-04-25  Doug Evans  <dje@google.com>
+
+       Initial pass at Go language support.
+       * NEWS: Mention Go.
+       * Makefile.in (SFILES): Add go-exp.y, go-lang.c, go-typeprint.c,
+       go-valprint.c.
+       (COMMON_OBS): Add go-lang.o, go-val.print.o, go-typeprint.o.
+       (YYFILES): Add go-exp.c.
+       (YYOBJ): Add go-exp.o.
+       (local-maintainer-clean): Delete go-exp.c.
+       * defs.h (enum language): Add language_go.
+       * dwarf2read.c: #include "go-lang.h".
+       (fixup_go_packaging): New function.
+       (process_full_comp_unit): Call it when processing Go CUs.
+       (dwarf2_physname): Add Go support.
+       (read_file_scope): Handle missing language spec for GNU Go.
+       (set_cu_language): Handle DW_LANG_Go.
+       * go-exp.y: New file.
+       * go-lang.h: New file.
+       * go-lang.c: New file.
+       * go-typeprint.c: New file.
+       * go-valprint.c: New file.
+       * symtab.c: #include "go-lang.h".
+       (symbol_set_language): Handle language_go.
+       (symbol_find_demangled_name, symbol_set_names): Ditto.
+       (symbol_natural_name, demangle_for_lookup, find_main_name): Ditto.
+
+2012-04-24  Jim Meyering  <meyering@redhat.com>
+
+       avoid a few strncpy-induced buffer overruns
+       * procfs.c (procfs_make_note_section): Be sure to NUL-terminate
+       fname and psargs before trying to concatenate.
+       * tui/tui-stack.c (tui_get_function_from_frame): NUL-terminate
+       "name" before applying strchr.
+
+2012-04-25  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * CONTRIBUTE: Use unified diff instead of context diff when
+       generating patches.
+
+2012-04-24  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (mips_about_to_return): Remove dead MIPS16 support
+       code.  Handle JR.HB correctly.
+
 2012-04-24  Maciej W. Rozycki  <macro@codesourcery.com>
 
        * mips-tdep.c
This page took 0.031637 seconds and 4 git commands to generate.