* symtab.h (print_source_lines_flags): New enum.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 902667b6a928b09680b718091938b05d138f1249..498b6a7df7050664d311ce0f51e93ef0582c9e24 100644 (file)
@@ -1,3 +1,819 @@
+2012-11-13 Markus Metzger <markus.t.metzger@intel.com>
+
+       * symtab.h (print_source_lines_flags): New enum.
+       * source.c (print_source_lines_base): Change noerror to flags.
+       (print_source_lines): Change noerror to flags.
+
+2012-11-13  Pierre Muller  <muller@sourceware.org>
+
+       ARI fixes: Avoid sprintf function use rule.
+       * charset.c (convert_between_encodings): Use xsnprintf.
+       * cli-out.c (cli_field_int): Likewise.
+       * cp-namespace.c (cp_lookup_nested_symbol): Likewise.
+       * expprint.c (op_name_standard): Likewise.
+       * frv-tdep.c (set_variant_num_gprs): Likewise.
+       (set_variant_num_fprs): Likewise.
+       * m68hc11-tdep.c (m68hc11_initialize_register_info): Likewise.
+       * nto-tdep.c (nto_find_and_open_solib): Likewise.
+       (nto_init_solib_absolute_prefix): Likewise.
+       * source.c (init_source_path): Likewise.
+       (print_source_lines_base): Likewise.
+       * valprint.c (print_wchar): Likewise.
+       * mi/mi-out.c (mi_field_int): Likewise.
+       windows-nat.c (windows_pid_to_exec_file): Likewise.
+       (windows_create_inferior): Likewise.
+       (_initialize_check_for_gdb_ini): Likewise.
+
+2012-11-12  Joel Brobecker  <brobecker@adacore.com>
+
+       * frame.h (deprecated_frame_register_read): Renames
+       frame_register_read.
+       * frame.c (deprecated_frame_register_read): Renames
+       frame_register_read.  Update all callers.
+       * i386-tdep.c: Update all callers of frame_register_read.
+       * infcmd.c: Likewise.
+       * jit.c: Likewise.
+       * mips-tdep.c: Likewise.
+       * mt-tdep.c: Likewise.
+       * sh64-tdep.c: Likewise.
+
+2012-11-12  Joel Brobecker  <brobecker@adacore.com>
+
+       * frame.h (frame_register_read): Remove FIXME comment.
+       * frame.c (frame_register_read): Add suggestion explaining
+       which function to use in place of this one.
+
+2012-11-12  Tom Tromey  <tromey@redhat.com>
+
+       * python/python.c (start_type_printers): Initialize 'result_obj'.
+
+2012-11-12  Tom Tromey  <tromey@redhat.com>
+
+       * NEWS: Update.
+       * data-directory/Makefile.in (PYTHON_FILES): Add
+       type_printers.py.
+       * python/lib/gdb/command/type_printers.py: New file.
+       * python/lib/gdb/command/types.py (TypePrinter): New class.
+       (_get_some_type_recognizers, get_type_recognizers,
+       apply_type_recognizers, register_type_printer): New
+       functions.
+       * python/py-objfile.c (objfile_object) <type_printers>: New
+       field.
+       (objfpy_dealloc): Decref new field.
+       (objfpy_new): Set new field.
+       (objfpy_get_type_printers, objfpy_set_type_printers): New
+       functions.
+       (objfile_to_objfile_object): Set new field.
+       (objfile_getset): Add "type_printers".
+       * python/py-progspace.c (pspace_object) <type_printers>: New
+       field.
+       (pspy_dealloc): Decref new field.
+       (pspy_new): Set new field.
+       (pspy_get_type_printers, pspy_set_type_printers): New functions.
+       (pspace_to_pspace_object): Set new field.
+       (pspace_getset): Add "type_printers".
+       * python/python.c (start_type_printers, apply_type_printers,
+       free_type_printers): New functions.
+       (_initialize_python): Set gdb.type_printers.
+       * python/python.h (start_type_printers, apply_type_printers,
+       free_type_printers): Declare.
+       * typeprint.c (type_print_raw_options, default_ptype_flags):
+       Update for new fields.
+       (do_free_global_table, create_global_typedef_table,
+       find_global_typedef): New functions.
+       (find_typedef_in_hash): Use find_global_typedef.
+       (whatis_exp): Use create_global_typedef_table.  Change cleanup
+       handling.
+       * typeprint.h (struct type_print_options) <global_typedefs,
+       global_printers>: New fields.
+
+2012-11-12  Tom Tromey  <tromey@redhat.com>
+
+       * c-typeprint.c (find_typedef_for_canonicalize,
+       print_name_maybe_canonical): New functions.
+       (c_print_type): Look up type name.
+       (cp_type_print_derivation_info): Add flags argument.  Use
+       print_name_maybe_canonical.
+       (cp_type_print_method_args): Add wrapping.
+       (c_type_print_varspec_prefix): Use print_name_maybe_canonical.
+       (c_type_print_template_args): New function.
+       (c_type_print_base): Change wrapping.  Use
+       print_name_maybe_canonical.
+       <TYPE_CODE_STRUCT>: Possibly create a typedef hash, and do
+       type name lookups.
+       * gdbtypes.c (types_equal): No longer static.
+       * gdbtypes.h (types_equal): Declare.
+       * typeprint.c (type_print_raw_options, default_ptype_flags):
+       Update.
+       (struct typedef_hash_table): New.
+       (hash_typedef_field, eq_typedef_field,
+       recursively_update_typedef_hash, add_template_parameters,
+       create_typedef_hash, free_typedef_hash, do_free_typedef_hash,
+       make_cleanup_free_typedef_hash, copy_typedef_hash_element,
+       copy_typedef_hash, find_typedef_in_hash): New functions.
+       * typeprint.h (struct type_print_options) <local_typedefs>:
+       New field.
+       (recursively_update_typedef_hash, add_template_parameters,
+       create_typedef_hash, free_typedef_hash,
+       make_cleanup_free_typedef_hash, copy_typedef_hash,
+       find_typedef_in_hash): Declare.
+
+2012-11-12  Tom Tromey  <tromey@redhat.com>
+
+       * cp-support.c (inspect_type,
+       replace_typedefs_qualified_name, replace_typedefs): Add
+       finder, data arguments.  Call as needed.
+       (cp_canonicalize_string_full): New function.
+       (cp_canonicalize_string_no_typedefs): Rewrite.
+       * cp-support.h (canonicalization_ftype): New typedef.
+       (cp_canonicalize_string_full): Declare.
+
+2012-11-12  Tom Tromey  <tromey@redhat.com>
+
+       * NEWS: Update.
+       * c-typeprint.c (c_type_print_base): Handle print_method and
+       print_typedefs flags.
+       * gdbcmd.h (setprinttypelist, showprinttypelist): Declare.
+       * python/py-type.c (typy_str): Use LA_PRINT_TYPE and raw
+       options.
+       * typeprint.c (type_print_raw_options, default_ptype_flags):
+       Update for new field.s
+       (whatis_exp): Parse flags.  Use LA_PRINT_TYPE.
+       (setprinttypelist, showprinttypelist, print_methods,
+       print_typedefs): New globals.
+       (set_print_type, show_print_type, set_print_type_methods,
+       show_print_type_methods, set_print_type_typedefs,
+       show_print_type_typedefs): New functions.
+       (_initialize_typeprint): Update documentation.  Add "print
+       type methods" and "print type typedefs" parameters.
+       * typeprint.h (struct type_print_options) <print_methods,
+       print_typedefs>: New fields.
+
+2012-11-12  Tom Tromey  <tromey@redhat.com>
+
+       * c-typeprint.c (cp_type_print_method_args): Add flags
+       argument.  Call c_print_type, not type_print.
+       (c_type_print_base): Call c_print_type, not type_print.
+       Update.
+
+2012-11-12  Tom Tromey  <tromey@redhat.com>
+
+       * ada-lang.c (user_select_syms, ada_print_subexp): Pass flags
+       to type-printing functions.
+       * ada-lang.h (ada_print_type): Add argument.
+       * ada-typeprint.c (print_array_type, print_variant_clauses,
+       print_variant_part, print_selected_record_field_types,
+       print_record_field_types, print_unchecked_union_type,
+       print_func_type, ada_print_type): Add flags argument.
+       (ada_print_typedef): Update.
+       * c-exp.y (OPERATOR conversion_type_id): Update.
+       * c-lang.h (c_print_type, c_type_print_base): Update.
+       * c-typeprint.c (c_print_type, c_type_print_varspec_prefix,
+       c_type_print_modifier, c_type_print_args,
+       c_type_print_varspec_suffix, c_type_print_base): Add flags
+       argument.
+       * cp-valprint.c (cp_print_class_member): Update.
+       * dwarf2read.c (dwarf2_compute_name): Update.
+       * f-lang.h (f_print_type): Add argument.
+       * f-typeprint.c (f_print_type): Add flags argument.
+       * gnu-v3-abi.c (gnuv3_print_method_ptr): Update.
+       * go-lang.h (go_print_type): Add argument.
+       * go-typeprint.c (go_print_type): Add flags argument.
+       * jv-lang.h (java_print_type): Add argument.
+       * jv-typeprint.c (java_type_print_base, java_print_type): Add
+       flags argument.
+       * language.c (unk_lang_print_type): Add flags argument.
+       * language.h (struct language_defn) <la_print_type>: Add flags
+       argument.
+       (LA_PRINT_TYPE): Likewise.
+       * m2-lang.h (m2_print_type): Add argument.
+       * m2-typeprint.c (m2_print_type, m2_range, m2_typedef,
+       m2_array, m2_pointer, m2_ref, m2_procedure, m2_long_set,
+       m2_unbounded_array, m2_record_fields): Add flags argument.
+       * p-lang.h (pascal_print_type, pascal_type_print_base,
+       pascal_type_print_varspec_prefix): Add argument.
+       * p-typeprint.c (pascal_print_type,
+       pascal_type_print_varspec_prefix, pascal_print_func_args,
+       pascal_type_print_varspec_suffix, pascal_type_print_base): Add
+       flags argument.
+       * symmisc.c (print_symbol): Update.
+       * typeprint.c (type_print_raw_options, default_ptype_flags):
+       New globals.
+       (type_print): Update.
+       * typeprint.h (struct type_print_options): New.
+       (type_print_raw_options): Declare.
+       (c_type_print_varspec_suffix, c_type_print_args): Add argument.
+
+2012-11-10  Keith Seitz  <keiths@redhat.com>
+
+       * breakpoint.c (clear_command): Add cleanup for
+       sals.sals if an argument is given.
+
+       * linespec.c (parse_linespec): Do cleanups after
+       parsing a convenience variable.
+
+2012-11-10  Keith Seitz  <keiths@redhat.com>
+
+       PR gdb/14288
+       * c-valprint.c (c_val_print): For character arrays
+       with "print null" option on, print ellipses if
+       the output is truncated and the next character is not \000.
+       * valprint.c (MAX_WCHARS): Define.
+       (WCHAR_BUFLEN): Likewise.
+       (WCHAR_BUFLEN_MAX): Likewise.
+       (struct converted_character): New structure.
+       (count_next_character): New function.
+       (print_converted_chars_to_obstack): New function.
+       (generic_printstr): Rewrite using count_next_character
+       and print_converted_chars_to_obstack.
+
+2012-11-10  Stephane Carrez  <Stephane.Carrez@gmail.com>
+
+       * tui/tui.c (tui_rl_command_key): Switch to TUI_ONE_COMMAND_MODE
+       while executing the gdb command.
+       (tui_rl_startup_hook): Do not switch back to TUI_SINGLE_KEY_MODE if we
+       are called from prompt_for_continue.
+       * tui/tui-io.c (tui_redisplay_readline): Likewise.
+
+2012-11-10  Stephane Carrez  <Stephane.Carrez@gmail.com>
+
+       PR tui/9584
+
+       * tui/tui.c (tui_rl_command_key): Do not call execute_command
+       but insert the command to execute in readline's buffer.
+
+2012-11-09  Tom Tromey  <tromey@redhat.com>
+
+       * gdbarch.sh (target_gdbarch): Remove macro.
+       (get_target_gdbarch): Rename to target_gdbarch.
+       * gdbarch.c, gdbarch.h: Rebuild.
+       * ada-tasks.c, aix-thread.c, amd64-linux-nat.c, arch-utils.c,
+       arm-tdep.c, auxv.c, breakpoint.c, bsd-uthread.c, corefile.c,
+       darwin-nat-info.c, dcache.c, dsrec.c, exec.c, fbsd-nat.c,
+       filesystem.c, gcore.c, gnu-nat.c, i386-darwin-nat.c, i386-nat.c,
+       ia64-vms-tdep.c, inf-ptrace.c, infcmd.c, jit.c, linux-nat.c,
+       linux-tdep.c, linux-thread-db.c, m32r-rom.c, memattr.c,
+       mep-tdep.c, microblaze-tdep.c, mips-linux-nat.c,
+       mips-linux-tdep.c, mips-tdep.c, monitor.c, moxie-tdep.c,
+       nto-procfs.c, nto-tdep.c, ppc-linux-nat.c, proc-service.c,
+       procfs.c, progspace.c, ravenscar-thread.c, record.c,
+       remote-m32r-sdi.c, remote-mips.c, remote-sim.c, remote.c,
+       rl78-tdep.c, rs6000-nat.c, rx-tdep.c, s390-nat.c, sol-thread.c,
+       solib-darwin.c, solib-dsbt.c, solib-frv.c, solib-ia64-hpux.c,
+       solib-irix.c, solib-pa64.c, solib-som.c, solib-spu.c,
+       solib-sunos.c, solib-svr4.c, solib.c, spu-linux-nat.c,
+       spu-multiarch.c, spu-tdep.c, symfile-mem.c, symfile.c, symtab.c,
+       target-descriptions.c, target.c, target.h, tracepoint.c,
+       windows-nat.c, windows-tdep.c, xcoffsolib.c, cli/cli-dump.c,
+       common/agent.c, mi/mi-interp.c, python/py-finishbreakpoint.c,
+       python/py-inferior.c, python/python.c: Update.
+
+2012-11-09  Andrew Burgess  <aburgess@broadcom.com>
+
+       * source.c (print_source_lines_base): Add fullname field giving
+       full path to file in mi output.
+       * NEWS: Mention the new fullname field.
+
+2012-11-09  Yao Qi  <yao@codesourcery.com>
+
+       * NEWS: Mention the fix to the ambiguity of 'fo' command.
+
+2012-11-09  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/14306
+
+       * infrun.c: Include target-descriptions.h.
+       (follow_exec): Fetch new target description.
+
+2012-11-09  Yao Qi  <yao@codesourcery.com>
+
+       * i386-tdep.c (i386_analyze_frame_setup): Handle opcode
+       0x8d (lea).
+
+2012-11-09  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c: Declare set_tracepoint_count.
+       (install_breakpoint): Call set_tracepoint_count if B is a
+       tracepoint.
+       (trace_command): Don't call set_tracepoint_count.  Re-indent.
+       (strace_command, ftrace_command):
+       (create_tracepoint_from_upload): Likewise.
+
+2012-11-09  Pedro Alves  <palves@redhat.com>
+
+       * gdbarch.sh (target_gdbarch) <gdbarch.h>: Reimplement as macro.
+       (get_target_gdbarch) <gdbarch.h>: New function.
+       (startup_gdbarch) <gdbarch.h>: Declare.
+       <gdbarch.c> (target_gdbarch): Delete.
+       <gdbarch.c> (deprecated_target_gdbarch_select_hack): Set the
+       current inferior's gdbarch.
+       <gdbarch.c> (get_target_gdbarch): New function.
+       * inferior.c: Include target-descriptions.h.
+       (free_inferior): Free target description info.
+       (add_inferior_with_spaces): Set the inferior's initial
+       architecture.
+       (clone_inferior_command): Copy the original inferior's target
+       description if it was user specified.
+       (initialize_inferiors): Add comment.
+       * inferior.h (struct target_desc_info): Forward declare.
+       (struct inferior) <gdbarch>: New field.
+       * linux-nat.c: Include target-descriptions.h.
+       (linux_child_follow_fork): Copy the parent's architecture and
+       target description to the child.
+       * target-descriptions.c: Include inferior.h.
+       (struct target_desc_info): New structure, holding the equivalents
+       of ...
+       (target_desc_fetched, current_target_desc)
+       (target_description_filename): ... these removed globals.
+       (get_tdesc_info, target_desc_info_from_user_p)
+       (copy_inferior_target_desc_info, target_desc_info_free): New.
+       (target_desc_fetched, current_target_desc)
+       (target_description_filename): Reimplemented as convenience
+       macros.
+       (tdesc_filename_cmd_string): New global.
+       (set_tdesc_filename_cmd): Copy the string manipulated by the "set
+       tdescs filename ..." commands to the per-inferior equivalent.
+       (show_tdesc_filename_cmd): Get the value to show from the
+       per-inferior description filename.
+       (_initilize_target_descriptions): Change the "set/show tdesc
+       filename" commands' variable.
+       * target-descriptions.h (struct target_desc, struct target_desc_info)
+       (struct inferior): Forward declare.
+       (target_find_description, target_clear_description)
+       (target_current_description): Adjust comments.
+       (copy_inferior_target_desc_info, target_desc_info_free)
+       (target_desc_info_from_user_p). Declare.
+
+2012-11-08  Stephane Carrez  <Stephane.Carrez@gmail.com>
+
+       * tui/tui-hooks.c (tui_about_to_proceed): New function.
+       (tui_target_wait_hook): Remove.
+       (tui_install_hooks): Install the about_to_proceed observer.
+       (tui_remove_hooks): And remove it here.
+
+2012-11-08  Tom Tromey  <tromey@redhat.com>
+
+       * linux-tdep.c (linux_make_siginfo_note): New function.
+       (linux_make_corefile_notes): Use it.
+       * corelow.c (get_core_siginfo): New function.
+       (core_xfer_partial) <TARGET_OBJECT_SIGNAL_INFO>: New case.
+
+2012-11-08  Tom Tromey  <tromey@redhat.com>
+
+       PR gdb/14704:
+       * gdb_bfd.c (gdb_bfd_ref): Set BFD_DECOMPRESS.
+       (zlib_decompress_section): Remove.
+       (gdb_bfd_map_section): Only check for compressed section
+       in mmap case.  Use bfd_get_full_section_contents.
+       * osabi.c (check_note): Add 'sectsize' argument.  Read
+       section data.
+       (generic_elf_osabi_sniff_abi_tag_sections): Don't read
+       section data.  Update for check_note change.
+       * xcoffread.c (xcoff_initial_scan): Use
+       bfd_get_full_section_contents.
+       * py-auto-load.c (auto_load_section_scripts): Use
+       bfd_get_full_section_contents.
+       * contrib/cc-with-tweaks.sh: Add -Z option.
+
+2012-11-08  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-bpevent.c: Include defs.h.
+       * python/py-continueevent.c: Include defs.h.
+       * python/py-event.c: Include defs.h.
+       * python/py-event.h: Don't include defs.h.
+       * python/py-events.h: Don't include defs.h.
+       * python/py-evts.c: Include defs.h.
+       * python/py-exitedevent.c: Include defs.h.
+       * python/py-newobjfileevent.c: Include defs.h.
+       * python/py-signalevent.c: Include defs.h.
+       * python/py-stopevent.c: Include defs.h.
+       * python/py-threadevent.c: Include defs.h.
+
+2012-11-08  Pierre Muller  <muller@sourceware.org>
+
+       * update-web-ari.sh (print_heading): Add number of files
+       checked.
+       (nb_files): New variable counting the number of sources
+       files found by gdb_find.sh script.
+       (debug_awk): New variable to allow extra debug output.
+       (indexes): Add more information if DEBUG_AWK is set.
+
+2012-11-08  Edjunior Machado  <emachado@linux.vnet.ibm.com>
+
+       * ppc-linux-tdep.c (ppc64_standard_linkage1, ppc64_standard_linkage2,
+       ppc64_standard_linkage3): Mark ld r11 instructions as optional,
+       following the change in PLT call stubs on linker.
+
+2012-11-08  Pierre Muller  <muller@sourceware.org>
+
+       * contrib/ari/gdb_ari.sh (LANG, LC_ALL): Use 'C' instead of 'c'
+       as default language.
+       (AWK): Use = instead of == for sh test to avoid warning.
+       (Linux rule): Correct [:digit] into [[:digit:]].
+       (__func__ rule): Adapt to "gdb_assert.h" move to common subdirectory.
+       (vasprintf rule): Adapt to common subdirectory moves.
+       (xasprintf rule): Idem.
+       (xvasprintf rule): Idem.
+       (var_boolean rule): Accept occurence in == or != test.
+
+       * contrib/ari/gdb_find.sh: Also prune gdbtk directory.
+
+2012-11-08  Stephane Carrez  <Stephane.Carrez@gmail.com>
+
+       * tui/tui-hooks.c (tui_inferior_exit): New function.
+       (tui_detach_hook): Remove.
+       (tui_install_hooks): Install the inferior exit observer.
+       (tui_remove_hooks): Remove it.
+
+2012-11-08  Yao Qi  <yao@codesourcery.com>
+
+       PR gdb/14777.
+       * source.c (_initialize_source): Call add_com_alias to abbreviate
+       'forward-search' as 'fo'.
+
+2012-11-07  Pedro Alves  <palves@redhat.com>
+
+       * arm-tdep.c: Make defs.h be the first include.
+       * coff-pe-read.c: Ditto.
+       * gnu-nat.c: Ditto.
+       * go32-nat.c: Ditto.
+       * i386-nat.c: Ditto.
+       * ppcnbsd-nat.c: Ditto.
+       * ada-varobj.h: Don't include defs.h.
+       * i386-darwin-tdep.h: Ditto.
+       * i386-nat.h: Ditto.
+
+2012-11-07  Pedro Alves  <palves@redhat.com>
+
+       * MAINTAINERS: New FSF-appointed maintainers replace the Steering
+       Committee.
+
+2012-11-07  Pierre Muller  <muller@sourceware.org>
+
+       * common/linux-osdata.c (dirent.h): ARI fix: Remove.
+       File already uses "gdb_dirent.h" header.
+
+2012-11-07  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c (get_tracepoint_by_number): Remove 'extern int
+       tracepoint_count'.
+
+2012-11-06  Tom Tromey  <tromey@redhat.com>
+
+       * target.h (inferior_has_forked, inferior_has_vforked)
+       (inferior_has_execd, inferior_has_called_syscall): Remove
+       declarations.
+
+2012-11-06  Pierre Muller  <muller@sourceware.org>
+
+       * remote.c (remote_insert_hw_breakpoint): ARI fix,
+       add missing internalization markup.
+
+2012-11-06  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/14810
+
+       * breakpoint.c (bpstat_stop_status): Skip disabled locations.
+
+2012-11-06  Pierre Muller  <muller@sourceware.org>
+
+       * contrib/ari/create-web-ari-in-src.sh: Avoid problem if script
+       is not executable.
+
+2012-11-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * gnulib/update-gnulib.sh: New script.
+
+2012-11-05  Stephane Carrez  <Stephane.Carrez@gmail.com>
+
+       * MAINTAINERS: Update my email address.
+
+2012-11-05  Tom Tromey  <tromey@redhat.com>
+
+       * frame.c (put_frame_register): Don't use temporary buffer.
+
+2012-11-05  Pedro Alves  <palves@redhat.com>
+
+       * inferior.c (exit_inferior_1): Clear 'vfork_parent' in the vfork
+       child.  Clear 'pending_detach'.
+       * infrun.c (handle_vfork_child_exec_or_exit): Clear
+       'pending_detach' in the vfork parent.
+
+2012-11-05  Doug Evans  <dje@google.com>
+
+       Add support for DWP files.  http://gcc.gnu.org/wiki/DebugFissionDWP
+       * contrib/cc-with-tweaks.sh: Add -p parameter to invoke dwp.
+       * dwarf2read.c: #include "elf-bfd.h".
+       (struct dwarf2_per_objfile): New members dwp_checked, dwp_file.
+       (dwop_section_names): Renamed from dwo_section names.  All uses
+       updated.  Add entries for .debug_cu_index, .debug_tu_index.
+       (struct dwo_file): Rename dwo_name to name, dwo_bfd to dbfd.
+       All uses updated.
+       (struct dwp_sections): New type.
+       (struct virtual_dwo_sections): New type.
+       (struct dwp_hash_table): New type.
+       (struct dwp_file): New type.
+       (init_cutu_and_read_dies): Ensure DWO info/types section has been
+       read in.  Handle DWOs coming from DWP files.
+       (lookup_dwo_file_slot): New function.
+       (dwarf2_locate_dwo_sections): Move definition closer to use.
+       (create_dwo_debug_info_hash_table_reader): Renamed from
+       create_debug_info_hash_table_reader.  All callers updated.
+       (create_dwo_debug_info_hash_table): Renamed from
+       create_debug_info_hash_table.  All callers updated.
+       (create_dwp_hash_table): New function.
+       (locate_virtual_dwo_sections, create_dwo_in_dwp): New functions.
+       (lookup_dwo_in_dwp): New function.
+       (try_open_dwop_file): Renamed from try_open_dwo_file.  New parameter
+       is_dwp.  All callers updated.
+       (open_dwop_file): Renamed from open_dwo_file.  All callers updated.
+       (open_and_init_dwo_file): Renamed from init_dwo_file.
+       All callers updated.
+       (lookup_dwo_file): Delete.
+       (dwarf2_locate_dwp_sections): New function.
+       (hash_dwp_loaded_cutus, eq_dwp_loaded_cutus): New functions.
+       (allocate_dwp_loaded_cutus_table): New function.
+       (open_and_init_dwp_file): New function.
+       (lookup_dwo_cutu): New function.
+       (lookup_dwo_comp_unit, lookup_dwo_type_unit): Call it.
+
+2012-11-03  Yao Qi  <yao@codesourcery.com>
+
+       Fix PR gdb/14617.
+       * breakpoint.c (trace_pass_set_count): Call
+       observer_notify_breakpoint_modified instead of
+       observer_notify_tracepoint_modified.
+       * mi/mi-cmd-break.c (mi_cmd_break_passcount): Likewise.
+
+2012-11-02  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (catch_syscall_completer): Pass 'word' as second
+       argument to complete_on_enum.
+
+2012-11-02  Tom Tromey  <tromey@redhat.com>
+
+       * configure: Rebuild.
+       * configure.ac (build_warnings): Add -Wempty-body.
+       * m68k-tdep.c (m68k_gdbarch_init): Remove empty 'if'.
+       * remote.c (handle_notification): Use braces for empty 'else' body.
+       * s390-tdep.c (s390_analyze_prologue): Use braces for empty
+       'else' body.
+       * sh64-tdep.c (sh64_push_dummy_call): Use braces for empty
+       'else' body.
+       * solib-som.c (som_relocate_section_addresses): Use braces
+       for empty 'else' body.
+       * ui-file.c (stdio_file_write): Use braces for empty 'if' body.
+       (stdio_file_write_async_safe, stdio_file_fputs): Likewise.
+
+2012-11-02  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/14766
+
+       * infrun.c (handle_inferior_event)
+       <TARGET_WAITKIND_EXITED/TARGET_WAITKIND_SIGNALLED>: Switch to
+       null_ptid before handling a vfork child exec or exit.  Switch to
+       the event ptid afterwards.
+
+2012-11-02  Yao Qi  <yao@codesourcery.com>
+
+       * std-operator.def: Remove OP_LABELED.
+       * eval.c: Remove the declaration of 'get_label'.
+       (get_label): Remove.
+       (evaluate_struct_tuple): Remove code handling OP_LABELED.
+       Update comment.
+       Remove local variable 'variantno' and related code.
+       Replace 'substruct_type' with 'struct_type'.  Replace 'subfieldno'
+       with 'fieldno'.
+       * expprint.c (print_subexp_standard): Likewise.
+       (dump_subexp_body_standard): Likewise.
+       * parse.c (operator_length_standard): Likewise.
+
+2012-11-01  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Incorporate ARI web page generator into GDB sources.
+       * contrib/ari/create-web-ari-in-src.sh: New file.
+       * contrib/ari/gdb_ari.sh: New file.
+       * contrib/ari/gdb_find.sh: New file.
+       * contrib/ari/update-web-ari.sh: New file.
+
+2012-10-31  Tom Tromey  <tromey@redhat.com>
+
+       * gdbarch.c: Rebuild.
+       * gdbarch.sh: Remove references to gdbarch_swap.
+       * corelow.c (core_open): Remove obsolete comment.
+
+2012-10-31  Andrew Burgess  <aburgess@broadcom.com>
+
+       PR cli/14772
+       * c-typeprint.c (c_print_type): Don't print a space for vector
+       types, this is handled within the suffix.
+       (c_type_print_varspec_suffix): Add a space to vector suffix.
+
+2012-10-26  Pedro Alves  <palves@redhat.com>
+
+       * amd64-tdep.c (amd64_relocate_instruction): Use
+       store_unsigned_integer instead of memcpy.
+       * i386-tdep.c (i386_relocate_instruction): Ditto.
+
+2012-10-26  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (handle_inferior_event): Merge handling of
+       TARGET_WAITKIND_EXITED and TARGET_WAITKIND_SIGNALLED into a single
+       switch case.
+
+2012-10-26  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (handle_inferior_event) <TARGET_WAITKIND_SIGNALLED>:
+       Remove comment.
+
+2012-10-26  Pedro Alves  <palves@redhat.com>
+
+       * target.c (target_waitstatus_to_string): Handle
+       TARGET_WAITKIND_VFORK_DONE.
+
+2012-10-26  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (handle_inferior_event): Print TARGET_WAITKIND_VFORKED
+       as "TARGET_WAITKIND_VFORKED", not "TARGET_WAITKIND_FORKED".
+
+2012-10-24  Tristan Gingold  <gingold@adacore.com>
+
+       * ravenscar-sparc-thread.c (ravenscar_sparc_fetch_registers):
+       Add comments.
+
+2012-10-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * ravenscar-thread.c (ravenscar_wait): Only update the list
+       of threads and inferior_ptid if the inferior is still alive.
+
+2012-10-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (is_known_support_routine): Use lbasename when
+       matching the symtab's filename against
+       known_runtime_file_name_patterns.
+
+2012-10-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_same_array_size_p): New function.
+       (ada_promote_array_of_integrals): New function.
+       (coerce_for_assign): Add handling of arrays where the elements
+       are integrals of a smaller size than the size of the target
+       array element type.
+
+2012-10-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * doublest.c (convert_doublest_to_floatformat): Fix comparison
+       against maximum exponent value.
+
+2012-10-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.h (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Add entry for
+       "unwind-seh.c".
+
+2012-10-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_template_to_fixed_record_type_1): Do not
+       strip typedef layer when computing the fixed type's field type,
+       only when computing its size.
+
+2012-10-24  Mark Kettenis  <kettenis@gnu.org>
+
+       PR gdb/12783
+       * i386-tdep.c (i386_return_value): Handle complex double and long
+       double.
+
+2012-10-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * windows-nat.c (windows_create_inferior) [!__CYGWIN__]:
+       New local variable args_len.
+       Quote the name of the executable when computing the command line.
+
+2012-10-23  Mark Kettenis  <kettenis@gnu.org>
+
+       PR gdb/12796
+       PR gdb/12798
+       PR gdb/12800
+       * amd64-tdep.h (enum amd64_regnum): Add AMD64_ST1_REGNUM and
+       AMD64_FTAG_REGNUM.
+       * amd64-tdep.c (amd64_classify): Classify complex types.
+       (amd64_return_value): Handle the COMPLEX_X87 class.
+
+2012-10-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * rs6000-aix-tdep.c (rs6000_aix_auto_wide_charset): New function.
+       (rs6000_aix_init_osabi): Set auto_wide_charset gdbarch method.
+
+2012-10-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * amd64-windows-tdep.c (amd64_windows_auto_wide_charset): New
+       function.
+       (amd64_windows_init_abi): Set auto_wide_charset gdbarch method
+       to amd64_windows_auto_wide_charset.
+
+2012-10-23  Yao Qi  <yao@codesourcery.com>
+
+       * event-top.c (mark_async_signal_handler_wrapper): Remove.
+       * event-top.h: Remove its declaration.
+       (async_request_quit): Call mark_async_signal_handler instead of
+       mark_async_signal_handler_wrapper.
+       (async_do_nothing, async_disconnect): Likewise.
+       (async_stop_sig): Likewise.
+       * remote.c (handle_remote_sigint): Likewise.
+       (handle_remote_sigint_twice): Likewise.
+
+2012-10-23  Yao Qi  <yao@codesourcery.com>
+
+       * event-top.c (sigint_token, sighup_token): Replace 'void *'
+       with 'static struct async_signal_handler *'.
+       (sighup_token, sigquit_token, sigstp_token): Likewise.
+
+2012-10-22  Ali Anwar  <ali_anwar@codesourcery.com>
+
+       * gdbarch.sh (function_list): Use 'pstring' when printing
+       a variable which could return NULL.
+       * gdbarch.c: Regenerate.
+
+2012-10-10  Joel Brobecker  <brobecker@adacore.com>
+            Tom Tromey  <tromey@redhat.com>
+
+       * rs6000-aix-tdep.c (rs6000_aix_osabi_sniffer): Replace
+       inneffective if condition by gdb assertion.  Add function
+       description comment.
+
+2012-10-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * parser-defs.h (struct exp_descriptor): Document constraint
+       on return value for "op_name" callbacks.
+
+2012-10-18  Tom Tromey  <tromey@redhat.com>
+
+       * tracepoint.c (print_one_static_tracepoint_marker): Constify.
+       * symtab.c (iterate_over_some_symtabs): Constify.
+       * source.h (symtab_to_fullname): Return 'const char *'.
+       * source.c (symtab_to_fullname): Return 'const char *'.
+       * python/py-symtab.c (stpy_fullname): Constify.
+       * cli/cli-cmds.c (edit_command): Constify.
+       * breakpoint.c (print_breakpoint_location)
+       (update_static_tracepoint): Constify.
+
+2012-10-18  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (compare_breakpoints): Fix comparison.
+
+2012-10-18  Tom Tromey  <tromey@redhat.com>
+
+       * valprint.c (generic_emit_char, generic_printstr): Pass size of
+       gdb_wchar_t to convert_between_encodings.
+
+2012-10-17  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c (invalidate_bp_value_on_memory_change): Add one
+       more parameter 'inferior'.
+       * corefile.c (write_memory_with_notification): Caller update.
+
+       * mi/mi-cmd-var.c: Include "mi-main.h".
+       (mi_cmd_var_assign): Set mi_suppress_notification.data_write_memory
+       to 1 and restore it later.
+       * mi/mi-cmds.c (mi_cmd mi_cmds): Update for "data-write-memory"
+       and "data-write-memory-bytes.
+       * mi/mi-interp.c: Include objfiles.h.
+       (mi_interpreter_init): Call observer_attach_memory_changed.
+       (mi_memory_changed): New.
+       * mi/mi-main.h (struct mi_suppress_notification) <memory>:
+       New field.
+
+       * NEWS: Mention new MI notification "memory-changed".
+
+2012-10-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Remove comment.
+
+2012-10-15  Doug Evans  <dje@google.com>
+
+       New option -nh: inhibit loading of ~/.gdbinit.
+       * NEWS: Mention -nh.
+       * main.c (captured_main): Recognize and process -nh.
+       (print_gdb_help): Mention -nh.
+       * gdb.1: Mention -nh.  Remove erroneous docs on -nx behavior.
+
+2012-10-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR backtrace/14646
+       PR gdb/14647
+       * i386-tdep.h (gdbarch_tdep): Remove sp_regnum_from_eax and
+       pc_regnum_from_eax.
+       * i386-tdep.c (i386_gdbarch_init): Don't use sp_regnum_from_eax
+       nor pc_regnum_from_eax.
+       * amd64-tdep.c (amd64_x32_init_abi): Don't set sp_regnum_from_eax
+       nor pc_regnum_from_eax.
+
+2012-10-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix entry values resolving in inlined frames.
+       * dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Move func_addr,
+       gdbarch and caller_frame initialization later.  Skip INLINE_FRAME
+       entries of FRAME.
+
 2012-10-15  Joel Brobecker  <brobecker@adacore.com>
 
        * configure.ac: Build with -DMS_WIN64 if building with Python
This page took 0.032289 seconds and 4 git commands to generate.