+2012-04-18 Pedro Alves <palves@redhat.com>
+
+ Update gnulib from latest git.
+ (639ea5ae15e39fe48d43e04864b2997301e4b969)
+
+ * gnulib/Makefile.am: Update.
+ * gnulib/dummy.c: Update.
+ * gnulib/extra/arg-nonnull.h: Update.
+ * gnulib/extra/c++defs.h: Update.
+ * gnulib/extra/update-copyright: Update.
+ * gnulib/extra/warn-on-use.h: Update.
+ * gnulib/inttypes.in.h: Update.
+ * gnulib/m4/00gnulib.m4: Update.
+ * gnulib/m4/extensions.m4: Update.
+ * gnulib/m4/gnulib-cache.m4: Update.
+ * gnulib/m4/gnulib-common.m4: Update.
+ * gnulib/m4/gnulib-comp.m4: Update.
+ * gnulib/m4/gnulib-tool.m4: Update.
+ * gnulib/m4/include_next.m4: Update.
+ * gnulib/m4/inttypes-pri.m4: Update.
+ * gnulib/m4/inttypes.m4: Update.
+ * gnulib/m4/longlong.m4: Update.
+ * gnulib/m4/memchr.m4: Update.
+ * gnulib/m4/memmem.m4: Update.
+ * gnulib/m4/mmap-anon.m4: Update.
+ * gnulib/m4/multiarch.m4: Update.
+ * gnulib/m4/onceonly.m4: Update.
+ * gnulib/m4/stddef_h.m4: Update.
+ * gnulib/m4/stdint.m4: Update.
+ * gnulib/m4/string_h.m4: Update.
+ * gnulib/m4/warn-on-use.m4: Update.
+ * gnulib/m4/wchar_h.m4: Update.
+ * gnulib/m4/wchar_t.m4: Update.
+ * gnulib/m4/wint_t.m4: Update.
+ * gnulib/memchr.c: Update.
+ * gnulib/memmem.c: Update.
+ * gnulib/stddef.in.h: Update.
+ * gnulib/stdint.in.h: Update.
+ * gnulib/str-two-way.h: Update.
+ * gnulib/string.in.h: Update.
+ * gnulib/wchar.in.h: Update.
+
+ * gnulib/extra/arg-nonnull.h: Delete.
+ * gnulib/extra/c++defs.h: Delete.
+ * gnulib/extra/warn-on-use.h: Delete.
+ * gnulib/m4/wchar_h.m4: Delete.
+ * gnulib/m4/wint_t.m4: Delete.
+ * gnulib/wchar.in.h: Delete.
+
+ * gnulib/extra/snippets/arg-nonnull.h: New.
+ * gnulib/extra/snippets/c++defs.h: New.
+ * gnulib/extra/snippets/warn-on-use.h: New.
+
+ * aclocal.m4: Regenerate.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * gnulib/Makefile.in: Regenerate.
+
+ * gdbserver/aclocal.m4: Regenerate.
+ * gdbserver/config.in: Regenerate.
+ * gdbserver/configure: Regenerate.
+
+2012-04-18 Pedro Alves <palves@redhat.com>
+
+ Reimport the update-copyright module from gnulib
+ (250b80067c1e1d8faa0c42fb572f721975b929c5).
+
+ * configure: Regenerate.
+ * gnulib/Makefile.am: Update.
+ * gnulib/Makefile.in: Regenerate.
+ * gnulib/extra/update-copyright: Update.
+ * gnulib/m4/gnulib-cache.m4: Update.
+ * gnulib/m4/gnulib-comp.m4: Update.
+
+2012-04-18 Tristan Gingold <gingold@adacore.com>
+
+ * configure.ac (aix): Put -lpthread into libs.
+ * configure: Regenerate.
+
+2012-04-18 Tom Tromey <tromey@redhat.com>
+
+ * linespec.c (convert_linespec_to_sals): Don't use
+ SYMBOL_OBJ_SECTION.
+ (compare_msymbols): Arguments are minsym_and_objfile, not
+ minimal_symbol*. Don't use SYMBOL_OBJ_SECTION.
+
+2012-04-18 Pedro Alves <palves@redhat.com>
+
+ Revert gnulib/ part of:
+ 2011-01-01 Joel Brobecker <brobecker@adacore.com>
+ Copyright year update in most files (performed by copyright.sh).
+
+2012-04-18 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix 64-bit constants on 32-bit hosts.
+ * dwarf2read.c (read_unsigned_leb128): Change declaration return type
+ from unsigned long to ULONGEST.
+ (read_signed_leb128): Change declaration return type from long to
+ LONGEST.
+ (dwarf2_const_value_attr): Change declaration parameter value from long
+ to LONGEST.
+ (dwarf2_compute_name): Change variable value from long to LONGEST.
+ (read_unsigned_leb128): Change return type, variable result and some
+ casts from unsigned long to ULONGEST.
+ (read_signed_leb128): Change return type, variable result and some
+ casts from long to LONGEST.
+ (dwarf2_const_value_data, dwarf2_const_value_attr): Change parameter
+ value from long to LONGEST.
+ (dwarf2_const_value): Change variable value from long to LONGEST.
+ * symmisc.c (print_symbol): Change SYMBOL_VALUE format strings to use
+ plongest and hex_string.
+ * symtab.h (struct general_symbol_info): Change ivalue from long to
+ LONGEST, remove the comment.
+ * tracepoint.c (validate_actionline, collect_symbol, scope_info):
+ Change SYMBOL_VALUE format strings to use plongest and hex_string.
+
+2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
+
+ PR symtab/7259:
+ * ada-exp.y (convert_char_literal): Use TYPE_FIELD_ENUMVAL.
+ * ada-lang.c (ada_discrete_type_high_bound)
+ (ada_discrete_type_low_bound): Fix function comment. Use
+ TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
+ (ada_identical_enum_types_p): Use TYPE_FIELD_ENUMVAL.
+ (pos_atr, value_val_atr): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
+ * ada-typeprint.c (print_enum_type): Change variable lastval to LONGEST.
+ Use TYPE_FIELD_ENUMVAL.
+ * ada-valprint.c (print_optional_low_bound, ada_print_scalar)
+ (ada_val_print_1): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
+ * c-typeprint.c (c_type_print_base): Move variable lastval to inner
+ block, change it to LONGEST. Use TYPE_FIELD_ENUMVAL for
+ TYPE_CODE_ENUM.
+ * coffread.c (coff_read_enum_type): Use SET_FIELD_ENUMVAL.
+ * dwarf2read.c (process_enumeration_scope): Likewise.
+ * gdb-gdb.py (TypeFlagsPrinter): Use field.enumval instead of
+ field.bitpos.
+ (class StructMainTypePrettyPrinter): Support also
+ FIELD_LOC_KIND_ENUMVAL.
+ * gdbtypes.c (get_discrete_bounds): Use TYPE_FIELD_ENUMVAL for
+ TYPE_CODE_ENUM.
+ (recursive_dump_type): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
+ (copy_type_recursive): Support also FIELD_LOC_KIND_ENUMVAL.
+ * gdbtypes.h (enum field_loc_kind): New FIELD_LOC_KIND_ENUMVAL.
+ (struct main_type.flds_bnds.fields.loc): Adjust bitpos comment. New
+ field enumval.
+ (struct main_type.flds_bnds.bields): Adjust loc_kind and bitsize to
+ accommodate enumval.
+ (struct call_site): Adjust loc_kind to accommodate enumval.
+ (FIELD_ENUMVAL, FIELD_ENUMVAL_LVAL, SET_FIELD_ENUMVAL)
+ (TYPE_FIELD_ENUMVAL): New macros.
+ * m2-typeprint.c (m2_enum): Use TYPE_FIELD_ENUMVAL.
+ * mdebugread.c (parse_symbol): Use TYPE_FIELD_ENUMVAL for
+ TYPE_CODE_ENUM.
+ * p-typeprint.c (pascal_type_print_base): Likewise.
+ * python/lib/gdb/printing.py (class FlagEnumerationPrinter): Use
+ enumval.
+ * python/lib/gdb/types.py (make_enum_dict): Likewise.
+ * python/py-type.c (convert_field): New variable addrstring. Use
+ TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
+ (check_types_equal): Support also FIELD_LOC_KIND_ENUMVAL.
+ * stabsread.c (read_enum_type): Use SET_FIELD_ENUMVAL.
+ * typepint.c (print_type_scalar): Use TYPE_FIELD_ENUMVAL for
+ TYPE_CODE_ENUM.
+ * valprint.c (generic_val_print): Likewise.
+
+2012-04-17 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (lookup_signatured_type): Return NULL instead of 0.
+
+ * dwarf2read.c: Whitespace fixes.
+ (lookup_signatured_type): Tweak comment.
+ (get_die_type_at_offset): Fix comment.
+
+2012-04-17 Joel Brobecker <brobecker@adacore.com>
+
+ * xcoffread.c (xcoff_secnum_to_sections): New function.
+ (secnum_to_section, secnum_to_bfd_section): Reimplement
+ using xcoff_secnum_to_sections. Rename "secnum" parameter
+ into "n_scnum".
+ (RECORD_MINIMAL_SYMBOL): Delete.
+ (record_minimal_symbol): New function.
+ (scan_xcoff_symtab): Replace uses of RECORD_MINIMAL_SYMBOL
+ by call to record_minimal_symbol and set misc_func_recorded
+ to 1. Set last_csect_sec to the XCOFF section index instead
+ of GDB's section_offset index. Update calls to
+ prim_record_minimal_symbol_and_info to pass the BFD section
+ as well.
+
+2012-04-17 Joel Brobecker <brobecker@adacore.com>
+
+ * xcoffread.c (read_xcoff_symtab): Delete variables
+ last_csect_val and last_csect_sec and associated code.
+
+2012-04-17 Doug Evans <dje@google.com>
+
+ * cleanups.c (make_my_cleanup,make_my_cleanup2): Make static.
+ (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.
+ * cleanups.h (make_my_cleanup,make_my_cleanup2): Delete
+ (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Delete.
+
+ * cleanups.h: New file.
+ * cleanups.c: New file.
+ * Makefile.in (SFILES): Add cleanups.c.
+ (HFILES_NO_SRCDIR): Add cleanups.h.
+ (COMMON_OBS): Add cleanups.o.
+ * defs.h (struct cleanup): Moved to cleanups.h.
+ (do_cleanups,do_final_cleanups): Ditto.
+ (discard_cleanups,discard_final_cleanups): Ditto
+ (make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto.
+ (save_cleanups,save_final_cleanups): Ditto.
+ (restore_cleanups,restore_final_cleanups): Ditto.
+ (null_cleanup): Ditto.
+ (make_my_cleanup,make_my_cleanup2): Ditto.
+ (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.
+ * utils.c (cleanup_chain,final_cleanup_chain): Moved to cleanups.c.
+ (do_cleanups,do_final_cleanups): Ditto.
+ (discard_cleanups,discard_final_cleanups): Ditto
+ (make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto.
+ (save_cleanups,save_final_cleanups): Ditto.
+ (restore_cleanups,restore_final_cleanups): Ditto.
+ (null_cleanup): Ditto.
+ (make_my_cleanup,make_my_cleanup2): Ditto.
+ (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.
+
+ * utils.c (make_cleanup_freeargv): Use make_cleanup instead of
+ make_my_cleanup.
+ (make_cleanup_dyn_string_delete): Ditto.
+ (make_cleanup_ui_file_delete): Ditto.
+ (make_cleanup_ui_out_redirect_pop): Ditto.
+ (make_cleanup_free_section_addr_info): Ditto.
+ (make_cleanup_restore_integer): Ditto.
+ (make_cleanup_unpush_target): Ditto.
+ (make_cleanup_value_free_to_mark): Ditto.
+ (make_cleanup_value_free): Ditto.
+ (make_cleanup_free_so): Ditto.
+
+2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ New option "set debug auto-load".
+ * NEWS: New commands "set debug auto-load" and "show debug auto-load".
+ * auto-load.c (debug_auto_load, show_debug_auto_load: New.
+ (auto_load_safe_path_vec_update)
+ (filename_is_in_auto_load_safe_path_vec): Call fprintf_unfiltered
+ if DEBUG_AUTO_LOAD.
+ (file_is_auto_load_safe): New parameters debug_fmt and ....
+ Call fprintf_unfiltered if DEBUG_AUTO_LOAD.
+ (source_gdb_script_for_objfile): Extend the file_is_auto_load_safe
+ caller by explanatory string.
+ (_initialize_auto_load): Register "set debug auto-load".
+ * auto-load.h (file_is_auto_load_safe): New parameters debug_fmt
+ and ....
+ * linux-thread-db.c (try_thread_db_load_from_pdir_1)
+ (try_thread_db_load_from_dir): Extend the file_is_auto_load_safe caller
+ by explanatory string.
+ * main.c (captured_main): Likewise.
+ * python/py-auto-load.c (gdbpy_load_auto_script_for_objfile)
+ (source_section_scripts): Likewise.
+
+2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ New option "set auto-load safe-path".
+ * NEWS: New commands "set auto-load safe-path"
+ and "show auto-load safe-path".
+ * auto-load.c: Include gdb_vecs.h, readline/tilde.h and completer.h.
+ (auto_load_safe_path, auto_load_safe_path_vec)
+ (auto_load_safe_path_vec_update, set_auto_load_safe_path)
+ (show_auto_load_safe_path, add_auto_load_safe_path, filename_is_in_dir)
+ (filename_is_in_auto_load_safe_path_vec, file_is_auto_load_safe): New.
+ (source_gdb_script_for_objfile): New variable is_safe. Call
+ file_is_auto_load_safe. Return if it is not.
+ (struct loaded_script): New field loaded.
+ (maybe_add_script): Add parameter loaded. Initialize SLOT with it.
+ (print_script): Use LOADED indicator instead of FULL_PATH. Change
+ output "Missing" to "No".
+ (_initialize_auto_load): New variable cmd. Initialize
+ auto_load_safe_path. Register "set auto-load safe-path",
+ "show auto-load safe-path" and "add-auto-load-safe-path".
+ * auto-load.h (maybe_add_script): Add parameter loaded.
+ (file_is_auto_load_safe): New declaration.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * configure.ac: New parameters --with-auto-load-safe-path
+ and --without-auto-load-safe-path.
+ * linux-thread-db.c (try_thread_db_load_from_pdir_1)
+ (try_thread_db_load_from_dir): Check file_is_auto_load_safe first.
+ * main.c (captured_main): Check file_is_auto_load_safe for
+ LOCAL_GDBINIT.
+ * python/py-auto-load.c (gdbpy_load_auto_script_for_objfile): New
+ variable is_safe. Call file_is_auto_load_safe. Return if it is not.
+ (source_section_scripts): Call file_is_auto_load_safe. Return if it is
+ not.
+
+2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ auto-load: Implementation.
+ * NEWS: New descriptions for "info auto-load",
+ "info auto-load gdb-scripts", "info auto-load python-scripts",
+ "info auto-load local-gdbinit" and "info auto-load libthread-db".
+ Deprecate "info auto-load-scripts", "set auto-load-scripts on|off"
+ and "show auto-load-scripts". New description for "set auto-load",
+ "show auto-load", "set auto-load gdb-scripts",
+ "show auto-load gdb-scripts", "set auto-load python-scripts",
+ "show auto-load python-scripts", "set auto-load local-gdbinit",
+ "show auto-load local-gdbinit", "set auto-load libthread-db" and
+ "show auto-load libthread-db".
+ * auto-load.c: Remove include python/python-internal.h. Add includes
+ exceptions.h, cli/cli-script.h, gdbcmd.h, cli/cli-decode.h and
+ cli/cli-setshow.h.
+ (GDB_AUTO_FILE_NAME, source_gdb_script_for_objfile)
+ (auto_load_gdb_scripts, show_auto_load_gdb_scripts): New.
+ (gdbpy_global_auto_load): Rename to ...
+ (global_auto_load): ... here.
+ (auto_load_local_gdbinit, auto_load_local_gdbinit_pathname)
+ (auto_load_local_gdbinit_loaded, show_auto_load_local_gdbinit)
+ (script_language_gdb, source_gdb_script_for_objfile): New.
+ (struct loaded_script): New field language.
+ (hash_loaded_script_entry, eq_loaded_script_entry): Calculate also
+ LANGUAGE.
+ (maybe_add_script): Add parameter language. Drop redundant
+ entry.full_path initialization. Initialize entry.language and
+ (*slot)->language.
+ (auto_load_objfile_script): Change parameter suffix to language.
+ Remove the call of maybe_add_script.
+ Call language->source_script_for_objfile.
+ (load_auto_scripts_for_objfile, struct collect_matching_scripts_data):
+ New.
+ (collect_matching_scripts): Adjust it for
+ struct collect_matching_scripts_data.
+ (auto_load_info_scripts_pattern_nl): New variable.
+ (info_auto_load_scripts): Rename to ...
+ (auto_load_info_scripts): ... here, add parameter language. Adjust it
+ for struct collect_matching_scripts_data.
+ (info_auto_load_gdb_scripts, info_auto_load_local_gdbinit)
+ (set_auto_load_cmd, auto_load_set_cmdlist_get, show_auto_load_cmd)
+ (auto_load_show_cmdlist_get, info_auto_load_cmd)
+ (auto_load_info_cmdlist_get): New.
+ (_initialize_auto_load): Move add_info of "auto-load-scripts" to
+ python/py-auto-load.c. New installment for "set auto-load gdb-scripts",
+ "info auto-load gdb-scripts", "set auto-load local-gdbinit" and
+ "info auto-load local-gdbinit".
+ * auto-load.h (struct script_language): New.
+ (gdbpy_global_auto_load): Rename to ...
+ (global_auto_load): ... here.
+ (auto_load_local_gdbinit, auto_load_local_gdbinit_pathname)
+ (auto_load_local_gdbinit_loaded): New declarations.
+ (maybe_add_script): New parameter language.
+ (auto_load_objfile_script): Change parameter suffix to language.
+ (load_auto_scripts_for_objfile, auto_load_info_scripts_pattern_nl)
+ (auto_load_info_scripts, auto_load_set_cmdlist_get)
+ (auto_load_show_cmdlist_get, auto_load_info_cmdlist_get): New
+ declarations.
+ * linux-thread-db.c: Include auto-load.h and ctype.h.
+ (auto_load_thread_db, show_auto_load_thread_db): New.
+ (struct thread_db_info): New field filename.
+ (delete_thread_db_info): Call xfree for FILENAME.
+ (try_thread_db_load): Initialize FILENAME.
+ (try_thread_db_load_from_pdir, try_thread_db_load_from_dir): Return
+ if !AUTO_LOAD_THREAD_DB.
+ (info_auto_load_libthread_db_compare, info_auto_load_libthread_db): New.
+ (_initialize_thread_db): Install auto_load_thread_db
+ as "set auto-load libthread-db" and install info_auto_load_libthread_db
+ as "info auto-load libthread-db".
+ * main.c (captured_main): Rename gdbpy_global_auto_load to
+ global_auto_load. Initialize AUTO_LOAD_LOCAL_GDBINIT_PATHNAME and
+ AUTO_LOAD_LOCAL_GDBINIT_LOADED.
+ (print_gdb_help): Extend the help for 'local init file'.
+ * python/py-auto-load.c: Remove a comment about gdb scripts extension.
+ (GDBPY_AUTO_SECTION_NAME): Extend the comment it is Python specific.
+ (auto_load_scripts): Rename to ...
+ (auto_load_python_scripts): ... here, update the comment.
+ (gdbpy_load_auto_script_for_objfile): New declaration.
+ (show_auto_load_python_scripts, script_language_python)
+ (gdbpy_load_auto_script_for_objfile): New.
+ (source_section_scripts): Refactor the code.
+ (load_auto_scripts_for_objfile): Rename to ...
+ (gdbpy_load_auto_scripts_for_objfile): ... here, update the
+ auto_load_objfile_script caller, drop GDBPY_GLOBAL_AUTO_LOAD checking.
+ (info_auto_load_python_scripts): New.
+ (gdbpy_initialize_auto_load): New variables cmd and cmd_name.
+ Rename "set auto-load-scripts" to "set auto-load python-scripts".
+ Register "set auto-load-scripts" as its deprecated alias. Register
+ "info auto-load python-scripts". Register "info auto-load-scripts" as
+ its deprecated alias.
+ (load_auto_scripts_for_objfile): Rename to ...
+ (gdbpy_load_auto_scripts_for_objfile): ... here.
+ * python/python.h (load_auto_scripts_for_objfile): Rename to ...
+ (gdbpy_load_auto_scripts_for_objfile): ... here.
+
+2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ auto-load: Move files.
+ * Makefile.in (SFILES): Add auto-load.c.
+ (HFILES_NO_SRCDIR): Add auto-load.h.
+ (COMMON_OBS): Add auto-load.o.
+ (distclean): Change .gdbinit for gdb-gdb.gdb.
+ * auto-load.c: New file, with parts from python/py-auto-load.c.
+ * auto-load.h: New file, with parts from python/python.h.
+ * configure: Regenerate.
+ * configure.ac (AC_OUTPUT): Change .gdbinit for gdb-gdb.gdb.
+ * gdb-gdb.gdb.in: New file, renamed from gdbinit.in.
+ * gdbinit.in: Remove file, rename it to gdb-gdb.gdb.in.
+ * main.c: Include auto-load.h.
+ * python/py-auto-load.c: Move include filenames.h, gdb_regex.h,
+ command.h, observer.h and progspace.h to auto-load.c. Add include
+ auto-load.h.
+ (gdbpy_global_auto_load, struct auto_load_pspace_info)
+ (struct loaded_script, auto_load_pspace_data)
+ (auto_load_pspace_data_cleanup, get_auto_load_pspace_data)
+ (hash_loaded_script_entry, eq_loaded_script_entry)
+ (init_loaded_scripts_info, get_auto_load_pspace_data_for_loading)
+ (maybe_add_script): Move to auto-load.c.
+ (source_section_scripts): Change maybe_add_script parameters passing,
+ use script_not_found_warning_print.
+ (clear_section_scripts, auto_load_objfile_script)
+ (auto_load_new_objfile, loaded_script_ptr)
+ (DEF_VEC_P (loaded_script_ptr), collect_matching_scripts, print_script)
+ (sort_scripts_by_name, info_auto_load_scripts): Move to auto-load.c.
+ (gdbpy_initialize_auto_load): Move auto_load_pspace_data,
+ auto_load_new_objfile and info_auto_load_scripts initizations to
+ auto-load.c.
+ * python/python.h (gdbpy_global_auto_load): Move to auto-load.h.
+
+2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup.
+ * charset.c (find_charset_names): Remove variables ix and elt.
+ Use free_char_ptr_vec.
+ * elfread.c (build_id_to_debug_filename): New variables debugdir_vec,
+ back_to and ix. Use dirnames_to_char_ptr_vec. Remove variable
+ debugdir_end. New variable debugdir_len.
+ * gdb_vecs.h (free_char_ptr_vec, make_cleanup_free_char_ptr_vec)
+ (dirnames_to_char_ptr_vec_append, dirnames_to_char_ptr_vec): New
+ declarations.
+ * progspace.c (clear_program_space_solib_cache): Remove variables ix
+ and elt. Use free_char_ptr_vec.
+ * source.c (add_path): Remove variables argv, arg and argv_index.
+ New variables dir_vec, back_to, ix and name.
+ Use dirnames_to_char_ptr_vec_append. Use freeargv instead of
+ make_cleanup_freeargv. Remove variable separator. Simplify the code
+ no longer expecting DIRNAME_SEPARATOR.
+ (openp): Remove variable p, p1 and len. New variables dir_vec,
+ back_to, ix and dir. Use dirnames_to_char_ptr_vec. Simplify the code
+ no longer expecting DIRNAME_SEPARATOR.
+ * symfile.c (find_separate_debug_file): New variables debugdir_vec,
+ back_to and ix. Use dirnames_to_char_ptr_vec. Remove variable
+ debugdir_end.
+ * utils.c (free_char_ptr_vec, do_free_char_ptr_vec)
+ (make_cleanup_free_char_ptr_vec, dirnames_to_char_ptr_vec_append)
+ (dirnames_to_char_ptr_vec): New functions.
+
+2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup.
+ * source.c (add_path): Remove always true conditional 'p == 0' and
+ unindent its code block.
+
+2012-04-17 Pedro Alves <palves@redhat.com>
+
+ * gdbtypes.h (FIELD_BITPOS): Rename to ...
+ (FIELD_BITPOS_LVAL): ... this.
+ (FIELD_BITPOS): New.
+ (SET_FIELD_BITPOS): Adjust to use FIELD_BITPOS_LVAL.
+ * dwarf2read.c (dwarf2_add_field): Use SET_FIELD_BITPOS.
+ * gdbtypes.c (append_composite_type_field_aligned): Adjust to use
+ SET_FIELD_BITPOS.
+ * gnu-v3-abi.c (build_gdb_vtable_type): Adjust to use
+ SET_FIELD_BITPOS.
+ * stabsread.c (read_cpp_abbrev, read_one_struct_field)
+ (read_baseclasses): Adjust to use SET_FIELD_BITPOS.
+ * target-descriptions.c (tdesc_gdb_type): Adjust to use
+ SET_FIELD_BITPOS.
+
+2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Do not rely on FIELD_LOC_KIND_BITPOS being zero.
+ * ada-lang.c (ada_template_to_fixed_record_type_1): Replace
+ TYPE_FIELD_BITPOS used as lvalue by SET_FIELD_BITPOS.
+ * gdbtypes.c (append_flags_type_flag): Likewise, twice.
+ * jv-lang.c (java_link_class_type): Likewise, once.
+ * stabsread.c (read_enum_type): Likewise.
+
+2012-04-16 Yao Qi <yao@codesourcery.com>
+
+ * common/agent.c (agent_run_command): Add one more parameter `len'.
+ Update callers.
+ * common/agent.h: Update declaration.
+ * linux-nat.c (linux_child_static_tracepoint_markers_by_strid):
+ Update.
+ (linux_child_static_tracepoint_markers_by_strid): Ditto.
+
+2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
+
+ PR mi/13393
+ * value.c (value_actual_type): New function.
+ * value.h (value_actual_type): New declaration.
+ * varobj.c (update_type_if_necessary): New function.
+ (varobj_create): Call value_actual_type instead of
+ value_type.
+ (install_dynamic_child): distinct changed and type changed MI variable
+ objects.
+ (update_dynamic_varobj_children): Updated for install_dynamic_child
+ change. All callers updated.
+ (varobj_update): Support for MI variable object type change if
+ the value changed and RTTI is used to determine the type.
+ (create_child_with_value): Call value_actual_type instead of
+ value_type.
+ (adjust_value_for_child_access): Extended with a new parameter which
+ specify whether the given value should be casted to enclosing type.
+ All callers updated.
+
+2012-04-14 Yao Qi <yao@codesourcery.com>
+
+ Import gnulib module inttypes from git
+ (250b80067c1e1d8faa0c42fb572f721975b929c5)
+ * Makefile.in (HFILES_NO_SRCDIR): Add gnulib/inttypes.in.h.
+ (aclocal_m4_deps): Add gnulib/m4/inttypes.m4 and gnulib/m4/inttypes-pri.m4
+ * aclocal.m4, config.in, configure: Regenerated.
+ * gnulib/Makefile.am: Update.
+ * gnulib/Makefile.in: Update.
+ * gnulib/m4/gnulib-cache.m4: Update.
+ * gnulib/m4/gnulib-comp.m4: Update.
+ * gnulib/inttypes.in.h: New.
+ * gnulib/m4/inttypes-pri.m4: New.
+ * gnulib/m4/inttypes.m4: New.
+
+2012-04-13 Luis Machado <lgustavo@codesourcery.com>
+
+ * infrun.c (resume): Update PC address to the real PC after
+ preparing to do displaced stepping.
+
+2012-04-12 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (lookup_signatured_type): Remove arg "objfile", unused.
+ All callers updated.
+
+2012-04-12 Mark Kettenis <kettenis@gnu.org>
+
+ * i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype.
+
+2012-04-12 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (create_all_type_units): Renamed from
+ create_debug_types_hash_table. All callers updated.
+
+ * dwarf2read.c (create_signatured_type_table_from_index): Rename
+ local type_sig to sig_type, type_offset to type_offset_in_tu.
+ (hash_signatured_type): Renamed from hash_type_signature,
+ all callers updated.
+ (eq_signatured_type): Renamed from eq_type_signature,
+ all callers updated.
+ (create_debug_types_hash_table): Rename local type_sig to sig_type.
+ (process_enumeration_scope): Ditto.
+ (lookup_signatured_type_at_offset): Ditto.
+ (load_full_type_unit, read_signatured_type): Ditto.
+
+2012-04-12 Yao Qi <yao@codesourcery.com>
+
+ * remote.c (async_remote_interrupt): Correct function name in
+ debug message.
+ (async_remote_interrupt_twice): Ditto.
+
+2012-04-11 Yuanhui Zhang <asmwarrior@gmail.com>
+
+ * source.c (find_and_open_source): Consistently pass resulting
+ full path through xfullpath.
+
+2012-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Provide more specific displaced-stepping memory error message.
+ * infrun.c (displaced_step_prepare): New variable status. Call
+ target_read_memory instead of read_memory, provide more specific
+ error message.
+
+2012-04-11 Tristan Gingold <gingold@adacore.com>
+
+ PR gdb/13901
+ * darwin-nat.c (darwin_execvp): Revert previous patch.
+
+2012-04-11 Tristan Gingold <gingold@adacore.com>
+
+ PR gdb/13901
+ * darwin-nat.c (darwin_resume_thread): Call darwin_set_sstep only
+ in case of change.
+
+2012-04-11 Tristan Gingold <gingold@adacore.com>
+
+ * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix
+ warning.
+
+2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
+
+ New command 'explore' which helps explore values and types in
+ scope.
+ * NEWS: Add an entry about the new 'explore' command.
+ * data-directory/Makefile.in: Add gdb/command/explore.py
+ * python/lib/gdb/command/explore.py: Implemention of the 'explore'
+ command using the GDB Python API.
+
+2012-04-10 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * mips-tdep.c (mips_skip_pic_trampoline_code): Correct sign
+ extension in jump target calculation.
+
+2012-04-10 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * mips-tdep.c (mips32_next_pc): Handle JALX.
+
+2012-04-10 Yao Qi <yao@codesourcery.com>
+
+ * Makefile.in (gnulib/Makefile): Remove duplicated dependency.
+
+2012-04-10 Yao Qi <yao@codesourcery.com>
+
+ * Makefile.in (aclocal_m4_deps): Add gnulib/m4/gnulib-cache.m4
+ and gnulib/m4/gnulib-tool.m4.
+
+2012-04-10 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (dwarf2_per_cu_data). Clarify comment.
+ (load_partial_dies): Clarify comment.
+ (find_partial_die): Support rereading type units.
+ Clarify CU handling, if we know offset is in CU, don't search for the
+ containing CU. Add comment regarding memory waste.
+
+2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ * features/Makefile (WHICH): Add i386/x32, i386/x32-linux,
+ i386/x32-avx and i386/x32-avx-linux.
+ (i386/x32-expedite): New.
+ (i386/x32-linux-expedite): Likewise.
+ (i386/x32-avx-expedite): Likewise.
+ (i386/x32-avx-linux-expedite): Likewise.
+ ($(outdir)/i386/x32.dat): Likewise.
+ ($(outdir)/i386/x32-linux.dat): Likewise.
+ ($(outdir)/i386/x32-avx.dat): Likewise.
+ ($(outdir)/i386/x32-avx-linux.dat): Likewise.
+
+ * features/i386/x32-avx-linux.xml: New file.
+ * features/i386/x32-avx.xml: Likewise.
+ * features/i386/x32-core.xml: Likewise.
+ * features/i386/x32-linux.xml: Likewise.
+ * features/i386/x32.xml: Likewise.
+
+ * features/i386/x32-avx-linux.c: New. Generated.
+ * features/i386/x32-avx.c: Likewise.
+ * features/i386/x32-linux.c: Likewise.
+ * features/i386/x32.c: Likewise.
+ * regformats/i386/x32-avx-linux.dat: Likewise.
+ * regformats/i386/x32-avx.dat: Likewise.
+ * regformats/i386/x32-linux.dat: Likewise.
+ * regformats/i386/x32.dat: Likewise.
+
+2012-04-10 Tristan Gingold <gingold@adacore.com>
+
+ * darwin-nat.c (darwin_kill_inferior): Always use the no ptrace
+ code to kill the inferior.
+
+2012-04-09 Mark Kettenis <kettenis@gnu.org>
+
+ * ada-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
+ defines.
+ * c-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
+ defines.
+ * cp-name-parser.y (yyss, yysslim, yyssp, yystacksize, yyvs)
+ (yyvsp): New defines.
+ * f-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
+ defines.
+ * jv-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
+ defines.
+ * m2-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
+ defines.
+ * objc-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
+ defines.
+ * p-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
+ defines.
+
+2012-04-09 Mark Kettenis <kettenis@gnu.org>
+
+ * sparc64-tdep.c (sparc64_store_arguments)
+ (sparc64_store_arguments): Fix coding style.
+
+2012-04-07 Mark Kettenis <kettenis@gnu.org>
+
+ * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
+ complex floats, adjust some related comments and tighten a related
+ assertion.
+ (sparc64_extract_return_value): Handle complex floats.
+
+2012-04-07 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (load_partial_dies): Change condition to assert.
+
+2012-04-06 Doug Evans <dje@google.com>
+
+ * amd64-tdep.c (amd64_analyze_prologue): Recognize both variations of
+ "mov %rsp,%rbp".
+
+2012-04-05 Kevin Buettner <kevinb@redhat.com>
+
+ * v850-tdep.c (E_NUM_OF_V850_REGS, E_NUM_OF_V850E_REGS): Fix
+ fencepost error.
+ (v850_frame_cache): Use gdbarch_num_regs() instead of E_NUM_REGS.
+ (v850_gdbarch_init): Set `num_regs' as appropriate for the
+ architecture.
+
+2012-04-05 Keith Seitz <keiths@redhat.com>
+
+ * linespec.c (decode_compound): Remove.
+ (enum offset_relative_sign): New enum.
+ (struct line_offset): New struct.
+ (struct linespec): New struct.
+ (struct linespec_state): Move file_symtabs,
+ user_filename, and user_function into struct linespec.
+ Make result an anonymous struct holding vectors of
+ symbolp and minsym_and_objfile_d.
+ Add language member.
+ (enum ls_token_type): New enum.
+ (linespec_keywords): New array.
+ (struct ls_token): New struct.
+ (struct ls_parser): New struct.
+ (linespec_lexer_lex_number): New function.
+ (linespec_lexer_lex_keyword): New function.
+ (is_ada_operator): New function.
+ (skip_quote_char): New function.
+ (copy_token_string): New function.
+ (is_closing_quote_enclosed): New function.
+ (find_parameter_list_end): New function.
+ (linespec_lexer_lex_string): New function.
+ (linespec_lexer_lex_one): New function.
+ (linespec_lexer_consume_token): New function.
+ (linespec_lexer_peek_token): New function.
+ (cplusplus_error): Remove unused function.
+ (find_methods): Update comment.
+ (find_toplevel_char): Return const.
+ (is_objc_method_format): Remove unused function.
+ (find_toplevel_string): New function.
+ (is_linespec_boundary): Remove.
+ (symbol_not_found_error): New function.
+ (find_method_overload_end): Remove function.
+ (unexpected_linespec_error): New function.
+ (keep_name_info): Remove.
+ (linespec_parse_line_offset): New function.
+ (linespec_parse_basic): New function.
+ (canonicalize_linespec): New function.
+ (decode_line_internal): Remove.
+ (create_sals_line_offset): New function adapted from
+ decode_all_digits.
+ (convert_linespec_to_sals): New function.
+ (parse_linespec): New function.
+ (linespec_parser_new): New function.
+ (linespec_state_destructor): Change parameter type to
+ struct linespec_state *.
+ Add language parameter.
+ Remove freeing of moved members.
+ (linespec_parser_delete): New function.
+ (decode_line_full): Use parse_linespec and linespec_parser_new.
+ (decode_line_1): Likewise.
+ (decode_indirect): Rename to ...
+ (linespec_expression_to_pc): ... this and rewrite
+ to simply find CORE_ADDR, storing this result for later
+ conversion to SALs.
+ (locate_first_half): Remove.
+ (deocde_objc): Add parameter LS.
+ Initialize new struct collect_info members.
+ Handle minimal symbols, too.
+ (decode_compound): Delete.
+ (lookup_prefix_sym): Rewrite.
+ (compare_msymbols): New function.
+ (find_method): Rewrite.
+ Do not call cplusplus_error.
+ (symtabs_from_filename): Rewrite.
+ (collect_function_symbols): Delete.
+ (find_function_symbols): Rewrite without ARGPTR-style
+ processing.
+ (decode_all_digits): Delete. (Rewritten as create_sals_line_offset.)
+ (decode_dollar): Adapted and renamed to ...
+ (linespec_parse_variable): ... this.
+ (find_linespec_symbols): New function.
+ (decode_label): Adapted and renamed to ...
+ (find_label_symbols): ... this.
+ (decode_digits_list_mode): Add and use LS argument.
+ (decode_digits_ordinary): Likewise.
+ (collect_symbols): Do not collect SALs, just symbols and msymbols.
+ If in list mode, allow any symbol class. Otherwise, only
+ permit LOC_BLOCK symbols.
+ (minsym_found): Update comments.
+ (search_minsyms_for_name): Do not convert the matching symbol
+ into a SAL. Simply push the symbol and objfile into the
+ result vector.
+ (decode_variable): Delete. Contents adapted into
+ find_linespec_symbols.
+
+ * cp-support.c (SKIP_SPACE): Remove.
+ (operator_tokens): Remove unused global.
+ (cp_validate_operator): Remove.
+ * cp-support.h (cp_validate_operator): Remove declaration.
+
+2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * cp-valprint.c (cp_print_value_fields): Check valprint_check_validity
+ for TYPE_VPTR_FIELDNO.
+ * valprint.c (valprint_check_validity): Make it global, move the
+ function comment ...
+ * value.h (valprint_check_validity): ... to this new declaration.
+
+2012-04-02 Tristan Gingold <gingold@adacore.com>
+
+ * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Use
+ the STATE32 api for i386 state.
+ (i386_darwin_store_inferior_registers): Likewise.
+
+2012-04-02 Tristan Gingold <gingold@adacore.com>
+
+ * i386-darwin-tdep.c (i386_darwin_thread_state_reg_offset): Fix
+ SS offset.
+ * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix
+ format_string.
+
+2012-04-02 Tristan Gingold <gingold@adacore.com>
+
+ PR gdb/13901
+ * darwin-nat.c (darwin_execvp): Set binary preference.
+
+2012-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * NEWS (set breakpoint condition-evaluation): Use imperative mood.
+
+2012-03-30 Tom Tromey <tromey@redhat.com>
+
+ * python/python.c (gdbpy_decode_line): Move cleanup creation out
+ of TRY_CATCH. Fix error handling.
+ * python/py-value.c (convert_value_from_python): Move 'old'
+ declaration to innermost scope.
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
+ Andrey Smirnov <andrew.smirnov@gmail.com>
+
+ -Wshadow warning fix.
+ * ada-lang.c (ada_make_symbol_completion_list): Rename parameters
+ "wild_match" and "encoded" into "wild_match_p" and "encoded_p".
+ Adjust code accordingly.
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (symbol_completion_add): Rename parameter
+ "encoded" into "encoded_p". Ajust code and documentation
+ accordingly.
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
+ Andrey Smirnov <andrew.smirnov@gmail.com>
+
+ -Wshadow warning fix.
+ * ada-lang.c (symbol_completion_add): Rename parameter
+ "wild_match" into wild_match_p. Update code and documentation
+ accordingly.
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (symbol_completion_match): Rename parameter
+ "encoded" into "encoded_p". Ajust code and documentation
+ accordingly.
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
+ Andrey Smirnov <andrew.smirnov@gmail.com>
+
+ -Wshadow warning fix.
+ * ada-lang.c (symbol_completion_match): Rename parameter
+ "wild_match" into "wild_match_p". Adjust code and function
+ documentation accordingly.
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
+ Andrey Smirnov <andrew.smirnov@gmail.com>
+
+ -Wshadow warning fix.
+ * ada-lang.c (ada_lookup_encoded_symbol): Rename parameter
+ "symbol_info" into "info". Adjust code accordingly.
+ (ada_lookup_symbol): Likewise.
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_lookup_symbol_list): Minor reformatting
+ of this function's documentation.
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
+ Andrey Smirnov <andrew.smirnov@gmail.com>
+
+ -Wshadow warning fix.
+ * ada-lang.c (ada_lookup_symbol_list): Rename "wild_match"
+ variable into "wild_match_p". Adjust code accordingly.
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
+ Andrey Smirnov <andrew.smirnov@gmail.com>
+
+ -Wshadow warning fix.
+ * ada-lang.c (ada_add_local_symbols): Rename "wild_match"
+ parameter into "wild_match_p". Adjust code accordingly.
+ Document this parameter in the function description.
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
+ Andrey Smirnov <andrew.smirnov@gmail.com>
+
+ -Wshadow warning fix.
+ * ada-lang.c (add_symbols_from_enclosing_procs): Rename
+ "wild_match" parameter to "wild_match_p" (-Wshadow).
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_lookup_simple_minsym): Remove trailing spaces
+ in function documentation.
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
+ Andrey Smirnov <andrew.smirnov@gmail.com>
+
+ -Wshadow warning fix.
+ * ada-lang.c (ada_lookup_simple_minsym): Rename wild_match local
+ variable into wild_match_p. Adjust code accordingly.
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
+ Andrey Smirnov <andrew.smirnov@gmail.com>
+
+ * ada-valprint.c (ada_val_print_1): Move the code handling
+ TYPE_CODE_ENUM inside its own lexical block. Declare
+ variables len and val there, instead of in the function's
+ top level block. Avoid declaring deref_val again in a way
+ that shadows another variable of the same name declared
+ in one of the up-level blocks. Just re-use the up-level
+ variable instead.
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_lookup_encoded_symbol): Now returns void.
+ Replace block_found argument by symbol_info. Adjust
+ implementation accordingly. Add function documentation.
+ (ada_lookup_symbol): Adjust to new ada_lookup_encoded_symbol.
+ Fix documentation.
+ * ada-lang.h (ada_lookup_encoded_symbol): Update declaration.
+ * ada-exp.y (write_object_renaming): Adjust to new
+ ada_lookup_encoded_symbol API.
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.h (struct ada_symbol_info): Reformat. Improve
+ documentation.
+
+2012-03-28 Rathish C <rathish.c@kpitcummins.com>
+
+ * v850-tdep.c: Add the enum values for mpu and fpu registers.
+ (v850_register_name): Add the mpu and fpu register names.
+ (v850e_register_name): Add the mpu and fpu register names.
+ (v850e2_register_name): New function.
+ (v850_gdbarch_init): Add case for bfd_mach_v850e2 and
+ bfd_mach_v850e2v3.
+
+2012-03-28 Joel Brobecker <brobecker@adacore.com>
+
+ * NEWS: Add entry for Ada varobj support.
+
+2012-03-28 Joel Brobecker <brobecker@adacore.com>
+
+ * varobj.c (default_value_is_changeable_p): New function,
+ extracted from varobj_value_is_changeable_p. Add declaration.
+ (ada_value_is_changeable_p): New function, extracted from
+ varobj_value_is_changeable_p. Add declaration.
+ (struct language_specific): New field "value_is_changeable_p".
+ (languages): Add entries for new field.
+ (varobj_create): Set language before calling install_new_value.
+ (varobj_value_is_changeable_p): Reimplement to call the varobj's
+ "value_is_changeable_p" language callback.
+
+2012-03-28 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-varobj.h, ada-varobj.c: New files.
+ * Makefile.in (SFILES): Add ada-varobj.c.
+ (HFILES_NO_SRCDIR): Add ada-varobj.h.
+ (COMMON_OBS): Add ada-varobj.o.
+
+2012-03-28 Joel Brobecker <brobecker@adacore.com>
+
+ * varobj.c (ada_value_has_mutated): Add declaration. New function.
+ (struct language_specific): New field "value_has_mutated".
+ (languages): Set field "value_has_mutated" in each entry of array.
+ (varobj_value_has_mutated): New function.
+ (varobj_udpdate): Add handling of type mutation.
+ (value_of_root): Add handling of type mutation.
+ (ada_value_has_mutated): New function.
+
+2012-03-28 Pedro Alves <palves@redhat.com>
+
+ * ia64-linux-nat.c (supply_fpregset, ia64_linux_fetch_register):
+ Always supply $fr0 as 0.0 and $fr1 as 1.0.
+
+2012-03-28 Tom Tromey <tromey@redhat.com>
+
+ * python/py-inferior.c (infpy_read_memory): Remove cleanups and
+ explicitly free 'buffer' on exit paths. Decref 'membuf_object'
+ before returning.
+
+2012-03-28 Tom Tromey <tromey@redhat.com>
+
+ * .dir-locals.el: New file.
+
+2012-03-28 Pedro Alves <palves@redhat.com>
+
+ * ia64-linux-nat.c (u_offsets): Map IA64_EC_REGNUM to PT_AR_EC.
+
+2012-03-28 Joel Brobecker <brobecker@adacore.com>
+
+ * ia64-linux-nat.c (ia64_linux_fetch_register): Add special
+ handling for r0.
+
+2012-03-27 Pedro Alves <palves@redhat.com>
+
+ Eliminate struct ui_stream.
+
+ * ui-out.h (struct ui_stream): Delete.
+ (ui_out_field_stream): Adjust prototype.
+ (ui_out_stream_new, ui_out_stream_delete)
+ (make_cleanup_ui_out_stream_delete): Delete declarations.
+ * ui-out.c (ui_out_field_stream): Change prototype to take a
+ ui_file instead of a ui_stream. Adjust.
+ (ui_out_stream_new, ui_out_stream_delete, do_stream_delete)
+ (make_cleanup_ui_out_stream_delete): Delete.
+ * breakpoint.c (print_breakpoint_location)
+ (print_one_detail_ranged_breakpoint, print_it_watchpoint): Use
+ ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new.
+ * disasm.c (dump_insns): Ditto.
+ (do_mixed_source_and_assembly, do_assembly_only): Adjust
+ prototype.
+ (gdb_disassembly): Use ui_file/mem_fileopen instead of
+ ui_stream/ui_out_stream_new.
+ * infcmd.c (print_return_value): Ditto.
+ * osdata.c (info_osdata_command): Don't allocate a local
+ ui_stream.
+ * stack.c (print_frame_arg, print_frame_args, print_frame): Use
+ ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new.
+ * tracepoint.c (print_one_static_tracepoint_marker): Don't
+ allocate a local ui_stream.
+ * mi/mi-cmd-stack.c (list_arg_or_local): Use ui_file/mem_fileopen
+ instead of ui_stream/ui_out_stream_new.
+ (list_args_or_locals): Don't allocate a local ui_stream.
+ * mi/mi-main.c (get_register, mi_cmd_data_evaluate_expression)
+ (mi_cmd_data_read_memory): Use ui_file/mem_fileopen instead of
+ ui_stream/ui_out_stream_new.
+ * cli/cli-setshow.c (do_setshow_command): Ditto.
+
+2012-03-27 Oza Pawandeep <oza.pawandeep@gmail.com>
+
+ * arm-linux-tdep.c (arm_linux_init_abi): Call
+ set_gdbarch_process_record. Initialize `arm_swi_record' field.
+ * arm-tdep.c (arm_process_record): New function.
+ (deallocate_reg_mem): New function.
+ (decode_insn): New function.
+ (thumb_record_branch): New function.
+ (thumb_record_ldm_stm_swi(): New function.
+ (thumb_record_misc): New function.
+ (thumb_record_ld_st_stack): New function.
+ (thumb_record_ld_st_imm_offset): New function.
+ (thumb_record_ld_st_reg_offset(): New function.
+ (thumb_record_add_sub_cmp_mov): New function.
+ (thumb_record_shift_add_sub): New function.
+ (arm_record_coproc_data_proc): New function.
+ (arm_record_coproc): New function.
+ (arm_record_b_bl): New function.
+ (arm_record_ld_st_multiple): New function.
+ (arm_record_ld_st_reg_offset): New function.
+ (arm_record_ld_st_imm_offset): New function.
+ (arm_record_data_proc_imm): New function.
+ (arm_record_data_proc_misc_ld_str): New function.
+ (arm_record_extension_space): New function.
+ (arm_record_strx): New function.
+ (sbo_sbz): New function.
+ (struct insn_decode_record): New structure for arm insn record.
+ (REG_ALLOC): New macro for reg allocations.
+ (MEM_ALLOC): New macro for memory allocations.
+ * arm-tdep.h (struct gdbarch_tdep): New field 'arm_swi_record'.
+
+2012-03-27 Andreas Schwab <schwab@linux-m68k.org>
+
+ * m68klinux-nat.c (fetch_register): Fix strict-aliasing violation.
+ (store_register): Likewise.
+
+2012-03-26 Oza Pawandeep <oza.pawandeep@gmail.com>
+
+ * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2012-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * NEWS (set breakpoint condition-evaluation): Change "gdb" to "host".
+ Describe also the option "auto".
+
+2012-03-22 Richard Henderson <rth@redhat.com>
+
+ * sparc-linux-nat.c (_initialize_sparc_linux_nat): Fix prototype.
+ * sparc-nat.c (sparc_xfer_wcookie): Make static.
+
+2012-03-22 Richard Henderson <rth@redhat.com>
+
+ * jit.c (jit_read_code_entry): Compute alignment and offset of
+ int64_t member before computing entry_size.
+
+2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
+
+ Python scripting: Add new method Value.referenced_value to
+ gdb.Value which can dereference pointer as well as reference
+ values.
+ * NEWS: Add entry under 'Python scripting' about the new method
+ Value.referenced_value on gdb.Value objects.
+ * python/py-value.c (valpy_referenced_value): New function
+ defining a new method on gdb.Value objects which can dereference
+ pointer and reference values.
+
2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
* MAINTAINERS (Write After Approval): Add myself to the list.