+2012-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
+
+ * corefile.c (read_memory, read_stack, write_memory): Accept LEN
+ argument as ssize_t.
+ * gdbcore.h (read_memory, read_stack, write_memory): Likewise.
+ * remote.c (remote_write_bytes_aux, remote_write_bytes): Likewise.
+ * target.c (target_read_stack, target_write_memory)
+ (target_write_raw_memory): Likewise.
+ * target.h (target_read_stack, target_write_memory)
+ (target_write_raw_memory): Likewise.
+
+2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * symfile-mem.c: Change gdb_static_assert to ssize_t.
+ (target_read_memory_bfd): Cast gdb_assert LEN to ssize_t.
+ * target.c (target_read_memory): Change LEN to ssize_t.
+ * target.h (target_read_memory): Change LEN to ssize_t.
+
+2012-06-05 Pedro Alves <palves@redhat.com>
+
+ PR backtrace/13866
+
+ * breakpoint.c (until_break_command): Only fetch the selected
+ frame after decode_line_1.
+
+2012-06-05 Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
+
+ * solib-svr4.c (enable_break): Don't fallback to setting the solib
+ event breakpoint at _start, __start or main if a program
+ interpreter is not found.
+
+2012-06-05 Joel Brobecker <brobecker@adacore.com>
+
+ * windows-tdep.h (windows_iterate_over_objfiles_in_search_order):
+ Add declaration.
+ * windows-tdep.c: #include "objfiles.h".
+ (windows_iterate_over_objfiles_in_search_order): New function.
+ * amd64-windows-tdep.c (amd64_windows_init_abi): Set
+ iterate_over_objfiles_in_search_order gdbarch method to
+ windows_iterate_over_objfiles_in_search_order.
+ * i386-cygwin-tdep.c (i386_cygwin_init_abi): Likewise.
+
+2012-06-05 Joel Brobecker <brobecker@adacore.com>
+
+ * gdbarch.sh: Add generation of
+ "iterate_over_objfiles_in_search_order_cb_ftype" typedef in
+ gdbarch.h. Add include of "objfiles.h" in gdbarch.c.
+ (iterate_over_objfiles_in_search_order): New gdbarch method.
+ * gdbarch.h, gdbarch.c: Regenerate.
+ * objfiles.h (default_iterate_over_objfiles_in_search_order):
+ Add declaration.
+ * objfiles.c (default_iterate_over_objfiles_in_search_order):
+ New function.
+ * symtab.c (lookup_symbol_aux_objfile): New function, extracted
+ out of lookup_symbol_aux_symtabs.
+ (lookup_symbol_aux_symtabs): Replace extracted-out code by
+ call to lookup_symbol_aux_objfile.
+ (struct global_sym_lookup_data): New type.
+ (lookup_symbol_global_iterator_cb): New function.
+ (lookup_symbol_global): Search for symbol using
+ gdbarch_iterate_over_objfiles_in_search_order and
+ lookup_symbol_global_iterator_cb.
+ * findvar.c (struct minsym_lookup_data): New type.
+ (minsym_lookup_iterator_cb): New function.
+ (default_read_var_value) [case LOC_UNRESOLVED]: Resolve the
+ symbol's address via gdbarch_iterate_over_objfiles_in_search_order
+ and minsym_lookup_iterator_cb.
+
+2012-06-05 Joel Brobecker <brobecker@adacore.com>
+
+ Revert the following patch:
+ * findvar.c (default_read_var_value): For LOC_UNRESOLVED symbols,
+ try locating the symbol in the symbol's own objfile first, before
+ extending the search to all objfiles.
+ * symtab.c (lookup_symbol_aux_objfile): New function, extracted
+ out of lookup_symbol_aux_symtabs.
+ (lookup_symbol_aux_symtabs): Add new parameter "exclude_objfile".
+ Replace extracted-out code by call to lookup_symbol_aux_objfile.
+ Do not search EXCLUDE_OBJFILE.
+ (lookup_static_symbol_aux): Update call to lookup_symbol_aux_symtabs.
+ (lookup_symbol_global): Search for matches in the block's objfile
+ first, before searching all other objfiles.
+
+2012-06-05 Joel Brobecker <brobecker@adacore.com>
+
+ * breakpoint.c (find_condition_and_thread): Stop parsing
+ as soon as the first invalid keyword is found.
+
+2012-06-05 Joel Brobecker <brobecker@adacore.com>
+
+ * copyright.py (EXCLUDE_LIST): Add 'gdb/CONTRIBUTE' to list.
+
+2012-06-05 Joel Brobecker <brobecker@adacore.com>
+
+ * config/djgpp/djcheck.sh: Add copyright header.
+
+2012-06-05 Joel Brobecker <brobecker@adacore.com>
+
+ * copyright.py (update_files, main): Fix path to update-copyright
+ script.
+
+2012-06-05 Joel Brobecker <brobecker@adacore.com>
+
+ * copyright.py (MULTIPLE_COPYRIGHT_HEADERS): New constant.
+ (main): Add MULTIPLE_COPYRIGHT_HEADERS to the list of files
+ for which a reminder to update by hand is printed.
+
+2012-06-04 Doug Evans <dje@google.com>
+
+ * buildsym.c (make_blockvector): Add comment.
+
+2012-06-04 Pedro Alves <palves@redhat.com>
+
+ * arch-utils.c (default_gdb_signal_from_target): Delete.
+ * arch-utils.h (default_gdb_signal_from_target): Delete.
+ * corelow.c (core_open) <signal mapping>: Extended comment. Check
+ gdbarch_gdb_signal_from_target_p.
+ * gdbarch.sh (gdb_signal_from_target): Make it an M method (with
+ predicate).
+ * gdbarch.h: Regenerate.
+ * gdbarch.c: Regenerate.
+
+2012-06-04 Pedro Alves <palves@redhat.com>
+
+ * gdbarch.sh (gdb_signal_from_target): Mention that the
+ implementation of the method must be host independent.
+ * gdbarch.h: Regenerate.
+
+2012-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * symfile-mem.c: 3 new gdb_static_assert for target_read_memory_bfd
+ parameters.
+ (target_read_memory_bfd): New function.
+ (symbol_file_add_from_memory): Use it.
+
+2012-06-03 Doug Evans <dje@google.com>
+
+ * symtab.c (lookup_global_symbol_from_objfile): Only scan blockvector
+ of primary symtab.
+ (basic_lookup_transparent_type): Ditto.
+
+ * objfiles.h (ALL_OBJFILE_PRIMARY_SYMTABS): New macro.
+ (ALL_PRIMARY_SYMTABS): Use it.
+ (ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
+ * dwarf2read.c (dw2_find_symbol_file): Ditto.
+ * linespec.c (iterate_over_all_matching_symtabs): Ditto.
+ * symtab.c (lookup_symbol_aux_objfile): Ditto.
+ (basic_lookup_transparent_type): Ditto.
+
+2012-06-02 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * symtab.c (symbol_demangled_name): New variable `dem_name'. Use
+ it to optimize resolution of demangled name.
+
+2012-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * configure.ac (development): Define new variable.
+ Call AC_CHECK_LIB for mcheck if $development.
+ (ERROR_ON_WARNING): Enable it by default only if $development.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+
+2012-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
+
+ * target.c (target_read_memory): Make LEN argument as size_t.
+ * target.h (target_read_memory): Likewise.
+
+2012-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * tilegx-linux-tdep.c (tilegx_l): Use ULL for 64-bit values.
+
+2012-05-31 Edjunior Machado <emachado@linux.vnet.ibm.com>
+
+ * ppc-linux-nat.c (have_ptrace_booke_interface): Disable ptrace
+ BookE interface for PowerPC server processors if not available
+ in the Linux Kernel.
+
+2012-05-31 Keith Seitz <keiths@redhat.com>
+
+ * linespec.c (decode_objc): Add cleanup to free
+ INFO.FILE_SYMTABS.
+ (find_linespec_symbols): Add cleanup to free CLASSES.
+ * symfile.c (find_separate_debug_file_by_debuglink): Add
+ cleanup to free DEBUGLINK.
+ * ui-out.c (clear_header_list): No need to check if
+ HEADER_NEXT.COLHDR is NULL.
+ Free HEADER_NEXT.COL_NAME.
+
+2012-05-31 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
+
+ * ada-lang.c (standard_lookup): Prevent uninitialized variable
+ warning.
+
+2012-05-30 Jeff Kenton <jkenton@tilera.com>
+
+ * configure.host (gdb_host_cpu): Handle tilegx*.
+ (gdb_host): Handle tilegx-*-linux*.
+ * tilegx-linux-nat.c: New file.
+ * config/tilegx/linux.mh: New file.
+
+2012-05-30 Jeff Kenton <jkenton@tilera.com>
+
+ * Makefile.in (ALL_TARGET_OBJS): Add tilegx-tdep.o and
+ tilegx-linux-tdep.o.
+ (ALLDEPFILES): Add tilegx-linux-nat.c, tilegx-tdep.c and
+ tilegx-linux-tdep.c.
+ * configure.tgt: Handle tilegx-*-linux*.
+ * tilegx-tdep.h: New file.
+ * tilegx-tdep.c: New file.
+ * tilegx-linux-tdep.c: New file.
+ * regformats/reg-tilegx.dat: New file.
+
+2012-05-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
+
+ * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): fix
+ accounting of hw watchpoints on ppc.
+
+2012-05-30 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
+
+ * source.c (openp): Expand tilde in path entries.
+
+2012-05-29 Doug Evans <dje@google.com>
+
+ * buildsym.c (block_compar): Fix comment.
+ (end_symtab): Fix and clarify some comments.
+
+ * stabsread.h (cleanup_undefined_stabs_types): Renamed from
+ cleanup_undefined_types.
+ * stabsread.c (cleanup_undefined_stabs_types): Ditto.
+ All callers updated.
+
+2012-05-29 Tom Tromey <tromey@redhat.com>
+
+ * symfile.c (symfile_bfd_open): Don't close desc if bfd_fopen
+ fails.
+ * solib.c (solib_bfd_fopen): Don't close fd if bfd_fopen fails.
+ * exec.c (exec_file_attach): Don't close scratch_chan if bfd_fopen
+ fails.
+ * dwarf2read.c (try_open_dwo_file): Don't close fd if bfd_fopen
+ fails.
+
+2012-05-29 Tristan Gingold <gingold@adacore.com>
+
+ * solib-darwin.c (dyld_all_image_addr, dyld_all_image): Move into...
+ (struct darwin_info): ... New struct.
+ (solib_darwin_pspace_data): New variable.
+ (darwin_pspace_data_cleanup): New function.
+ (get_darwin_info): Likewise.
+ (darwin_dyld_version_ok, darwin_load_image_infos)
+ (darwin_solib_get_all_image_info_addr_at_init)
+ (darwin_solib_read_all_image_info_addr): Add info argument.
+ Adjust code.
+ (darwin_current_sos): Use per pspace structure.
+ (darwin_solib_create_inferior_hook): Likewise.
+ (darwin_clear_solib): Likewise.
+ (_initialize_darwin_solib): Initialize solib_darwin_pspace_data.
+
+2012-05-28 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (wait_for_inferior): Move ecss and ecs locals to the
+ block that uses them. Clear ecss before handling each event.
+
+2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * solib-svr4.c (svr4_current_sos): New comment on
+ svr4_current_sos_via_xfer_libraries fall back.
+
+2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * psymtab.c (lookup_symbol_aux_psymtabs): New variable stab_best. Use
+ it as a fallback for TYPE_IS_OPAQUE.
+ * symfile.h (struct quick_symbol_functions): Mention TYPE_OPAQUE
+ symbols for lookup_symbol.
+
+2012-05-24 John Steele Scott <toojays@toojays.net>
+
+ PR symtab/13277: Resolving opaque structures in ICC generated binaries.
+ * dwarf2read.c (struct dwarf2_cu) <producer_is_icc>: New field.
+ (producer_is_gxx_lt_4_6): Move the checking and caching to...
+ (check_producer): ... this new function, which also checks for ICC
+ and caches the result.
+ (producer_is_icc): New function.
+ (read_structure_type): Don't set TYPE_STUB_SUPPORTED if the
+ producer was ICC.
+
+2012-05-24 Pedro Alves <palves@redhat.com>
+
+ PR gdb/7205
+
+ * arch-utils.c (default_gdb_signal_to_host): Rename to ...
+ (default_gdb_signal_to_target): ... this. Add comment.
+ (default_gdb_signal_from_host): Rename to ...
+ (default_gdb_signal_from_target): ... this. Add comment.
+ * arch-utils.h (default_gdb_signal_to_host): Rename to ...
+ (default_gdb_signal_to_target): ... this.
+ (default_gdb_signal_from_host): Rename to ...
+ (default_gdb_signal_from_target): ... this.
+ * corelow.c (core_open): Adjust to naming change. Replace comment.
+ * gdbarch.sh (gdb_signal_from_host): Rename to ...
+ (gdb_signal_from_target): ... this. Adjust to
+ default_gdb_signal_from_host naming change. Extend comment.
+ (gdb_signal_to_host): Rename to ...
+ (gdb_signal_to_target): ... this. Adjust to
+ default_gdb_signal_to_host naming change.
+ * gdbarch.h, gdbarch.c: Renegerate.
+
+2012-05-24 Pedro Alves <palves@redhat.com>
+
+ PR gdb/7205
+
+ Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
+
+2012-05-24 Pedro Alves <palves@redhat.com>
+
+ PR gdb/7205
+
+ Replace target_signal with gdb_signal throughout.
+
+2012-05-24 Pedro Alves <palves@redhat.com>
+
+ PR tui/14159
+
+ * tui/tui-hooks.c (tui_query_hook): Pre-compute the question
+ string, instead of reusing the va_list argument.
+
+2012-05-24 Tom Tromey <tromey@redhat.com>
+
+ * cp-support.h (cp_finalize_namespace, cp_initialize_namespace):
+ Remove.
+
+2012-05-23 Doug Evans <dje@google.com>
+
+ * symtab.c (search_symbols): Formatting fixes.
+ (print_symbol_info): Formatting fixes.
+
+ * dwarf2-frame.c (execute_cfa_program): Update to handle long long ->
+ int64_t change to leb128 API.
+ (read_encoded_value, decode_frame_entry_1): Ditto.
+ * dwarf2expr.c (safe_read_uleb128, safe_read_sleb128): Ditto.
+ (dwarf_block_to_dwarf_reg, dwarf_block_to_dwarf_reg_deref): Ditto.
+ (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): Ditto.
+ (execute_stack_op): Ditto.
+ * dwarf2expr.h (gdb_read_uleb128, gdb_read_sleb128): Ditto.
+ (safe_read_uleb128, safe_read_sleb128): Ditto.
+ * dwarf2loc.c (decode_debug_loc_dwo_addresses): Ditto.
+ (dwarf2_compile_expr_to_ax): Ditto.
+ (locexpr_describe_location_piece): Ditto.
+ (disassemble_dwarf_expression): Ditto.
+ (locexpr_describe_location_1): Ditto.
+
+2012-05-23 Stan Shebs <stan@codesourcery.com>
+ Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ * Makefile.in (SUBDIR_MI_OBS): Add mi-cmd-info.o.
+ (SUBDIR_MI_SRCS): Add mi-cmd-info.c.
+ (mi-cmd-info.o): New rule.
+ * osdata.h (info_osdata_command): New declaration.
+ * osdata.c (info_osdata_command): Change to non-static.
+ * mi/mi-cmds.h (mi_cmd_info_os): New declaration.
+ * mi/mi-cmds.c (mi_cmds): Add -info-os MI command.
+ * mi/mi-cmd-info.c: New file.
+
+2012-05-23 Doug Evans <dje@google.com>
+
+ * symtab.c (search_symbols): Pass NULL for file_matcher to
+ expand_symtabs_matching if there are no files to match.
+
+ * gdbtypes.c (lookup_typename): Simplify.
+
+2012-05-23 Pedro Alves <palves@redhat.com>
+
+ * arch-utils.h (default_target_signal_to_host): Delete.
+ * arch-utils.c (default_target_signal_to_host): Delete.
+ * gdbarch.sh (target_signal_to_host): Remove.
+ * gdbarch.h, gdbarch.c: Regenerate.
+
+2012-05-22 Doug Evans <dje@google.com>
+
+ * dwarf2-frame.c (struct dwarf2_cie): Make initial_instructions, end
+ "const gdb_byte *".
+ (struct dwarf2_fde): Make instructions, end "const gdb_byte *".
+ (execute_cfa_program): Update to match API of leb128 functions.
+ (read_1_byte, read_4_bytes, read_8_bytes): Make buf parameter
+ "const gdb_byte *".
+ (read_unsigned_leb128, read_signed_leb128): Delete.
+ (read_initial_length): Change type of buf argument to
+ "const gdb_byte *".
+ (read_encoded_value): Update to match API of leb128 functions.
+ (decode_frame_entry): Change result to "const gdb_byte *", and
+ similarly for "start" parameter.
+ (decode_frame_entry_1): Ditto. Use new leb128 reader functions.
+ (dwarf2_build_frame_info): Change local frame_ptr to
+ "const gdb_byte *".
+ * dwarf2expr.c (safe_read_uleb128, safe_read_sleb128): Replaces
+ read_uleb128, read_sleb128. All callers updated.
+ (safe_skip_leb128): New function.
+ (dwarf_block_to_dwarf_reg): Update to match API of leb128 functions.
+ Call gdb_read_uleb128, gdb_skip_leb128 instead of read_uleb128.
+ (dwarf_block_to_dwarf_reg_deref): Update to match API of leb128
+ functions. Call gdb_read_uleb128, gdb_read_sleb128 instead of
+ read_uleb128, read_sleb128.
+ (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): Ditto.
+ (execute_stack_op): Update to match API of leb128 functions.
+ * dwarf2expr.h: #include "leb128.h".
+ (read_uleb128, read_sleb128): Delete.
+ (gdb_read_uleb128, gdb_read_sleb128, gdb_skip_leb128): New functions.
+ (safe_read_uleb128, safe_read_sleb128, safe_skip_leb128): Declare.
+ * dwarf2loc.c (debug_loc_kind): New enum.
+ (decode_debug_loc_addresses): New function.
+ (decode_debug_loc_dwo_addresses): New function.
+ (dwarf2_find_location_expression): Rewrite.
+ (dwarf2_compile_expr_to_ax): Update to match API of leb128 functions.
+ (locexpr_describe_location_piece): Ditto.
+ (disassemble_dwarf_expression): Ditto.
+ (locexpr_describe_location_1): Ditto.
+ (loclist_describe_location): Rewrite.
+ * dwarf2loc.h (dwarf2_loclist_baton): New member "from_dwo".
+ * dwarf2read.c (die_reader_specs): New member "buffer_end".
+ (dwarf2_section_buffer_overflow_complaint): Renamed from
+ dwarf2_macros_too_long_complaint. All callers updated.
+ (skip_leb128): Delete.
+ (init_cu_die_reader): Initialize reader->buffer_end.
+ (skip_one_die): Replace call to skip_leb128 with safe_skip_leb128.
+ (skip_form_bytes): New arg buffer_end. All callers updated.
+ Replace call to skip_leb128 with gdb_skip_leb128.
+ (skip_unknown_opcode): New arg mac_end. All callers updated.
+ (fill_in_loclist_baton): Initialize baton->from_dwo.
+
+2012-05-22 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * mips-linux-nat.c (mips_linux_read_description): Use a more
+ verbose error message.
+
+2012-05-22 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * NEWS: Add MIPS/Linux DSP support.
+ * mips-linux-tdep.c: Document post-2.6.12 o32 sigcontext layout.
+ (SIGCONTEXT_DSPCTL): New macro.
+ (SIGCONTEXT_HI1, SIGCONTEXT_LO1): Likewise.
+ (SIGCONTEXT_HI2, SIGCONTEXT_LO2): Likewise.
+ (SIGCONTEXT_HI3, SIGCONTEXT_LO3): Likewise.
+ (N64_SIGCONTEXT_HI1, N64_SIGCONTEXT_HI2): Likewise.
+ (N64_SIGCONTEXT_HI3): Likewise.
+ (N64_SIGCONTEXT_LO1, N64_SIGCONTEXT_LO2): Likewise.
+ (N64_SIGCONTEXT_LO3): Likewise.
+ (N64_SIGCONTEXT_DSPCTL): Likewise.
+ (N64_SIGCONTEXT_FPCSR): Clarify definition.
+ (mips_linux_o32_sigframe_init): Handle DSP registers.
+ (mips_linux_n32n64_sigframe_init): Likewise.
+
+2012-05-22 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * common/buffer.c (buffer_grow): ARI fix: Remove unneeded
+ call to abort.
+
+2012-05-22 Pedro Alves <palves@redhat.com>
+
+ * target.h (store_waitstatus): Move declaration ...
+ * inf-child.h (store_waitstatus): ... here.
+ * target.c: Move inclusion of gdb_wait.h, and ...
+ (store_waitstatus): ... this ...
+ * inf-child.c: ... here.
+ * linux-nat.c: Include inf-child.h.
+ * rs6000-nat.c: Include inf-child.h.
+ * spu-linux-nat.c: Include inf-child.h.
+
+2012-05-22 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * tracepoint.c (start_tracing): Add missing i18n markup.
+ (stop_tracing, set_trace_user): Ditto.
+ (set_trace_notes, set_trace_stop_notes): Ditto.
+
+2012-05-21 Tom Tromey <tromey@redhat.com>
+
+ PR c++/7173:
+ * gnu-v3-abi.c (gnuv3_baseclass_offset): Return early for Java
+ types.
+ * value.h (value_cast_pointers): Update.
+ * valops.c (value_cast_pointers): Add 'subclass_check' argument.
+ (value_cast): Update.
+ (update_search_result): New function.
+ (do_search_struct_field): New, from search_struct_field. Check
+ for ambiguous results.
+ (search_struct_field): Rewrite.
+ * infcall.c (value_arg_coerce): Update.
+ * eval.c (evaluate_subexp_standard) <STRUCTOP_MEMBER>: Use
+ value_cast_pointers.
+ * ada-lang.c (ada_convert_actual): Update.
+
+2012-05-21 Tom Tromey <tromey@redhat.com>
+
+ * macroexp.c (macro_stringify): Terminate the string.
+
+2012-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * NEWS (--with-auto-load-dir): Prepend $debugdir to the default path.
+ Describe it.
+ * auto-load.c (auto_load_expand_dir_vars): New function.
+ (auto_load_safe_path_vec_update): Use it, remove the
+ substitute_path_component call thanks to it.
+ (auto_load_objfile_script): Remove the debug_file_directory processing.
+ Use auto_load_expand_dir_vars, remove the substitute_path_component
+ call thanks to it.
+ * configure: Regenerate.
+ * configure.ac (--with-auto-load-dir): Prepend $debugdir to the default
+ path. Escape $ also for $debugdir.
+ (--with_auto_load_safe_path): Escape $ also for $debugdir.
+ * utils.c (substitute_path_component): Accept also DIRNAME_SEPARATOR.
+
+2012-05-20 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (recursively_find_pc_sect_symtab): Initialize "s"
+ before use. Check for symtab->includes == NULL before scanning it.
+
+2012-05-18 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * mips-tdep.c (mips_reg3_to_reg): Optimize storage.
+
+2012-05-18 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * NEWS: Add microMIPS support and "set mips compression",
+ "show mips compression" commands.
+ * mips-tdep.h (mips_isa): New enum.
+ (gdbarch_tdep): Add mips_isa.
+ (mips_pc_is_mips16): Update prototype.
+ (mips_pc_is_mips, mips_pc_is_micromips): New prototypes.
+ * mips-tdep.c (mips_compression_mips16): New variable.
+ (mips_compression_micromips): Likewise.
+ (mips_compression_strings): Likewise.
+ (mips_compression_string): Likewise.
+ (is_mips16_isa, is_micromips_isa): New functions.
+ (is_mips16_addr): Rename to...
+ (is_compact_addr): ... this.
+ (unmake_mips16_addr): Likewise to...
+ (unmake_compact_addr): ... this.
+ (make_mips16_addr): Likewise to...
+ (make_compact_addr): ... this.
+ (is_mips_addr, is_mips16_addr, is_micromips_addr): New
+ functions.
+ (mips_elf_make_msymbol_special): Handle microMIPS code.
+ (msymbol_is_special): Rename to...
+ (msymbol_is_mips16): ... this.
+ (mips_make_symbol_special, mips_pc_is_mips16): Update
+ accordingly.
+ (msymbol_is_mips, msymbol_is_micromips): New functions.
+ (mips16_to_32_reg): Rename to...
+ (mips_reg3_to_reg): ... this.
+ (mips_pc_is_mips, mips_pc_is_micromips): New functions.
+ (mips_pc_isa): Likewise.
+ (mips_read_pc, mips_unwind_pc, mips_write_pc): Handle microMIPS
+ code.
+ (mips_fetch_instruction): Pass return status instead of printing
+ an error message if requested. Handle microMIPS code. Bail out
+ on an invalid ISA.
+ (micromips_op): New macro.
+ (b0s4_imm, b0s5_imm, b0s5_reg, b0s7_imm, b0s10_imm): Likewise.
+ (b1s9_imm, b2s3_cc, b4s2_regl, b5s5_op, b5s5_reg): Likewise.
+ (b6s4_op, b7s3_reg): Likewise.
+ (b0s6_op, b0s11_op, b0s12_imm, b0s16_imm, b0s26_imm): Likewise.
+ (b6s10_ext, b11s5_reg, b12s4_op): Likewise.
+ (mips_insn_size): New function.
+ (mips32_next_pc): Update mips_fetch_instruction call.
+ (micromips_relative_offset7): New function.
+ (micromips_relative_offset10): Likewise.
+ (micromips_relative_offset16): Likewise.
+ (micromips_pc_insn_size): Likewise.
+ (micromips_bc1_pc): Likewise.
+ (micromips_next_pc): Likewise.
+ (unpack_mips16): Update mips_fetch_instruction call.
+ (extended_mips16_next_pc): Update according to change to
+ mips16_to_32_reg.
+ (mips_next_pc): Update mips_pc_is_mips16 call. Handle microMIPS
+ code.
+ (mips16_scan_prologue): Update mips_fetch_instruction call.
+ Update according to change to mips16_to_32_reg.
+ (mips_insn16_frame_sniffer): Update mips_pc_is_mips16 call.
+ (mips_insn16_frame_base_sniffer): Likewise.
+ (micromips_decode_imm9): New function.
+ (micromips_scan_prologue): Likewise.
+ (mips_micro_frame_cache): Likewise.
+ (mips_micro_frame_this_id): Likewise.
+ (mips_micro_frame_prev_register): Likewise.
+ (mips_micro_frame_sniffer): Likewise.
+ (mips_micro_frame_unwind): New variable.
+ (mips_micro_frame_base_address): New function.
+ (mips_micro_frame_base): New variable.
+ (mips_micro_frame_base_sniffer): New function.
+ (mips32_scan_prologue): Update mips_fetch_instruction call.
+ (mips_insn32_frame_sniffer): Check for the standard MIPS ISA
+ rather than for MIPS16.
+ (mips_insn32_frame_base_sniffer): Likewise.
+ (mips_addr_bits_remove): Handle microMIPS code.
+ (deal_with_atomic_sequence): Rename to...
+ (mips_deal_with_atomic_sequence): ... this. Update the type
+ of the variable used to hold an instruction. Remove the ISA bit
+ check. Update mips_fetch_instruction call.
+ (micromips_deal_with_atomic_sequence): New function.
+ (deal_with_atomic_sequence): Likewise.
+ (mips_about_to_return): Handle microMIPS code. Update
+ mips_fetch_instruction call.
+ (heuristic_proc_start): Check for the standard MIPS ISA rather
+ than for MIPS16. Update mips_pc_is_mips16 and
+ mips_fetch_instruction calls. Handle microMIPS code.
+ (mips_push_dummy_code): Handle microMIPS code.
+ (mips_eabi_push_dummy_call): Likewise.
+ (mips_o32_return_value): Update mips_pc_is_mips16 call.
+ (mips_o64_push_dummy_call): Handle microMIPS code.
+ (mips_o64_return_value): Update mips_pc_is_mips16 call.
+ (is_delayed): Remove function.
+ (mips_single_step_through_delay): Replace the call to is_delayed
+ with mips32_instruction_has_delay_slot. Correct MIPS16 handling.
+ Handle microMIPS code.
+ (mips_skip_prologue): Update mips_pc_is_mips16 call. Handle
+ microMIPS code.
+ (mips32_in_function_epilogue_p): Update mips_fetch_instruction
+ call.
+ (micromips_in_function_epilogue_p): New function.
+ (mips16_in_function_epilogue_p): Update mips_fetch_instruction
+ call.
+ (mips_in_function_epilogue_p): Update mips_pc_is_mips16 call.
+ Handle microMIPS.
+ (gdb_print_insn_mips): Likewise.
+ (mips_breakpoint_from_pc): Likewise.
+ (mips_remote_breakpoint_from_pc): New function.
+ (mips32_instruction_has_delay_slot): Simplify making use of the
+ updated mips_fetch_instruction interface.
+ (micromips_instruction_has_delay_slot): New function.
+ (mips16_instruction_has_delay_slot): Simplify making use of the
+ updated mips_fetch_instruction interface.
+ (mips_adjust_breakpoint_address): Check for the standard MIPS
+ ISA rather than for MIPS16 ISA. Update for unmake_compact_addr
+ calls. Handle microMIPS code.
+ (mips_get_mips16_fn_stub_pc): Update mips_fetch_instruction call.
+ (mips_skip_trampoline_code): Handle microMIPS code.
+ (global_mips_compression): New function.
+ (mips_gdbarch_init): Handle the compressed ISA setting from ELF
+ file flags. Register the microMIPS remote breakpoint handler
+ and heuristic frame unwinder.
+ (show_mips_compression): New function.
+ (_initialize_mips_tdep): Add the "set mips compression" and
+ "show mips compression" commands.
+
+2012-05-18 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * ada-lang.c:
+ * ada-tasks.c:
+ * ada-varobj.c:
+ * amd64-darwin-tdep.c:
+ * arm-symbian-tdep.c:
+ * arm-tdep.c:
+ * avr-tdep.c:
+ * ax-gdb.c:
+ * bfin-linux-tdep.c:
+ * breakpoint.c:
+ * c-valprint.c:
+ * cli/cli-cmds.c:
+ * coffread.c:
+ * cp-support.c:
+ * cris-tdep.c:
+ * dwarf2-frame-tailcall.c:
+ * dwarf2-frame.c:
+ * dwarf2expr.c:
+ * dwarf2loc.c:
+ * dwarf2read.c:
+ * elfread.c:
+ * eval.c:
+ * expprint.c:
+ * f-valprint.c:
+ * frv-tdep.c:
+ * h8300-tdep.c:
+ * hppa-hpux-tdep.c:
+ * hppa-tdep.c:
+ * hppanbsd-tdep.c:
+ * i386-nto-tdep.c:
+ * i386-tdep.c:
+ * i387-tdep.c:
+ * ia64-tdep.c:
+ * jit.c:
+ * linespec.c:
+ * linux-tdep.c:
+ * lm32-tdep.c:
+ * m2-valprint.c:
+ * m32c-tdep.c:
+ * m32r-rom.c:
+ * m32r-tdep.c:
+ * m68k-tdep.c:
+ * m68klinux-tdep.c:
+ * mi/mi-main.c:
+ * microblaze-tdep.c:
+ * mips-linux-tdep.c:
+ * mips-tdep.c:
+ * mn10300-tdep.c:
+ * p-valprint.c:
+ * parse.c:
+ * ppc-linux-tdep.c:
+ * ppc-sysv-tdep.c:
+ * printcmd.c:
+ * python/py-finishbreakpoint.c:
+ * python/py-inferior.c:
+ * python/py-infthread.c:
+ * python/py-type.c:
+ * python/python.c:
+ * remote-fileio.c:
+ * remote-m32r-sdi.c:
+ * remote-mips.c:
+ * reverse.c:
+ * rl78-tdep.c:
+ * rs6000-aix-tdep.c:
+ * rs6000-tdep.c:
+ * s390-tdep.c:
+ * score-tdep.c:
+ * sh64-tdep.c:
+ * skip.c:
+ * solib-darwin.c:
+ * solib-dsbt.c:
+ * solib-frv.c:
+ * sparc-tdep.c:
+ * spu-multiarch.c:
+ * spu-tdep.c:
+ * stack.c:
+ * symfile.c:
+ * symtab.c:
+ * tic6x-tdep.c:
+ * tracepoint.c:
+ * v850-tdep.c:
+ * valarith.c:
+ * valprint.c:
+ * value.c:
+ * xcoffread.c:
+ * xtensa-tdep.c:
+ * ada-lang.c:
+ * ada-tasks.c:
+ * ada-varobj.c:
+ * amd64-darwin-tdep.c:
+ * arm-symbian-tdep.c:
+ * arm-tdep.c: Delete unused variables.
+
+2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Rename $ddir to $datadir.
+ * NEWS (--with-auto-load-dir): Rename $ddir to $datadir.
+ * auto-load.c (auto_load_safe_path_vec_update)
+ (auto_load_gdb_datadir_changed, auto_load_objfile_script): Likewise.
+ * configure: Regenerate.
+ * configure.ac (--with-auto-load-dir, --with-auto-load-safe-path):
+ Likewise. Remove the 'use $ddir' help string.
+
+2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * auto-load.c (show_auto_load_safe_path): Accept any combination of
+ DIRNAME_SEPARATOR and IS_DIR_SEPARATOR for wild-match.
+
+2012-05-18 Tom Tromey <tromey@redhat.com>
+
+ PR exp/13907:
+ * valprint.h (struct value_print_options) <symbol_print>: New
+ field.
+ * valprint.c (user_print_options): Add default for symbol_print.
+ (show_symbol_print): New function.
+ (generic_val_print): Respect symbol_print.
+ (_initialize_valprint): Add "print symbol" setting.
+ * f-valprint.c (f_val_print): Respect symbol_print.
+ * c-valprint.c (c_val_print): Respect symbol_print.
+ * NEWS: Update.
+ * printcmd.c (print_address_symbolic): Return int. Ignore some
+ zero-size symbols.
+ (print_address_demangle): Return int.
+ * defs.h: (print_address_symbolic): Return int.
+ * value.h (print_address_demangle): Return int.
+
2012-05-18 Tom Tromey <tromey@redhat.com>
* valprint.c (val_print_string): Don't print leading space.