+2012-07-05 Hui Zhu <hui_zhu@mentor.com>
+
+ * ax-gdb.c (cli/cli-utils.h): New include.
+ (linespec.h): Ditto.
+ (agent_eval_command_one): New function.
+ (agent_command_1): Ditto.
+ (agent_command): Call function agent_command_1.
+ (agent_eval_command): Ditto.
+ (_initialize_ax_gdb): Change help for "maint agent"
+ and "maint agent-eval".
+
+2012-07-05 Hui Zhu <hui_zhu@mentor.com>
+
+ * breakpoint.c (check_for_argument): Move to file cli/cli-utils.c.
+ * cli/cli-utils.c (check_for_argument): New function.
+ * cli/cli-utils.h (check_for_argument): Ditto.
+
+2012-07-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ * NEWS: Mention x32 ABI support.
+
+2012-07-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ * amd64-tdep.c (amd64_x32_init_abi): Set sp_regnum_from_eax to
+ AMD64_RSP_REGNUM and pc_regnum_from_eax to AMD64_RIP_REGNUM.
+
+ * i386-tdep.c (i386_gdbarch_init): Initialize sp_regnum_from_eax
+ and pc_regnum_from_eax to -1. Update SP regnum from
+ sp_regnum_from_eax and PC regnum from pc_regnum_from_eax if
+ needed.
+
+ * i386-tdep.h (gdbarch_tdep): Add sp_regnum_from_eax and
+ pc_regnum_from_eax.
+
+2012-07-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix 'warning: parameter has incomplete type' with gcc-3.4.6.
+ * dwarf2expr.h: Include gdbtypes.h.
+ (enum call_site_parameter_kind, union call_site_parameter_u): Remove
+ these forward declarations.
+ (cu_offset, sect_offset): Move these ...
+ * gdbtypes.h: Remove include dwarf2expr.h.
+ (cu_offset, sect_offset): ... here.
+
+2012-07-03 H.J. Lu <hongjiu.lu@intel.com>
+
+ * amd64-linux-tdep.c (linux_sigtramp_code): Renamed to ...
+ (amd64_linux_sigtramp_code): This.
+ (amd64_x32_linux_sigtramp_code): New.
+ (LINUX_SIGTRAMP_LEN): Updated.
+ (amd64_linux_sigtramp_start): Check x32 sigtramp.
+
+2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linux-thread-db.c (thread_db_new_objfile): Fix comment typos.
+
+2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * configure.ac: Remove check for gnu/libc-version.h.
+ * linux-thread-db.c <HAVE_GNU_LIBC_VERSION_H>: Remove include of
+ gnu/libc-version.h.
+ (enable_thread_event_reporting) <HAVE_GNU_LIBC_VERSION_H>: Remove
+ variables libc_version, libc_major and libc_minor. Replace sscanf by
+ inferior_has_bug. Extend the comment.
+
+2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linux-thread-db.c (inferior_has_bug): New function.
+ (thread_db_find_new_threads_silently): Return boolean as checked by
+ inferior_has_bug, describe it in the comments.
+ (try_thread_db_load_1): Move call to thread_db_find_new_threads_silently
+ earlier. Abort the initialization if it returned non-zero.
+ (thread_db_new_objfile): Exclude debug files.
+ (thread_db_find_new_threads_2): Preinitialize ERR. Check errors also
+ if UNTIL_NO_NEW,
+
+2012-07-02 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (maybe_queue_comp_unit): Move definition next to others
+ related to queue management.
+
+ * dwarf2read.c (create_debug_types_hash_table): Use "debug dwarf2-read"
+ instead of "debug dwarf2-die" in debugging printfs.
+ (create_debug_info_hash_table_reader): Ditto.
+ (create_debug_info_hash_table): Ditto.
+ (init_dwo_file): Ditto.
+ (init_cutu_and_read_dies): Add debugging printf.
+ (init_cutu_and_read_dies_no_follow): Ditto.
+ (process_psymtab_comp_unit_reader): Ditto.
+
+2012-07-02 Stan Shebs <stan@codesourcery.com>
+
+ Add target-side support for dynamic printf.
+ * NEWS: Mention the additional style.
+ * breakpoint.h (struct bp_target_info): New fields tcommands, persist.
+ (struct bp_location): New field cmd_bytecode.
+ * breakpoint.c: Include format.h.
+ (disconnected_dprintf): New global.
+ (parse_cmd_to_aexpr): New function.
+ (build_target_command_list): New function.
+ (insert_bp_location): Call it.
+ (remove_breakpoints_pid): Skip dprintf breakpoints.
+ (print_one_breakpoint_location): Ditto.
+ (dprintf_style_agent): New global.
+ (dprintf_style_enums): Add dprintf_style_agent.
+ (update_dprintf_command_list): Add agent case.
+ (agent_printf_command): New function.
+ (_initialize_breakpoint): Add new commands.
+ * common/ax.def (printf): New bytecode.
+ * ax.h (ax_string): Declare.
+ * ax-gdb.h (gen_printf): Declare.
+ * ax-gdb.c: Include cli-utils.h, format.h.
+ (gen_printf): New function.
+ (maint_agent_print_command): New function.
+ (_initialize_ax_gdb): Add maint agent-printf command.
+ * ax-general.c (ax_string): New function.
+ (ax_print): Add printf disassembly.
+ * Makefile.in (SFILES): Add format.c
+ (COMMON_OBS): Add format.o.
+ * common/format.h: New file.
+ * common/format.c: New file.
+ * printcmd.c: Include format.h.
+ (ui_printf): Call parse_format_string.
+ * remote.c (remote_state): New field breakpoint_commands.
+ (PACKET_BreakpointCommands): New enum.
+ (remote_breakpoint_commands_feature): New function.
+ (remote_protocol_features): Add new BreakpointCommands entry.
+ (remote_can_run_breakpoint_commands): New function.
+ (remote_add_target_side_commands): New function.
+ (remote_insert_breakpoint): Call it.
+ (remote_insert_hw_breakpoint): Ditto.
+ (_initialize_remote): Add new packet configuration for
+ target-side breakpoint commands.
+ * target.h (struct target_ops): New field
+ to_can_run_breakpoint_commands.
+ (target_can_run_breakpoint_commands): New macro.
+ * target.c (update_current_target): Handle
+ to_can_run_breakpoint_commands.
+
+2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Execute -ix and -iex only after system and user gdbinit files.
+ * main.c (captured_main): Move CMDARG_INIT_FILE and CMDARG_INIT_COMMAND
+ processing down after gdbinit files.
+
+2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Add fnmatch-gnu module.
+ * gnulib/Makefile.in (aclocal_m4_deps): Add new files and remove one.
+ * gnulib/configure.ac (AC_INIT): Use now import/memmem.c.
+ * gnulib/aclocal.m4: Regenerate.
+ * gnulib/config.in: Regenerate.
+ * gnulib/configure: Regenerate.
+ * gnulib/import/dummy.c: Remove.
+ * gnulib/import/Makefile.am: Regenerate.
+ * gnulib/import/Makefile.in: Likewise.
+ * gnulib/import/m4/gnulib-cache.m4: Likewise.
+ * gnulib/import/m4/gnulib-comp.m4: Likewise.
+ * gnulib/import/alloca.c: New file.
+ * gnulib/import/alloca.in.h: Likewise.
+ * gnulib/import/config.charset: Likewise.
+ * gnulib/import/fnmatch.c: Likewise.
+ * gnulib/import/fnmatch.in.h: Likewise.
+ * gnulib/import/fnmatch_loop.c: Likewise.
+ * gnulib/import/localcharset.c: Likewise.
+ * gnulib/import/localcharset.h: Likewise.
+ * gnulib/import/m4/alloca.m4: Likewise.
+ * gnulib/import/m4/codeset.m4: Likewise.
+ * gnulib/import/m4/configmake.m4: Likewise.
+ * gnulib/import/m4/fcntl-o.m4: Likewise.
+ * gnulib/import/m4/fnmatch.m4: Likewise.
+ * gnulib/import/m4/glibc21.m4: Likewise.
+ * gnulib/import/m4/localcharset.m4: Likewise.
+ * gnulib/import/m4/locale-fr.m4: Likewise.
+ * gnulib/import/m4/locale-ja.m4: Likewise.
+ * gnulib/import/m4/locale-zh.m4: Likewise.
+ * gnulib/import/m4/mbrtowc.m4: Likewise.
+ * gnulib/import/m4/mbsinit.m4: Likewise.
+ * gnulib/import/m4/mbsrtowcs.m4: Likewise.
+ * gnulib/import/m4/mbstate_t.m4: Likewise.
+ * gnulib/import/m4/stdbool.m4: Likewise.
+ * gnulib/import/m4/wchar_h.m4: Likewise.
+ * gnulib/import/m4/wctype_h.m4: Likewise.
+ * gnulib/import/m4/wint_t.m4: Likewise.
+ * gnulib/import/mbrtowc.c: Likewise.
+ * gnulib/import/mbsinit.c: Likewise.
+ * gnulib/import/mbsrtowcs-impl.h: Likewise.
+ * gnulib/import/mbsrtowcs-state.c: Likewise.
+ * gnulib/import/mbsrtowcs.c: Likewise.
+ * gnulib/import/ref-add.sin: Likewise.
+ * gnulib/import/ref-del.sin: Likewise.
+ * gnulib/import/stdbool.in.h: Likewise.
+ * gnulib/import/streq.h: Likewise.
+ * gnulib/import/strnlen1.c: Likewise.
+ * gnulib/import/strnlen1.h: Likewise.
+ * gnulib/import/verify.h: Likewise.
+ * gnulib/import/wchar.in.h: Likewise.
+ * gnulib/import/wctype.in.h: Likewise.
+
+2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Support shell wildcards for 'set auto-load safe-path'.
+ * auto-load.c: Include fnmatch.h.
+ (filename_is_in_dir): Rename to ...
+ (filename_is_in_pattern_1, filename_is_in_pattern): ... here and split
+ it. Update function comment. Rename dir_len to pattern_len. New
+ variables filename_len, pattern and filename. Add more DEBUG_AUTO_LOAD
+ messages. Use gdb_filename_fnmatch.
+ (filename_is_in_auto_load_safe_path_vec): Rename variable dir to
+ pattern.
+ (_initialize_auto_load): Extend the "set auto-load safe-path" help text.
+ * defs.h (gdb_filename_fnmatch): New declaration.
+ * utils.c: Include fnmatch.h.
+ (gdb_filename_fnmatch): New function.
+
+2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * breakpoint.c (BREAK_ARGS_HELP): Include help message for the new
+ `-probe' and `-probe-stap' options.
+
+2012-07-01 Yao Qi <yao@codesourcery.com>
+
+ * breakpoint.c: Removed always_inserted_auto, always_inserted_on,
+ always_inserted_off, and always_inserted_enums.
+ Change always_inserted_mode's type to 'enum auto_boolean'.
+ (show_always_inserted_mode, breakpoint_always_inserted_mode): Update
+ callers.
+ (_initialize_breakpoint): Call add_setshow_auto_boolean_cmd instead
+ of add_setshow_enum_cmd.
+ * infrun.c: Remove can_use_displaced_stepping_auto,
+ can_use_displaced_stepping_on, can_use_displaced_stepping_off, and
+ can_use_displaced_stepping_enum.
+ Change can_use_displaced_stepping's type to 'enum auto_boolean'.
+ (show_can_use_displaced_stepping, use_displaced_stepping): Update callers.
+ (_initialize_infrun): Call add_setshow_auto_boolean_cmd instead of
+ add_setshow_enum_cmd.
+
+2012-06-30 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (signatured_type): Make "per_cu" member first.
+ (init_cutu_and_read_dies): Handle rereading a DWO CU while it's
+ currently being read. Propagate DW_AT_comp_dir to DWO DIE.
+
+2012-06-29 Doug Evans <dje@google.com>
+
+ * linespec.c: #include "stack.h".
+ (decode_line_with_current_source): Moved here from symtab.c and
+ renamed from decode_line_spec. All callers updated.
+ (decode_line_with_last_displayed): Moved here from breakpoint.c and
+ renamed from decode_line_spec_1. All callers updated.
+ * linespec.h (decode_line_with_current_source): Move declaration here
+ from symtab.h and renamed from decode_line_spec.
+ (decode_line_with_last_displayed): Move declaration here from symtab.h
+ and renamed from decode_line_spec_1.
+ * macrocmd.c: #include "linespec.h".
+ * symtab.c: Remove #include "linespec.h".
+
+2012-06-28 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (get_cu_length): New function.
+ (offset_in_cu_p, error_check_comp_unit_head): Call it.
+ (create_debug_types_hash_table): Ditto.
+ (init_cutu_and_read_dies): Ditto.
+ (init_cutu_and_read_dies_no_follow): Ditto.
+
+ * dwarf2read.c (dwarf2_find_base_address): Move definition.
+
+ * dwarf2read.c (ABBREV_HASH_SIZE): Remove enclosing #ifndef/#endif.
+ (struct abbrev_table): Define.
+ (dwarf2_cu): Replace members dwarf2_abbrevs, abbrev_obstack with
+ abbrev_table.
+ (init_cutu_and_read_dies): Update.
+ (abbrev_table_alloc_abbrev): New function. Replaces
+ dwarf_alloc_abbrev. All callers updated.
+ (abbrev_table_add_abbrev): New function.
+ (abbrev_table_lookup_abbrev): New function. Replaces
+ dwarf2_lookup_abbrev. All callers updated.
+ (abbrev_table_read_table): New function. Contents moved here from
+ dwarf2_read_abbrevs.
+ (dwarf2_read_abbrevs): Call it.
+ (abbrev_table_free): New function.
+ (dwarf2_free_abbrev_table): Call it.
+
+2012-06-28 Stan Shebs <stan@codesourcery.com>
+
+ * osdata.c (info_osdata_command): Filter out "Title" columns
+ from non-MI uses.
+ * common/linux-osdata.c (struct osdata_type): Add title field.
+ (osdata_table): Add titles to each entry.
+ (linux_command_xfer_osdata): Add a column for title data.
+
+2012-06-28 Stan Shebs <stan@codesourcery.com>
+
+ Make logging work for MI.
+ * NEWS: Mention it.
+ * interps.h (interp_set_logging_ftype): New typedef.
+ (struct interp_procs): New field set_logging_proc.
+ (current_interp_set_logging): Declare.
+ * interps.c (current_interp_set_logging): New function.
+ * cli/cli-logging.c: Include interps.h.
+ (set_logging_redirect): Call current_interp_set_logging.
+ (pop_output_files): Ditto.
+ (handle_redirections): Ditto, plus skip ui-out redirect if MI.
+ * mi/mi-console.h (mi_console_set_raw): Declare.
+ * mi/mi-console.c (mi_console_set_raw): New function.
+ * mi/mi-interp.c (saved_raw_stdout): New global.
+ (mi_set_logging): New function.
+ (_initialize_mi_interp): Add it to interp procs.
+
+2012-06-28 Doug Evans <dje@google.com>
+
+ * symtab.c (lookup_symbol_aux_objfile): Use
+ ALL_OBJFILE_PRIMARY_SYMTABS.
+
+ * gdbtypes.c (lookup_typename): Rename local variable "tmp" to "type".
+
+2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * common/buffer.c: Include inttypes.h and stdint.h.
+ (buffer_xml_printf): Use PRId64, PRIu64, PRIx64 and PRIo64.
+
+2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Pedro Alves <palves@redhat.com>
+
+ * gdbthread.h (ALL_THREADS): New macro.
+ (thread_list): Declare.
+ * infrun.c (handle_inferior_event) <spurious signal>: Don't keep
+ going, but instead fall through to the stepping handling.
+ * linux-nat.c (resume_lwp): New parameter 'signo'. Resume with
+ the passed in signal. Adjust debug output.
+ (resume_callback): Rename to ...
+ (linux_nat_resume_callback): ... this. Pass the thread's last
+ stop signal, if in "pass" state.
+ (linux_nat_resume): Adjust to rename.
+ (stop_wait_callback): New assertion. Don't respawn signals;
+ instead let the LWP remain with SIGNALLED set.
+ (linux_nat_wait_1): Remove flushing of pending SIGSTOPs.
+ * remote.c (append_pending_thread_resumptions): New.
+ (remote_vcont_resume): Call it.
+ * target.h (target_resume): Extend comment.
+
+2012-06-28 Iain Sandoe <iain@codesourcery.com>
+
+ * auxv.c (fprint_target_auxv): Handle extended cache data tags.
+
+2012-06-27 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (dwarf2_cu): Add ranges_base.
+ Delete have_addr_base, unused. All uses updated.
+ (init_cutu_and_read_dies): Process DW_AT_GNU_ranges_base.
+ (dwarf2_get_pc_bounds): Add ranges_base.
+ (dwarf2_record_block_ranges): Ditto.
+
+2012-06-27 Tom Tromey <tromey@redhat.com>
+
+ PR macros/7961:
+ * varobj.c (varobj_create): Update.
+ (varobj_set_value): Update.
+ * tracepoint.c (validate_actionline): Update.
+ (encode_actions_1): Update.
+ * parse.c (parse_exp_1): Add 'pc' argument.
+ (parse_exp_in_context): Add 'pc' argument. Change how
+ expression_context_pc is set.
+ (parse_expression): Update.
+ (parse_field_expression): Update.
+ * expression.h (parse_exp_1): Update.
+ * eval.c (parse_to_comma_and_eval): Update.
+ * breakpoint.c (set_breakpoint_condition): Update.
+ (update_watchpoint): Update.
+ (init_breakpoint_sal): Update
+ (find_condition_and_thread): Update.
+ (watch_command_1): Update.
+ (update_breakpoint_locations): Update.
+ * ada-lang.c (ada_read_renaming_var_value): Update.
+ (create_excep_cond_exprs): Update.
+
+2012-06-27 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (per_cu_header_read_in): Simplify, and handle
+ type units.
+
+2012-06-26 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (read_and_check_comp_unit_head): Delete unnecessary
+ prototype.
+ (error_check_comp_unit_head): New arg abbrev_section. All callers
+ updated.
+ (read_and_check_comp_unit_head): Ditto.
+ (read_and_check_type_unit_head): Ditto.
+
+2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
+
+ New attribute 'last' for gdb.Symtab_and_line.
+ * NEWS (Python Scripting): Add entry about the new attribute.
+ * python/py-symtab.c (salpy_get_last): New function which
+ implements the get method for the 'last' attribute of
+ gdb.Symtab_and_line.
+ (sal_object_getset): Add entry for the 'last' attribute.
+
+2012-06-26 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (dwo_section_names): Add macinfo_dwo, macro_dwo.
+ (dwo_sections): Add macinfo, macro.
+ (dwarf2_locate_dwo_sections): Watch for macro sections.
+ (dwarf_decode_macros): Remove args lh, abfd, section, section_name.
+ All callers updated. Handle DWO files.
+
+ * NEWS: Mention new options "set debug dwarf2-read" and
+ "set debug symtab-create".
+ * dwarf2read.c (dwarf2_read_debug): New static global.
+ (dwarf2_build_psymtabs_hard): Add debugging printfs.
+ (process_queue): Ditto.
+ (process_full_comp_unit): Ditto.
+ (_initialize_dwarf2_read): Add new option "set debug dwarf2-read".
+ * elfread.c (elf_symfile_read): Add debugging printf.
+ * minsyms.c (install_minimal_symbols): Ditto.
+ * psymtab.c (allocate_psymtab): Ditto.
+ * symfile.c (allocate_symtab): Ditto.
+ * symtab.c (symtab_create_debug): New global.
+ (_initialize_symtab): Add new option "set debug symtab-create".
+ * symtab.h (symtab_create_debug): Declare.
+
+ * dwarf2read.c (lookup_dwo_comp_unit): Enhance comment.
+ (lookup_dwo_type_unit): Ditto.
+
+2012-06-26 Roland McGrath <roland@hack.frob.com>
+ H.J. Lu <hongjiu.lu@intel.com>
+
+ * amd64-linux-nat.c: Include <sys/user.h>.
+ (ps_get_thread_area): Use PTRACE_PEEKUSER to get fs_base/gs_base
+ if HAVE_STRUCT_USER_REGS_STRUCT_FS_BASE or
+ HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE is defined.
+
+ * configure.ac: Check if the fs_base and gs_base members of
+ `struct user_regs_struct' exist.
+ * config.in: Regenerated.
+ * configure: Likewise.
+
+2012-06-25 Michael Eager <eager@eagercon.com>
+
+ PR python/14291
+ * python/python.c (gdbpy_write): Check for interrupted output.
+
+2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
+
+ * arm-tdep.c (arm_in_function_epilogue_p): Recognize POP with a single
+ register as a stack alignment in ARM mode.
+
+2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Update gnulib to GIT commit a39f53ccb70a613e647e1019fb4c63645220267e.
+ * gnulib/config.in: Regenerate.
+ * gnulib/configure: Likewise.
+ * gnulib/import/m4/extensions.m4: Update it.
+ * gnulib/import/m4/gnulib-common.m4: Likewise.
+ * gnulib/import/m4/memmem.m4: Likewise.
+ * gnulib/import/m4/mmap-anon.m4: Likewise.
+ * gnulib/import/m4/multiarch.m4: Likewise.
+ * gnulib/import/stdint.in.h: Likewise.
+
+2012-06-24 Yao Qi <yao@codesourcery.com>
+
+ * corefile.c (write_memory_with_notification): New.
+ * gdbcore.h: Declare write_memory_with_notification.
+ * ada-lang.c (ada_value_assign): Replace 'write_memory' and
+ 'observer_notify_memory_changed' with 'write_memory_with_notification'.
+ * valops.c (value_assign): Likewise.
+ * python/py-inferior.c (infpy_write_memory): Call
+ 'write_memory_with_notification'.
+
+2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * cc-with-index.sh: Use also -ex "set auto-load no".
+
+2012-06-23 Doug Evans <dje@google.com>
+
+ PR 14125
+ * NEWS: Document additions to .gdb_index.
+ * dwarf2read.c: #include "gdb/gdb-index.h".
+ (DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE): New macro.
+ (DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE): New macro.
+ (DW2_GDB_INDEX_CU_SET_VALUE): New macro.
+ (dwarf2_read_index): Recognize version 7.
+ (dw2_do_expand_symtabs_matching): New args want_specific_block,
+ block_kind, domain): All callers updated.
+ (dw2_find_symbol_file): Handle new index CU values.
+ (dw2_expand_symtabs_matching): Match symbol kind if requested.
+ (add_index_entry): New args is_static, kind. All callers updated.
+ (offset_type_compare, uniquify_cu_indices): New functions
+ (symbol_kind): New function.
+ (write_psymtabs_to_index): Remove duplicate CU values.
+ (write_psymtabs_to_index): Write .gdb_index version 7.
+
+2012-06-22 Joel Brobecker <brobecker@adacore.com>
+
+ * configure.ac (build_warnings): Add -Wdeclaration-after-statement.
+ * configure: Regenerate.
+
+2012-06-20 Yao Qi <yao@codesourcery.com>
+
+ * python/py-inferior.c: Update comments of infpy_read_memory
+ and infpy_write_memory.
+
+2012-06-19 Tom Tromey <tromey@redhat.com>
+
+ PR exp/9514:
+ * parser-defs.h (insert_type, insert_type_address_space): Declare.
+ (push_type_address_space): Remove.
+ * parse.c (insert_into_type_stack): New function.
+ (insert_type): Likewise.
+ (insert_type_address_space): Rename from push_type_address_space.
+ Insert tp_space_identifier.
+ * c-exp.y (ptr_operator): New production.
+ (abs_decl): Use ptr_operator.
+ (space_identifier): Call insert_type_address_space.
+ (ptype): Don't use const_or_volatile_or_space_identifier.
+ (const_or_volatile_noopt): Call insert_type.
+ (conversion_type_id, conversion_declarator): New productions.
+ (operator): Use conversion_type_id.
+
+2012-06-18 Doug Evans <dje@google.com>
+
+ * symtab.h (minimal_symbol): New member created_by_gdb.
+ * elfread.c (elf_symtab_read): Set created_by_gdb for @plt minsym
+ created by gdb.
+ * symtab.c (lookup_symbol_in_objfile_from_linkage_name): New function.
+ (search_symbols): Call it instead of lookup_symbol.
+ Skip symbols created by gdb. Only scan minsyms if nfiles == 0.
+
+ * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_const_index.
+ Adjust address for DW_OP_GNU_addr_index.
+ * dwarf2expr.h (dwarf_expr_context): Update comment.
+ * dwarf2loc.c (locexpr_describe_location_piece): New arg per_cu,
+ all callers updated. Handle TLS vars described with
+ DW_OP_GNU_const_index.
+ (disassemble_dwarf_expression): Handle DW_OP_GNU_addr_index
+ and DW_OP_GNU_const_index.
+ * dwarf2read.c (decode_locdesc): Handle DW_OP_GNU_addr_index.
+
+ * block.c (find_block_in_blockvector): Make explicit the fact that we
+ ignore GLOBAL_BLOCK.
+
+2012-06-18 Tom Tromey <tromey@redhat.com>
+
+ * c-exp.y (operator): Remove trailing space after "delete" and
+ "delete[]".
+
+2012-06-18 Mark Kettenis <kettenis@gnu.org>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Switch i386 and derived targets to ON_STACK.
+ * amd64-dicos-tdep.c (amd64_dicos_push_dummy_code): Remove.
+ (amd64_dicos_init_abi): Remove its installment.
+ * dicos-tdep.c (dicos_init_abi): Remove the
+ set_gdbarch_call_dummy_location call. Update the comment here.
+ * i386-dicos-tdep.c (i386_dicos_push_dummy_code): Remove.
+ (i386_dicos_init_abi): Remove its installment.
+ * i386-tdep.c (i386_push_dummy_code): New function.
+ (i386_gdbarch_init): Call set_gdbarch_call_dummy_location, install
+ i386_push_dummy_code.
+
+2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Remove stale dummy frames.
+ * breakpoint.c: Include dummy-frame.h.
+ (longjmp_breakpoint_ops): New variable.
+ (update_breakpoints_after_exec, breakpoint_init_inferior): Delete also
+ bp_longjmp_call_dummy.
+ (bpstat_what, bptype_string, print_one_breakpoint_location)
+ (init_bp_location): Support bp_longjmp_call_dummy.
+ (set_longjmp_breakpoint): Use longjmp_breakpoint_ops. Comment why.
+ (set_longjmp_breakpoint_for_call_dummy)
+ (check_longjmp_breakpoint_for_call_dummy, longjmp_bkpt_dtor): New
+ functions.
+ (initialize_breakpoint_ops): Initialize longjmp_breakpoint_ops.
+ * breakpoint.h (enum bptype): New item bp_longjmp_call_dummy. Delete
+ FIXME comment and extend the other comment for bp_call_dummy.
+ (set_longjmp_breakpoint_for_call_dummy)
+ (check_longjmp_breakpoint_for_call_dummy): New declarations.
+ * dummy-frame.c: Include gdbthread.h.
+ (pop_dummy_frame_bpt): New function.
+ (pop_dummy_frame): Call pop_dummy_frame_bpt.
+ (dummy_frame_discard): New function.
+ (cleanup_dummy_frames): Update the comment about longjmps.
+ * dummy-frame.h (dummy_frame_discard): New declaration.
+ * gdbthread.h (struct thread_info): Extend initiating_frame comment.
+ * infcall.c (call_function_by_hand): New variable longjmp_b. Call
+ set_longjmp_breakpoint_for_call_dummy. Chain its breakpoints with BPT.
+ * infrun.c (handle_inferior_event) <BPSTAT_WHAT_CLEAR_LONGJMP_RESUME>:
+ Add case 4 comment. Call check_longjmp_breakpoint_for_call_dummy and
+ keep_going if IS_LONGJMP and there is no other reason to stop.
+
+2012-06-18 Greta Yorsh <Greta.Yorsh@arm.com>
+
+ * remote-sim.c (sim_command_completer): Initialize
+ variable 'result'.
+
+2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2expr.c (execute_stack_op): Support DW_OP_GNU_parameter_ref.
+ * dwarf2loc.c (call_site_parameter_matches): Support
+ CALL_SITE_PARAMETER_PARAM_OFFSET.
+ (needs_dwarf_reg_entry_value): Push stub value.
+ * dwarf2read.c (read_call_site_scope): New variable origin. Support
+ CALL_SITE_PARAMETER_PARAM_OFFSET and its DW_AT_abstract_origin.
+ * gdbtypes.h (enum call_site_parameter_kind): New item
+ CALL_SITE_PARAMETER_PARAM_OFFSET.
+ (struct call_site.parameter.u): New field param_offset.
+
+2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup: Generalize call_site.parameter key.
+ * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_entry_value>: Remove
+ variable dwarf_reg. New variable kind_u. Update parameters to
+ push_dwarf_reg_entry_value.
+ (ctx_no_push_dwarf_reg_entry_value): Update parameters.
+ * dwarf2expr.h (enum call_site_parameter_kind)
+ (union call_site_parameter_u): Forward declarations.
+ (struct dwarf_expr_context_funcs): Update parameters and their
+ description for push_dwarf_reg_entry_value.
+ (ctx_no_push_dwarf_reg_entry_value): Update parameters.
+ * dwarf2loc.c (call_site_parameter_matches): New function.
+ (dwarf_expr_reg_to_entry_parameter): Update parameters and their
+ description. Use call_site_parameter_matches.
+ (dwarf_expr_push_dwarf_reg_entry_value, value_of_dwarf_reg_entry):
+ Update parameters and their description.
+ (value_of_dwarf_block_entry): Remove variables dwarf_reg and fb_offset.
+ New variable kind_u. Adjust the caller for updated parameters.
+ (needs_dwarf_reg_entry_value): Update parameters.
+ * dwarf2read.c (read_call_site_scope): New variable loc. Use it
+ instead of attr. Update for the changed fields of struct
+ call_site_parameter.
+ * gdbtypes.h: Include dwarf2expr.h.
+ (enum call_site_parameter_kind): New.
+ (struct call_site.parameter): New field kind. Wrap dwarf_reg and
+ fb_offset into new union u.
+
+2012-06-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ * amd64-tdep.c (amd64_x32_analyze_stack_align): New function.
+ (amd64_analyze_prologue): Call amd64_x32_analyze_stack_align
+ for x32.
+
+2012-06-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ * amd64-linux-nat.c (compat_x32_clock_t): New.
+ (compat_x32_siginfo_t): Likewise.
+ (compat_x32_siginfo_from_siginfo): Likewise.
+ (siginfo_from_compat_x32_siginfo): Likewise.
+ (amd64_linux_siginfo_fixup): Call compat_x32_siginfo_from_siginfo
+ and siginfo_from_compat_x32_siginfo for x32.
+
+2012-06-15 Hui Zhu <hui_zhu@mentor.com>
+
+ * tracepoint.c (tfile_xfer_partial): Add a lseek.
+
+2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * amd64-linux-nat.c (ps_get_thread_area): Check bits_per_word
+ instead of gdbarch_ptr_bit.
+ * amd64-nat.c (amd64_native_gregset_reg_offset): Likewise.
+ (amd64_supply_native_gregset): Likewise.
+ (amd64_collect_native_gregset): Likewise.
+ * amd64-tdep.c (amd64_supply_fxsave): Likewise.
+ (amd64_supply_xsave): Likewise.
+ (amd64_collect_fxsave): Likewise.
+ (amd64_collect_xsave): Likewise.
+
+2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * amd64-linux-nat.c (AMD64_LINUX_X32_DS): New.
+ (amd64_linux_read_description): Check DS segment register for
+ x32 process.
+
+2012-06-15 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (dw2_find_symbol_file): Unconditionally use
+ init_cutu_and_read_dies.
+
+2012-06-15 Iain Sandoe <iain@codesourcery.com>
+
+ * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2012-06-15 Tom Tromey <tromey@redhat.com>
+
+ * valops.c (value_find_oload_method_list): Now static.
+ * value.h (value_find_oload_method_list): Don't declare.
+
+2012-06-15 Tom Tromey <tromey@redhat.com>
+
+ * valops.c (find_overload_match): Use value_ind.
+
+2012-06-15 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * infrun.c (handle_inferior_event): Correct indentation.
+
+2012-06-14 Doug Evans <dje@google.com>
+
+ * dwarf2loc.c (debug_loc_kind): Add DEBUG_LOC_START_LENGTH.
+ (DEBUG_LOC_START_END): Renamed from DEBUG_LOC_NORMAL.
+ All uses updated.
+ (decode_debug_loc_dwo_addresses): New arg "byte_order". All callers
+ updated. Handle DEBUG_LOC_START_LENGTH.
+ (dwarf2_find_location_expression): Handle DEBUG_LOC_START_LENGTH.
+ (loclist_describe_location): Ditto.
+
+2012-06-14 Maciej W. Rozycki <macro@codesourcery.com>
+
+ PR backtrace/13866
+ * infrun.c (handle_inferior_event): Re-fetch frame and gdbarch
+ after hiding inline functions.
+
+2012-06-13 Joel Brobecker <brobecker@adacore.com>
+
+ * inf-ttrace.c (_initialize_hppa_hpux_nat): Rename into
+ _initialize_inf_ttrace.
+
+2012-06-13 Joel Brobecker <brobecker@adacore.com>
+
+ * ia64-hpux-nat.c (_initialize_ia64_hpux_nat): Renames
+ _initialize_hppa_hpux_nat.
+
+2012-06-13 Joel Brobecker <brobecker@adacore.com>
+
+ * remote-sim.c (sim_command_completer): Change type of return
+ value to "VEC (char_ptr) *". Adjust implementation accordingly.
+
+2012-06-13 Mark Kettenis <kettenis@gnu.org>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ PR tdep/14222
+ * i386-tdep.c (i386_push_dummy_call): Unconditionally align the
+ stack on a 16-byte boundary.
+
+2012-06-13 Kaushik Srenevasan <kaushik@twitter.com>
+
+ * jit.c (finalize_symtab): Set function's return type to 'void' by
+ default.
+
+2012-06-13 Mark Kettenis <kettenis@gnu.org>
+ H.J. Lu <hongjiu.lu@intel.com>
+
+ * amd64-linux-tdep.c (amd64_linux_init_abi_common): New function.
+ Move bits common to both the classic LP64 and the new x32 ILP32
+ ABI here.
+ (amd64_linux_init_abi): Call amd64_linux_init_abi_common.
+ (amd64_x32_linux_init_abi): New function.
+ (_initialize_amd64_linux_tdep): Register osabi for bfd_mach_x64_32
+ subtype.
+
+ * i386-tdep.h (i386_pseudo_register_name): New prototype.
+ * i386-tdep.c (i386_pseudo_register_name): Make public.
+ * amd64-tdep.h (amd64_x32_init_abi): New prototype.
+ * amd64-tdep.c (amd64_dword_names): Add "eip".
+ (amd64_x32_pseudo_register_type): New function
+ (amd64_x32_init_abi): New function.
+
+2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ PR build/14003
+ * inferior.h (struct inferior_suspend_state): Comment out.
+ (struct inferior): Comment out the field suspend.
+ * infrun.c (struct infcall_suspend_state): Comment out the field
+ inferior_suspend.
+ (save_infcall_suspend_state, restore_infcall_suspend_state): Comment
+ out its assignment.
+
+2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
+ * c-exp.y (classify_inner_name): Remove caller assumptions in the
+ function comment. Return ERROR for unresolved cases. Implement
+ returning proper NAME.
+ (yylex): Accept also NAME from classify_inner_name.
+ * cp-namespace.c (cp_lookup_nested_type): Rename to ...
+ (cp_lookup_nested_symbol): ... here. Return any found symbol, not just
+ LOC_TYPEDEF type.
+ * cp-support.h (cp_lookup_nested_type): Update its declaration.
+
+2012-06-13 Tom Tromey <tromey@redhat.com>
+
+ * breakpoint.c (condition_completer): New function.
+ (_initialize_breakpoint): Use it.
+ * value.c (complete_internalvar): New function.
+ * value.h (complete_internalvar): Declare.
+
+2012-06-13 Tom Tromey <tromey@redhat.com>
+
+ * ada-lang.c (ada_make_symbol_completion_list): Return a VEC.
+ * breakpoint.c (catch_syscall_completer): Return a VEC.
+ * cli/cli-cmds.c (complete_command): Update.
+ * cli/cli-decode.c (complete_on_cmdlist): Return a VEC.
+ (complete_on_enum): Likewise.
+ * command.h: Include gdb_vecs.h.
+ (completer_ftype): Change return type.
+ (complete_on_cmdlist, complete_on_enum): Likewise.
+ * completer.c (noop_completer, filename_completer)
+ (location_completer): Return a VEC.
+ (add_struct_fields): Remove 'nextp' argument. Change 'output'
+ to a VEC.
+ (expression_completer, complete_line_internal, complete_line)
+ (command_completer): Return a VEC.
+ (gdb_completion_word_break_characters, line_completion_function):
+ Update.
+ * completer.h: Include gdb_vecs.h.
+ (complete_line, noop_completer, filename_completer)
+ (expression_completer, location_completer, command_completer):
+ Update.
+ * f-lang.c (f_word_break_characters): Return a VEC.
+ * interps.c (interpreter_completer): Return a VEC.
+ * language.h (struct language_defn)
+ <la_make_symbol_completion_list>: Return a VEC.
+ * python/py-cmd.c (cmdpy_completer): Return a VEC.
+ * symtab.c (free_completion_list): Take a VEC.
+ (return_val_size, return_val_index): Remove.
+ (return_val): Now a VEC.
+ (completion_list_add_name): Update.
+ (default_make_symbol_completion_list_break_on)
+ (default_make_symbol_completion_list, make_symbol_completion_list)
+ (make_symbol_completion_list_fn, make_file_symbol_completion_list):
+ Return a VEC.
+ (add_filename_to_list): Update.
+ (struct add_partial_filename_data) <list_used, list_alloced>: Remove.
+ <list>: Now a VEC.
+ (maybe_add_partial_symtab_filename): Update.
+ (make_source_files_completion_list): Return a VEC.
+ * symtab.h (default_make_symbol_completion_list_break_on)
+ (default_make_symbol_completion_list, make_symbol_completion_list)
+ (make_symbol_completion_list_fn, make_file_symbol_completion_list)
+ (make_source_files_completion_list): Update.
+
+2012-06-13 Tom Tromey <tromey@redhat.com>
+
+ * breakpoint.c (add_catch_command): Use completer_ftype.
+ * breakpoint.h: Include command.h.
+ (add_catch_command): Use completer_ftype.
+ * cli/cli-decode.c (set_cmd_completer): Use completer_ftype.
+ * cli/cli-decode.h (struct cmd_list_element) <completer>:
+ Use completer_ftype.
+ * command.h (completer_ftype): New typedef.
+ (set_cmd_completer): Use it.
+ * python/py-cmd.c (struct cmdpy_completer) <completer>: Use
+ completer_ftype.
+
+2012-06-13 Pedro Alves <palves@redhat.com>
+
+ Partial revert of previous change.
+
+ * serial.c (scb_base): New global.
+ (serial_for_fd): New.
+ (serial_open, serial_fdopen_ops): Link new serial in open serials
+ chain.
+ (do_serial_close): Unlink serial from the open serials chain.
+
+2012-06-12 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (infrun_thread_stop_requested_callback): Don't switch
+ threads here.
+ (prepare_for_detach): No longer context switch here in non-stop
+ mode.
+ (fetch_inferior_event): Ditto.
+ (handle_inferior_event) <STOP_QUIETLY || NO_STOP_QUIETLY>: Switch
+ to the event thread before removing breakpoints. Switch to the
+ event thread before inserting breakpoints and resuming.
+ (handle_inferior_event) <TARGET_WAITKIND_SPURIOUS>: Switch to the
+ event thread before resuming.
+ (handle_inferior_event) <stepping_past_singlestep_breakpoint>:
+ Switch to the event thread before removing breakpoints.
+
+2012-06-12 Eli Zaretskii <eliz@gnu.org>
+
+ * infcmd.c (construct_inferior_arguments) [__MINGW32__]: Quote
+ special characters correctly for the Windows shells. See
+ http://sourceware.org/ml/gdb/2012-06/msg00047.html for the bug
+ report.
+ [!__MINGW32__]: Remove extra double quote character from special
+ characters.
+
+2012-06-11 Stan Shebs <stan@codesourcery.com>
+
+ * ui-out.h: Remove #if 0 declarations.
+ * ui-out.c: Remove #if 0 functions.
+
+2012-06-11 Pedro Alves <palves@redhat.com>
+
+ * ser-base.c (run_async_handler_and_reschedule): New.
+ (fd_event, push_event): Use it.
+ * serial.c (serial_open, serial_fdopen_ops): Set the initial
+ reference count to 1.
+ (do_serial_close): Set the bufp field to NULL. Use serial_unref
+ instead of xfree.
+ (serial_is_open, serial_ref, serial_unref): New.
+ * serial.h (serial_open): Adjust comment.
+ (serial_is_open): Declare.
+ (serial_close): Adjust comment.
+ (serial_ref, serial_unref) Declare.
+ (struct serial): New field 'refcnt'.
+
+2012-06-11 Pedro Alves <palves@redhat.com>
+
+ Remove #if 0'd "connect" command, and unnecessary associated
+ refcounting and serial reuse bits.
+
+ * serial.h (struct serial): Remove fields 'next' and 'refcnt'.
+ * serial.c (last_serial_opened): Delete.
+ (scb_base): Delete.
+ (serial_open): Adjust.
+ (serial_for_fd): Delete.
+ (serial_fdopen_ops, do_serial_close): Adjust.
+ (serial_fdopen_ops): Adjust.
+
+2012-06-11 Pedro Alves <palves@redhat.com>
+
+ * serial.c (do_serial_close): Remove early return when SCB is
+ null.
+
+2012-06-11 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (dw2_get_file_names_reader): Ignore partial units.
+
+2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix regression by the "ambiguous linespec" series.
+ * breakpoint.c (parse_breakpoint_sals): New variable cursal. Use
+ get_last_displayed_symtab and get_last_displayed_line and depending
+ on CURSAL.
+
+2012-06-11 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (dw2_get_primary_filename_reader): New function.
+ (dw2_find_symbol_file): Use it.
+
2012-06-11 Michael Eager <eager@eagercon.com>
* mips-linux-tdep.c (mips_gdb_signal_from_target): New