+2013-04-15 Tom Tromey <tromey@redhat.com>
+
+ PR c++/11990:
+ * c-lang.c (cplus_language_defn): Use gdb_demangle.
+ * c-typeprint.c (c_type_print_base): Use gdb_demangle.
+ * cp-support.c (mangled_name_to_comp): Use gdb_demangle.
+ (gdb_demangle): New function.
+ * cp-support.h (gdb_demangle): Declare.
+ * dwarf2read.c (dwarf2_physname, fixup_partial_die)
+ (dwarf2_name): Use gdb_demangle.
+ * gdbtypes.c (check_stub_method): Use gdb_demangle.
+ * gnu-v3-abi.c (gnuv3_rtti_type): Strip @plt and version
+ suffixes from name.
+ (gnuv3_print_method_ptr): Use gdb_demangle.
+ * jv-lang.c (java_demangle): Use gdb_demangle.
+ * jv-typeprint.c (java_type_print_base): Use gdb_demangle.
+ * language.c (unk_lang_demangle): Use gdb_demangle.
+ * symtab.c (symbol_find_demangled_name)
+ (demangle_for_lookup): Use gdb_demangle.
+
+2013-04-15 Tom Tromey <tromey@redhat.com>
+
+ PR c++/12824:
+ * NEWS: Update.
+ * breakpoint.c (enum exception_event_kind) <EX_EVENT_RETHROW>:
+ New constant.
+ (classify_exception_breakpoint): New function.
+ (print_it_exception_catchpoint, print_one_exception_catchpoint)
+ (print_mention_exception_catchpoint)
+ (print_recreate_exception_catchpoint, handle_gnu_v3_exceptions)
+ (catch_exception_command_1): Handle "rethrow" catchpoint.
+ (catch_rethrow_command): New function.
+ (_initialize_breakpoint): Add "catch rethrow" command.
+
+2013-04-15 Pierre Muller <muller@sourceware.org>
+
+ * contrib/ari/gdb_ari.sh (write_pc rule): Do not consider
+ set_gdbarch_write_pc as deprecated anymore.
+
+2013-04-15 Joel Brobecker <brobecker@adacore.com>
+
+ * spu-tdep.c (spu_write_pc): Add empty line after local variable
+ declarations.
+
+2013-04-13 Yao Qi <yao@codesourcery.com>
+
+ * ctf.c (_initialize_ctf): Include "completer.h".
+ Call add_target_with_completer instead of add_target.
+
+2013-04-12 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix GDB regression related to PR binutils/14813.
+ * jit.c (mem_bfd_iovec_close): Return 0 for success.
+ * minidebug.c (lzma_close): Add return value comment.
+ * remote.c (remote_bfd_iovec_close): Return 0 for success.
+ * solib-spu.c (spu_bfd_iovec_close): Likewise.
+ * spu-linux-nat.c (spu_bfd_iovec_close): Likewise.
+
+2013-04-12 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * config.in: Regenerate.
+
+2013-04-12 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2-frame.c (struct comp_unit) <dwarf_frame_buffer>: Now
+ const.
+ * dwarf2read.c (struct dwarf2_section_info) <buffer>: Now const.
+ (struct die_reader_specs) <buffer>: Likewise.
+ (die_reader_func_ftype): Make 'info_ptr' const.
+ (struct line_header) <include_dirs, statement_program_start,
+ statement_program_end>: Now const.
+ (struct file_entry) <name>: Likewise.
+ (struct partial_die_info) <sibling>: Likewise.
+ (struct dwarf_block) <data>: Likewise.
+ (dwarf2_read_section): Remove cast.
+ (dwarf2_get_section_info): Make 'bufp' const.
+ (read_index_from_section): Constify.
+ (dw2_get_file_names_reader): Make 'info_ptr' const.
+ (dw2_get_primary_filename_reader): Likewise.
+ (read_comp_unit_head): Make 'info_ptr' and return type const.
+ (read_and_check_comp_unit_head, read_and_check_type_unit_head):
+ Likewise.
+ (read_abbrev_offset): Constify.
+ (dwarf2_create_include_psymtab): Make 'name' const.
+ (create_debug_types_hash_table): Update.
+ (read_cutu_die_from_dwo): Make 'result_info_ptr' const.
+ (init_cutu_and_read_dies, init_cutu_and_read_dies_no_follow):
+ Constify.
+ (process_psymtab_comp_unit_reader, build_type_psymtabs_reader)
+ (load_partial_comp_unit_reader): Make 'info_ptr' const.
+ (read_comp_units_from_section): Constify.
+ (peek_abbrev_code, peek_die_abbrev, skip_children, skip_one_die)
+ (locate_pdi_sibling, load_full_comp_unit_reader): Make 'info_ptr'
+ const.
+ (dwarf2_compute_name, setup_type_unit_groups): Constify.
+ (create_dwo_debug_info_hash_table): Make 'info_ptr' const.
+ (create_dwp_hash_table, dwarf2_ranges_read)
+ (dwarf2_record_block_ranges): Constify.
+ (read_die_and_children, read_die_and_siblings_1)
+ (read_die_and_siblings): Make 'info_ptr' and 'new_info_ptr'
+ const.
+ (read_full_die_1, read_full_die): Make 'info_ptr' const.
+ (abbrev_table_read_table): Constify.
+ (load_partial_dies): Make 'info_ptr' const.
+ (read_partial_die, read_attribute_value, read_attribute): Make
+ 'info_ptr' and return type const.
+ (read_address, read_initial_length)
+ (read_checked_initial_length_and_offset, read_offset)
+ (read_offset_1, read_n_bytes, read_direct_string): Make 'buf'
+ const.
+ (read_direct_string): Make 'buf' and return type const.
+ (read_indirect_string_at_offset, read_indirect_string_from_dwz)
+ (read_indirect_string): Make return type const.
+ (read_unsigned_leb128, read_signed_leb128): Make 'buf' const.
+ (read_addr_index_from_leb128, dwarf2_read_addr_index_reader): Make
+ 'info_ptr' const.
+ (read_str_index): Make return type const.
+ (add_include_dir): Make 'include_dir' const.
+ (add_file_name): Make 'name' const.
+ (dwarf_decode_line_header): Constify.
+ (psymtab_include_file_name): Make return type const.
+ (dwarf_decode_lines_1, dwarf_decode_lines): Constify.
+ (dwarf2_start_subfile): Make 'filename' const.
+ (dwarf2_const_value_attr): Make 'bytes' const.
+ (read_signatured_type_reader): Make 'info_ptr' const.
+ (decode_locdesc): Constify.
+ (skip_form_bytes): Make 'bytes', 'buffer_end', and return type
+ const.
+ (skip_unknown_opcode): Make 'opcode_definitions', 'mac_ptr',
+ 'mac_end', and return type const.
+ (dwarf_parse_macro_header): Make 'mac_ptr' and return type const.
+ (dwarf_decode_macro_bytes): Make 'mac_ptr', 'mac_end', and return
+ type const.
+ (per_cu_header_read_in): Constify.
+ * symfile.h (dwarf2_get_section_info): Update.
+
+2013-04-12 Tom Tromey <tromey@redhat.com>
+
+ * symtab.h (struct general_symbol_info) <value.bytes>: Make const.
+
+2013-04-12 Eli Zaretskii <eliz@gnu.org>
+
+ * NEWS: Mention "show configuration", --configuration.
+ * top.c (print_gdb_configuration): New function, displays the
+ details about GDB configure-time parameters.
+ (print_gdb_version): Mention "show configuration".
+ * cli/cli-cmds.c (show_configuration): New function.
+ (_initialize_cli_cmds): Add the "show configuration" command.
+ * main.c (captured_main) <print_configuration>: New static var.
+ <long_options>: Use it.
+ If --configuration was given, call print_gdb_configuration.
+
+2013-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Pedro Alves <palves@redhat.com>
+
+ * Makefile.in (HAVE_NATIVE_GCORE_TARGET): New.
+ (generated_files): Add gcore.
+ (install-only, uninstall): Add gcore if HAVE_NATIVE_GCORE_TARGET or
+ HAVE_NATIVE_GCORE_HOST.
+ (gcore): New.
+ * NEWS (Changes since GDB 7.6): Mention newly installed gcore.
+ * config/alpha/alpha-osf3.mh, config/i386/fbsd.mh,
+ config/i386/fbsd64.mh, config/i386/i386gnu.mh, config/i386/i386sol2.mh,
+ config/i386/sol2-64.mh, config/mips/irix5.mh, config/mips/irix6.mh,
+ config/powerpc/fbsd.mh, config/sparc/fbsd.mh, config/sparc/sol2.mh:
+ Add HAVE_NATIVE_GCORE_HOST.
+ * configure: Regenerate.
+ * configure.ac (HAVE_NATIVE_GCORE_TARGET): New, set it, AC_SUBST it.
+ New AC_SUBST fir GDB_TRANSFORM_NAME and GCORE_TRANSFORM_NAME. New
+ AC_CONFIG_FILES for gcore.
+ * configure.tgt: Add gdb_have_gcore to the initial comment. Set
+ gdb_have_gcore.
+ * gdb_gcore.sh: Rename to ...
+ * gcore.in: ... here. Remove gcore.sh comment. Use GDB_TRANSFORM_NAME
+ and GCORE_TRANSFORM_NAME substitutions.
+
+ Fix parsing tabs in ${gdb_target_obs}.
+ * configure.tgt (gdb_have_gcore): Replace case with for and if.
+
+2013-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * remote.c (unpush_and_perror): Add output message final dot.
+
+2013-04-11 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (tfile_interp_line): Fit parameters line and
+ utpp in one line.
+
+2013-04-10 Joel Brobecker <brobecker@adacore.com>
+
+ * solib.c (solib_map_sections): Remove code overwriting
+ SO->SO_NAME with the bfd's filename.
+
+2013-04-10 Pedro Alves <palves@redhat.com>
+
+ * cli/cli-decode.c (integer_unlimited_completer): New function.
+ (add_setshow_integer_cmd, add_setshow_uinteger_cmd)
+ (add_setshow_zuinteger_unlimited_cmd): Install the "unlimited"
+ completer.
+ * cli/cli-setshow.c: Include "cli/cli-utils.h".
+ (is_unlimited_literal): New function.
+ (do_set_command): Handle literal "unlimited" arguments.
+ * frame.c (_initialize_frame) <set backtrace limit>: Document
+ "unlimited".
+ * printcmd.c (_initialize_printcmd) <set print
+ max-symbolic-offset>: Add help text.
+ * record-full.c (_initialize_record_full) <set record full
+ insn-number-max>: Likewise.
+ * record.c (_initialize_record) <set record
+ instruction-history-size, set record function-call-history-size>:
+ Add help text.
+ * ser-tcp.c (_initialize_ser_tcp) <set tcp connect-timeout>: Add
+ help text.
+ * tracepoint.c (_initialize_tracepoint) <set trace-buffer-size>:
+ Likewise.
+ * source.c (_initialize_source) <set listsize>: Add help text.
+ * utils.c (initialize_utils) <set height, set width>: Likewise.
+ <set pagination>: Mention "set height unlimited".
+ * valprint.c (_initialize_valprint) <set print elements, set print
+ repeats>: Document "unlimited".
+
+2013-04-10 Pedro Alves <palves@redhat.com>
+
+ * cli/cli-cmds.c (quit_command): Call query_if_trace_running
+ instead of disconnect_tracing.
+ * infcmd.c (detach_command, disconnect_command): Call
+ query_if_trace_running. Adjust.
+ * top.c: Include "tracepoint.h".
+ (quit_target): Delete. Contents moved ...
+ (quit_force): ... here. Wrap each stage of teardown in
+ TRY_CATCH. Call disconnect_tracing before detaching.
+
+2013-04-10 Hui Zhu <hui@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
+
+ * configure.ac: Check libbabeltrace is installed.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * Makefile.in (LIBBABELTRACE): New.
+ (CLIBS): Add LIBBABELTRACE.
+ * ctf.c: Include "exec.h".
+ (CTF_EVENT_ID_STATUS, CTF_EVENT_ID_TSV_DEF): New macros.
+ (CTF_EVENT_ID_TP_DEF, ctf_save_write_int32): New macros.
+ (ctf_save_metadata_header): Define new type aliases in
+ metadata.
+ (ctf_write_header): Define event type "tsv_def" and "tp_def"
+ in metadata. Start a new faked packet for trace status.
+ (ctf_write_status): Write trace status to CTF.
+ (ctf_write_uploaded_tsv): Write TSV to CTF.
+ (ctf_write_uploaded_tp): Write tracepoint definition to CTF.
+ (ctf_write_definition_end): End the faked packet.
+
+ (ctx, ctf_iter, trace_dirname): New.
+ (start_pos): New variable.
+ (ctf_destroy, ctf_open_dir, ctf_open): New.
+ (SET_INT32_FIELD, SET_ARRAY_FIELD, SET_STRING_FIELD): New
+ macros.
+ (ctf_read_tsv, ctf_read_tp, ctf_close, ctf_files_info): New.
+ (ctf_fetch_registers, ctf_xfer_partial): New.
+ (ctf_get_trace_state_variable_value): New.
+ (ctf_get_tpnum_from_frame_event): New.
+ (ctf_get_traceframe_address): New.
+ (ctf_trace_find, ctf_has_stack): New.
+ (ctf_has_registers, ctf_traceframe_info, init_ctf_ops): New.
+ (ctf_get_trace_status, ctf_read_status): New.
+ (_initialize_ctf): New.
+ * tracepoint.c (get_tracepoint_number): New
+ (get_uploaded_tsv): Remove 'static'.
+ (struct traceframe_info, trace_regblock_size): Move it to ...
+ * tracepoint.h: ... here.
+ (get_tracepoint_number): Declare it.
+ (get_uploaded_tsv): Declare it.
+
+ * NEWS: Mention new configure option.
+
+2013-04-10 Pedro Alves <palves@redhat.com>
+ Hui Zhu <hui@codesourcery.com>
+
+ * breakpoint.c (dprintf_re_set): New.
+ (initialize_breakpoint_ops): Set dprintf_breakpoint_ops re_set
+ to dprintf_re_set.
+
+2013-04-09 Joel Brobecker <brobecker@adacore.com>
+
+ * configure.tgt (gdb_target_obs) <powerpc-*-aix* | rs6000-*-*>:
+ Remove solib-svr4.o from the list.
+
+2013-04-09 Joel Brobecker <brobecker@adacore.com>
+
+ * varobj.c (update_dynamic_varobj_children) [!HAVE_PYTHON]:
+ Use gdb_assert_not_reached instead of invalid boolean expression.
+
+2013-04-09 Pedro Alves <palves@redhat.com>
+
+ * remote.c (unpush_and_perror): New function.
+ (readchar, remote_serial_write): Use it.
+
+2013-04-09 Markus Metzger <markus.t.metzger@intel.com>
+
+ * NEWS: Mention new btrace RSP packets.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * symmisc.c (dump_msymbols): Cast fprintf_filtered argument to
+ long.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * maint.c (print_bfd_section_info): Print the section index.
+ * symmisc.c (dump_msymbols): Print the section index.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ PR symtab/8424:
+ * blockframe.c (find_pc_partial_function_gnu_ifunc): Check
+ SYMBOL_SECTION, not SYMBOL_OBJ_SECTION.
+ * breakpoint.c (resolve_sal_pc): Update.
+ * elfread.c (elf_gnu_ifunc_record_cache): Update.
+ * findvar.c (struct minsym_lookup_data) <objfile>: New field.
+ (minsym_lookup_iterator_cb): Use it.
+ (default_read_var_value): Update.
+ * hppa-hpux-tdep.c (hppa64_hpux_in_solib_call_trampoline):
+ Update.
+ * infcmd.c (jump_command): Update.
+ * linespec.c (minsym_found): Update.
+ * maint.c (maintenance_translate_address): Update.
+ * minsyms.c (lookup_minimal_symbol_by_pc_section_1): Update.
+ (prim_record_minimal_symbol_full): Don't set SYMBOL_OBJ_SECTION.
+ * parse.c (write_exp_msymbol): Update.
+ * printcmd.c (address_info): Update.
+ * psymtab.c (find_pc_sect_psymbol): Update.
+ (fixup_psymbol_section): Check SYMBOL_SECTION, not
+ SYMBOL_OBJ_SECTION.
+ (add_psymbol_to_bcache): Correctly initialize SYMBOL_SECTION.
+ Don't initialize SYMBOL_OBJ_SECTION.
+ * spu-tdep.c (spu_catch_start): Update.
+ * stabsread.c (define_symbol): Don't set SYMBOL_SECTION.
+ * symmisc.c (dump_msymbols, print_symbol): Update.
+ * symtab.c (fixup_section): Don't set 'obj_section'. Change
+ how fallback section is computed.
+ (fixup_symbol_section): Update.
+ (find_pc_sect_symtab, find_function_start_sal, skip_prologue_sal):
+ Update.
+ (allocate_symbol, initialize_symbol, allocate_template_symbol):
+ Initialize SYMBOL_SECTION.
+ * symtab.h (struct general_symbol_info) <section>: Update comment.
+ <obj_section>: Remove.
+ (SYMBOL_OBJ_SECTION): Add 'objfile' argument. Rewrite.
+ (SYMBOL_OBJFILE): New macro.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * coffread.c (record_minimal_symbol): Update.
+ * dbxread.c (record_minimal_symbol): Update.
+ * elfread.c (record_minimal_symbol): Update.
+ * machoread.c (macho_symtab_add_minsym): Update.
+ * mdebugread.c (record_minimal_symbol, parse_partial_symbols):
+ Update.
+ * minsyms.c (prim_record_minimal_symbol): Update.
+ (prim_record_minimal_symbol_full): Remove 'bfd_section'
+ argument.
+ (prim_record_minimal_symbol_and_info): Likewise.
+ * minsyms.h (prim_record_minimal_symbol_full)
+ (prim_record_minimal_symbol_and_info): Update.
+ * symtab.c (allocate_symbol, initialize_symbol)
+ (allocate_template_symbol): Initialize SYMBOL_SECTION.
+ * xcoffread.c (record_minimal_symbol, scan_xcoff_symtab):
+ Update.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ PR symtab/8423:
+ * solib-som.c (som_solib_section_offsets): Use BFD section
+ indices. Set offsets for all sections.
+ * somread.c (som_symtab_read): Compute BFD section for
+ symbol. Use prim_record_minimal_symbol_and_info.
+ (som_symfile_read): Fix comment.
+ (struct find_section_offset_arg): New.
+ (find_section_offset, set_section_index): New functions.
+ (som_symfile_offsets): Use set_section_index to compute
+ section indices.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * coffread.c (cs_to_section): Use gdb_bfd_section_index.
+ * elfread.c (record_minimal_symbol, elf_symtab_read): Use
+ gdb_bfd_section_index.
+ * gdb_bfd.c (gdb_bfd_section_index, gdb_bfd_count_sections):
+ New functions.
+ * gdb_bfd.h (gdb_bfd_section_index, gdb_bfd_count_sections):
+ Declare.
+ * machoread.c (macho_symtab_add_minsym, macho_symfile_offsets):
+ Update.
+ * objfiles.c (add_to_objfile_sections_full): New function.
+ (add_to_objfile_sections): Use it.
+ (build_section_table): Rewrite.
+ (objfile_relocate1): Use gdb_bfd_section_index. Update.
+ * objfiles.h (obj_section_offset): Use gdb_bfd_section_index.
+ (struct objfile) <sections>: Update comment.
+ (ALL_OBJFILE_OSECTIONS): Skip sections where the_bfd_section
+ is NULL.
+ (ALL_OBJSECTIONS): Use it.
+ * solib-dsbt.c (dsbt_relocate_main_executable): Update.
+ * solib-frv.c (frv_relocate_main_executable): Update.
+ * solib-target.c (solib_target_relocate_section_addresses):
+ Use gdb_bfd_section_index.
+ * symfile.c (build_section_addr_info_from_section_table):
+ Use gdb_bfd_section_index.
+ (build_section_addr_info_from_bfd, place_section): Likewise.
+ * symtab.c (fixup_section): Update.
+ * xcoffread.c (find_targ_sec): Use gdb_bfd_section_index.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * minsyms.h (struct bound_minimal_symbol): New.
+ (lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol.
+ Remove objfile argument.
+ (lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc):
+ Return bound_minimal_symbol.
+ * minsyms.c (lookup_minimal_symbol_by_pc_1)
+ (lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc):
+ Return bound_minimal_symbol.
+ (in_gnu_ifunc_stub): Update.
+ (lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol.
+ Remove 'objfile_p' argument.
+ (lookup_solib_trampoline_symbol_by_pc): Update.
+ * ada-tasks.c, amd64-windows-tdep.c, arm-tdep.c,
+ arm-wince-tdep.c, block.c, blockframe.c, breakpoint.c, btrace.c,
+ c-valprint.c, dwarf2loc.c, elfread.c, frame.c, frv-tdep.c,
+ glibc-tdep.c, gnu-v2-abi.c, gnu-v3-abi.c, hppa-hpux-tdep.c,
+ i386-tdep.c, ia64-tdep.c, infcall.c, infcmd.c, jit.c,
+ linux-fork.c, m32c-tdep.c, m68hc11-tdep.c, maint.c,
+ mips-tdep.c, p-valprint.c, parse.c, ppc-linux-tdep.c,
+ ppc-sysv-tdep.c, printcmd.c, rs6000-tdep.c, sh64-tdep.c,
+ stack.c, symtab.c, tui/tui-disasm.c: Update.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * ada-lang.c (ada_decode_symbol): Check and set 'ada_mangled'.
+ Use symbol's obstack, not an objfile.
+ * coffread.c (process_coff_symbol): Update.
+ * dwarf2read.c (fixup_go_packaging, new_symbol_full): Update.
+ * jv-lang.c (add_class_symbol): Update.
+ * mdebugread.c (new_symbol): Update.
+ * minsyms.c (prim_record_minimal_symbol_full)
+ (terminate_minimal_symbol_table): Update.
+ * psymtab.c (add_psymbol_to_bcache): Clear entire symbol. Update.
+ * stabsread.c (define_symbol, read_enum_type): Update.
+ * symtab.c (symbol_set_demangled_name, symbol_get_demangled_name):
+ Handle Ada specially.
+ (symbol_set_language): Add 'obstack' argument.
+ (symbol_set_names): Update.
+ (symbol_natural_name, symbol_demangled_name): Always use
+ ada_decode_symbol.
+ * symtab.h (struct general_symbol_info)
+ <language_specific::obstack>: New field.
+ <ada_mangled>: New field.
+ (SYMBOL_SET_LANGUAGE): Add 'obstack' argument.
+ (symbol_set_language): Update.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * symtab.c (symbol_init_cplus_specific, symbol_set_demangled_name):
+ Take an obstack, not an objfile.
+ (symbol_set_names): Update.
+ * symtab.h (symbol_set_demangled_name): Update.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * coffread.c (process_coff_symbol, coff_read_enum_type): Call
+ allocate_symbol.
+ * dwarf2read.c (fixup_go_packaging): Call allocate_symbol.
+ (read_func_scope): Call allocate_template_symbol.
+ (new_symbol_full): Call allocate_symbol.
+ * jit.c (finalize_symtab): Call allocate_symbol.
+ * jv-lang.c (add_class_symbol): Call allocate_symbol.
+ * mdebugread.c (parse_symbol, new_block): Call allocate_symbol.
+ * stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
+ (common_block_end): Call allocate_symbol.
+ * symtab.c (allocate_symbol, initialize_symbol)
+ (allocate_template_symbol): New functions.
+ * symtab.c (allocate_symbol, initialize_symbol)
+ (allocate_template_symbol): Declare.
+ * xcoffread.c (process_xcoff_symbol): Call initialize_symbol.
+
+2013-04-08 Pedro Alves <palves@redhat.com>
+ Keith Seitz <keiths@redhat.com>
+
+ * breakpoint.c (create_breakpoint): Rename
+ "parse_condition_and_thread" parameter to "parse_arg". Update
+ describing comment. If !PARSE_ARG, then error out if ARG is not
+ the empty string after extracting the location.
+ * breakpoint.h (create_breakpoint): Rename
+ "parse_condition_and_thread" parameter to "parse_arg".
+
+2013-04-08 Aleksandar Ristovski <aristovski@qnx.com
+
+ * solib-svr4.c (lm_addr_check): Add const qualifier to 'so' arg.
+
+2013-04-07 Yao Qi <yao@codesourcery.com>
+
+ * remote.c (remote_trace_find): Change type of parameters 'addr1'
+ and 'addr2' to CORE_ADDR.
+ * target.c (update_current_target): Update.
+ * target.h (struct target_ops) <to_trace_find>: Change parameter
+ type to CORE_ADDR.
+ * tracepoint.c (tfind_1): Change type of parameters 'addr1' and
+ 'addr2' to CORE_ADDR.
+ (tfile_trace_find): Likewise.
+ (tfile_get_traceframe_address): Change return type to CORE_ADDR.
+ Change local variable 'addr' to type CORE_ADDR.
+ * tracepoint.h (tfind_1): Update declaration.
+
+2013-04-06 Eli Zaretskii <eliz@gnu.org>
+
+ * windows-nat.c (windows_get_absolute_argv0): Move from here...
+ * mingw-hdep.c (windows_get_absolute_argv0): ...to here.
+ Include main.h.
+
+ * windows-nat.h (windows_get_absolute_argv0): Move prototype from
+ here...
+ * main.h (windows_get_absolute_argv0): ...to here.
+
+2013-04-05 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (struct dwarf2_per_objfile): Tweak comment.
+ (read_cutu_die_from_dwo): Add comments.
+ (read_structure_type): Update comment.
+ (read_enumeration_type, read_namespace_type): Update comment.
+ (read_die_type, get_die_type_at_offset, get_die_type): Update comment.
+
+2013-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Convert man pages to texinfo, new gdbinit.5 texinfo page.
+ * Makefile.in (gdb.z): Remove.
+ (install-only): Remove $(man1dir) and gdb.1 installation.
+ * gdb.1: Remove.
+
+2013-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix compatibility with Linux kernel 3.8.3.
+ * linux-tdep.c (linux_find_memory_regions_full): Move variable number
+ to more inner block. Remove parsing of NUMBER from outer block.
+ Parse NUMBER only if KEYWORD has been identified.
+
+2013-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix variable name shadowing.
+ * linux-tdep.c (linux_find_memory_regions_full): Rename outer variable
+ filename to mapsfilename and update its uses.
+
+2013-04-05 Eli Zaretskii <eliz@gnu.org>
+
+ * Makefile.in (TAGS): Avoid warning from etags when $GDB_NM_FILE is
+ empty. See http://sourceware.org/ml/gdb-patches/2012-08/msg00504.html
+ and http://sourceware.org/ml/gdb-patches/2013-04/msg00055.html for
+ details of the problem.
+
+2013-04-04 Pedro Alves <palves@redhat.com>
+ Hui Zhu <hui@codesourcery.com>
+
+ * breakpoint.c (validate_commands_for_breakpoint): If validating a
+ tracepoint, reset its STEP_COUNT and call validate_actionline.
+
+2013-04-03 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (read_die_and_siblings_1): Renamed from
+ read_die_and_siblings.
+ (read_die_and_siblings): New function.
+ (read_cutu_die_from_dwo): Dump die if requested.
+ (read_die_and_children): Call read_full_die_1 and
+ read_die_and_siblings_1.
+ (read_full_die): Dump die if requested.
+
+ * dwarf2read.c (read_comp_units_from_section): Add debugging printf.
+
+ * dwarf2read.c (struct dwo_file): New member comp_dir.
+ Rename member name to dwo_name. All uses updated.
+ (hash_dwo_file): Include comp_dir in computation.
+ (eq_dwo_file): Ditto.
+ (lookup_dwo_file_slot): New arg comp_dir. All callers updated.
+ (create_dwo_in_dwp, lookup_dwo_in_dwp, open_and_init_dwo_file): Ditto.
+
+ * psymtab.c (read_psymtabs_with_fullname): Don't call
+ psymtab_to_fullname if the basenames are different.
+
+2013-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * NEWS (Changes in GDB 7.6): Update the data-disassemble for "fullname".
+ New entry about "fullname" presence.
+
+2013-04-03 Pedro Alves <palves@redhat.com>
+
+ * NEWS: Mention x86_64/Cygwin as new native configuration.
+
+2013-04-02 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (read_structure_type): Fix typo in comment.
+
+2013-04-02 Pedro Alves <palves@redhat.com>
+
+ * NEWS: Mention "set/show debug aarch64", "set/show debug
+ coff-pe-read" and "set/show debug mach-o".
+
+2013-04-02 Pedro Alves <palves@redhat.com>
+
+ * NEWS: Mention "set/show remote trace-buffer-size-packet".
+
+2013-04-02 Eli Zaretskii <eliz@gnu.org>
+
+ * Makefile.in (HFILES_NO_SRCDIR): Remove call-cmds.h.
+ gdb_string.h is now in common/.
+
+2013-04-02 Pedro Alves <palves@redhat.com>
+
+ * NEWS: Move "set debug notification" and "set trace-buffer-size"
+ under "New options".
+
+2013-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Revert this patch:
+ PR gdb/15275
+ * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH.
+
+2013-04-02 Pedro Alves <palves@redhat.com>
+
+ PR gdb/15275
+
+ * remote.c (send_interrupt_sequence): Use remote_serial_write.
+ (remote_serial_write): New function.
+ (putpkt_binary, getpkt_or_notif_sane_1): Use remote_serial_write.
+
+2013-04-01 Jiong Wang <jiwang@tilera.com>
+
+ * NEWS: Mention TILE-Gx in "New native configurations" and
+ "New targets" sections.
+
+2013-04-01 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (lookup_signatured_type_at_offset): Delete.
+ (process_enumeration_scope): Simplify.
+
+ * dwarf2read.c (struct dwarf2_per_cu_data): Move member
+ type_unit_group ...
+ (struct signatured_type): ... to here.
+ (sig_type_ptr): New typedef.
+ (type_unit_group): Delete member 't.first_cu'. Move member 'tus'
+ out of union 't'. All uses updated.
+ (dw2_get_file_names_reader): Assert not called for a type unit.
+ (dw2_get_file_names): Assert not called for a type unit or type
+ unit group.
+ (build_type_psymtabs_reader): Assert called for a type unit.
+ (build_type_psymtab_dependencies): Assert called for a type unit group.
+
+ * dwarf2read.c (free_dwo_file): Add comment.
+ (dwarf2_per_objfile_free): Unref dwp bfd.
+
+2013-04-01 Aleksandar Ristovski <aristovski@qnx.com>
+
+ * coff-pe-read.c (add_pe_exported_sym): Remove unused 'dll_name_len'.
+ (add_pe_forwarded_sym): Remove unused 'section', 'dll_name_len'.
+ (read_pe_exported_syms): Remove unused 'exportix'.
+ (pe_text_section_offset): Remove unused 'opthdr_ofs', 'num_entries',
+ 'export_rva', 'export_size', 'expptr', 'exp_funcbase', 'expdata',
+ 'erva', 'name_rvas', 'ordinals', 'nexp', 'ordbase', 'dll_name'.
+
+2013-04-01 Aleksandar Ristovski <aristovski@qnx.com>
+
+ * breakpoint.c (parse_cond_to_aexpr): Remove unused 'old_chain'.
+ (print_it_watchpoint): Remove unused 'bl'.
+ (say_where): Remove unused 'uiout'.
+ (bpstat_remove_breakpoint_callback): Remove unused 'uiout'.
+ (bkpt_breakpoint_hit): Remove unused 'b'.
+ (internal_bkpt_print_it): Remove unused 'uiout'.
+ * buildsym.c (augment_type_symtab): Remove unused 'i'.
+
+2013-03-31 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
+
+ * ppc-sysv-tdep.c (ppc64_sysv_abi_push_float): New function.
+ (ppc64_sysv_abi_push_dummy_call): Handle complex arguments.
+
+2013-03-29 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (open_dwo_file): Renamed from open_dwop_file.
+ Delete arg is_dwp. All callers updated.
+ (open_dwp_file): New function.
+ (open_and_init_dwp_file): Call it.
+ (get_dwp_file): New function.
+ (lookup_dwo_cutu): Call it.
+
+ * dwarf2read.c (open_and_init_dwp_file): Remove incorrect, and
+ unnecessary, cleanup.
+
+ * dwarf2read.c (lookup_dwo_cutu): Improve complaint text.
+
+ * dwarf2read.c (read_cutu_die_from_dwo): New function.
+ (lookup_dwo_unit): New function.
+ (init_cutu_and_read_dies): Move DWO handling to new functions.
+
+ * dwarf2read.c (struct signatured_type): Tweak comment.
+ (struct dwo_unit): Tweak comment.
+ (create_debug_types_hash_table): Tweak comment. Reformat long line.
+ (create_dwo_debug_info_hash_table): Tweak comment.
+ (dwarf2_per_cu_offset_and_type): Tweak comment.
+
+ * dwarf2read.c (lookup_signatured_type): Remove complaint about
+ missing .debug_types section.
+
+2013-03-29 Yao Qi <yao@codesourcery.com>
+
+ * corelow.c: Include "completer.h".
+ (_initialize_corelow): Call add_target_with_completer with
+ argument 'filename_completer'.
+ * tracepoint.c: Likewise.
+ * exec.c (_initialize_exec): Likewise.
+ * target.c (add_target): Rename to ...
+ (add_target_with_completer): ... this. Call set_cmd_completer
+ if parameter completer is not NULL.
+ (add_target): New.
+ * target.h: Include "command.h".
+ (add_target_with_completer): Declare it.
+
+2013-03-28 Joel Brobecker <brobecker@adacore.com>
+
+ * coffread.c (is_import_fixup_symbol): New function.
+ (record_minimal_symbol): Use is_import_fixup_symbol to
+ detect import fixup symbols, and discard them.
+
+2013-03-28 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (create_debug_types_hash_table): Don't allocate the
+ types hash table until we know we need it.
+
+ * dwarf2read.c (create_addrmap_from_index): Complain about bad CU
+ index numbers.
+
+ * dwarf2read.c (dw2_get_file_names): Delete arg "objfile".
+ All callers updated.
+ (dw2_print_stats): Print #read CUs too.
+ (dump_die_shallow): Print signatured types better.
+
+ * dwarf2read.c (struct dwarf2_per_cu_data): Rename member
+ info_or_types_section to section. All uses updated.
+ (struct dwo_unit): Ditto.
+
+2013-03-28 Pedro Alves <palves@redhat.com>
+
+ * NEWS (New options): New section.
+ (New options): Mention set/show remote trace-status-packet.
+ * remote.c (PACKET_qTStatus): New enumeration value.
+ (remote_get_trace_status): Skip sending qTStatus if the packet is
+ disabled. Use packet_ok.
+ (_initialize_remote): Register a configuration command for
+ qTStatus packet.
+
2013-03-28 Doug Evans <dje@google.com>
+ * symfile.c (find_separate_debug_file): Add comment.
+ (terminate_after_last_dir_separator): Tweak comment.
+
+ * dwarf2read.c (create_partial_symtab): Add forward decl.
+ (create_partial_symtab): Move to be closer to other psymtab functions.
+ (process_psymtab_comp_unit_reader, process_psymtab_comp_unit): Ditto.
+
+ * dwarf2read.c (dwarf2_physname): Move declaration to better spot.
+ (compute_symtab_includes): Remove unnecessary forward declaration.
+ (die_needs_namespace): Add comment marking group of functions for
+ dwarf2 name computation.
+
* typeprint.c (_initialize_typeprint): Improve type help text.
* python/python.c (finish_python_initialization): Provide suggestion