+2015-09-02 Patrick Palka <patrick@parcs.ath.cx>
+
+ * gdb_obstack.h (obstack_strdup): Declare.
+ * gdb_obstack.c (obstack_strdup): Define.
+ * gdbarch.sh (gdbarch_obstack_strdup): Declare and define.
+ * gdbarch.c: Regenerate.
+ * gdbarch.h: Regenerate.
+ * gdbtypes.c (arch_type): Use gdbarch_obstack_strdup.
+
+2015-09-02 Patrick Palka <patrick@parcs.ath.cx>
+
+ * gdbtypes.c (copy_type_recursive): Update documentation.
+
+2015-09-01 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * solib-svr4.c (solib_event_probe_action): Initialize 'probe_argc'
+ as zero.
+
+2015-09-01 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * solib-svr4.c (svr4_handle_solib_event): Initialize 'val' as NULL
+
+2015-09-01 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * solib-svr4.c (solib_event_probe_action): Call
+ get_probe_argument_count using TRY...CATCH.
+ (svr4_handle_solib_event): Likewise, for evaluate_probe_argument.
+
+2015-09-01 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * probe.h (struct probe_ops) <get_probe_argument_count,
+ evaluate_probe_argument, enable_probe, disable_probe>: Mention in
+ the comment that the function can throw an exception.
+ (get_probe_argument_count): Likewise.
+ (evaluate_probe_argument): Likewise.
+ * stap-probe.c (stap_get_opcode): Call error instead of
+ internal_error.
+ (stap_get_expected_argument_type): Likewise. Add argument
+ 'probe'. Improve error message by mentioning the probe's name.
+ (stap_parse_probe_arguments): Adjust call to
+ stap_get_expected_argument_type.
+ (stap_get_arg): Add comment. Assert that 'probe->args_parsed' is
+ not zero. Call internal_error if GDB requests an argument but the
+ probe has no arguments.
+
+2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
+
+ * ada-lang.c (ada_resolve_function): Do not ask the user what
+ match to use when in completion mode.
+
+2015-08-31 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * tui/tui-data.c (tui_win_name): Make local variable const, remove
+ cast of NULL.
+
+2015-08-31 Max Filippov <jcmvbkbc@gmail.com>
+
+ * xtensa-tdep.h (XTENSA_GDBARCH_TDEP_INSTANTIATE): Initialize
+ call_abi using XSHAL_ABI macro.
+
+2015-08-29 Doug Evans <xdje42@gmail.com>
+
+ * symtab.h (struct symbol): Tweak comment.
+
+2015-08-29 Patrick Palka <patrick@parcs.ath.cx>
+
+ * gdbtypes.c (alloc_type_arch): Allocate the type on the given
+ gdbarch obstack instead of on the heap. Update commentary
+ accordingly.
+
+2015-08-28 Joel Brobecker <brobecker@adacore.com>
+
+ GDB 7.10 released.
+
+2015-08-28 Simon Marchi <simon.marchi@ericsson.com>
+
+ * NEWS: Update entry about non-8-bits addressable memory.
+
+2015-08-28 Ulrich Weigand <uweigand@de.ibm.com>
+
+ Revert:
+ 2014-11-06 Doug Evans <xdje42@gmail.com>
+ * solib.c (solib_global_lookup): Fetch arch from objfile,
+ not target_gdbarch.
+
+2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Do not
+ attempt to relocate a TLS variable offset.
+
+2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * spu-multiarch.c (parse_spufs_run): Bail out if inferior is not
+ registered yet. Set inferior_ptid while calling target_read_memory.
+
+2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * nat/linux-ptrace.h (GDB_ARCH_TRAP_BRKPT): Replace by ...
+ (GDB_ARCH_IS_TRAP_BRKPT): ... this. Add __powerpc__ case.
+ * linux-nat.c (check_stopped_by_breakpoint): Use
+ GDB_ARCH_IS_TRAP_BRKPT instead of GDB_ARCH_TRAP_BRKPT.
+
+2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * linux-thread-db.c (thread_db_get_thread_local_address): If the
+ thread was not yet discovered, use thread_from_lwp instead of
+ calling thread_db_find_new_threads_1.
+
+2015-08-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * m88k-tdep.c (m88k_analyze_prologue): Fix inverted allocation
+ statements.
+
+2015-08-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * NEWS: Document support for non-8-bits addressable memory.
+
+2015-08-27 Pedro Alves <palves@redhat.com>
+
+ * configure.ac: Remove AC_TYPE_SIGNAL call.
+ * configure, config.in: Regenerate.
+
+2015-08-27 Pedro Alves <palves@redhat.com>
+
+ * cp-support.c (gdb_demangle): Use sighandler_t. Remove cast.
+ * extension-priv.h: Include signal.h.
+ (struct signal_handler) <handler>: Change type to sighandler_t.
+ * extension.c (install_gdb_sigint_handler): Use sighandler_t.
+ * inflow.c (sigint_ours, sigquit_ours): Change type to
+ sighandler_t.
+ (child_terminal_inferior): Remove casts.
+ (child_terminal_ours_1, new_tty): Use sighandler_t. Remove casts.
+ (osig): Change type to sighandler_t.
+ * nto-procfs.c (ofunc): Change type to sighandler_t.
+ (procfs_wait): Remove casts.
+ * remote-m32r-sdi.c (m32r_wait, m32r_load): Use sighandler_t.
+ * remote-sim.c (gdbsim_wait): Use sighandler_t.
+ * utils.c (wait_to_die_with_timeout): Use sighandler_t.
+
+2015-08-27 Pedro Alves <palves@redhat.com>
+
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add signal-h.
+ * gnulib/aclocal.m4: Renegerate.
+ * gnulib/config.in: Renegerate.
+ * gnulib/configure: Renegerate.
+ * gnulib/import/Makefile.am: Update.
+ * gnulib/import/Makefile.in: Regenerate.
+ * gnulib/import/m4/gnulib-cache.m4: Update.
+ * gnulib/import/m4/gnulib-comp.m4: Update.
+ * gnulib/import/m4/signal_h.m4: New file.
+ * gnulib/import/signal.in.h: New file.
+
+2015-08-27 Pedro Alves <palves@redhat.com>
+
+ * remote.c (DEFAULT_MAX_MEMORY_PACKET_SIZE)
+ (MIN_MEMORY_PACKET_SIZE): New.
+ (MAX_REMOTE_PACKET_SIZE, MIN_REMOTE_PACKET_SIZE): Delete.
+ (get_memory_packet_size): Adjust. No longer limit the max packet
+ size.
+ (set_memory_packet_size): Adjust, and remove dead code.
+ (remote_check_symbols): Use xmalloc and a cleanup instead of
+ alloca.
+ (remote_packet_size): No longer cap the packet size.
+ (putpkt_binary): Use xmalloc and a cleanup instead of alloca.
+
+2015-08-26 Luis Machado <lgustavo@codesourcery.com>
+
+ * compile/compile.c (compile_to_object): Mention language in
+ error message.
+
+2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
+
+ * target.c (target_pre_inferior): Unset attach_flag.
+
+2015-08-26 Simon Marchi <simon.marchi@ericsson.com>
+
+ * gdbarch.sh (append_name): Fix type in XRESIZEVEC.
+ * gdbarch.c: Re-generate.
+
+2015-08-26 Simon Marchi <simon.marchi@ericsson.com>
+
+ * aarch64-linux-nat.c (aarch64_add_process): Replace xmalloc-family
+ function with the XNEW-family equivalent.
+ * aarch64-tdep.c (aarch64_gdbarch_init): Likewise.
+ * ada-exp.y (write_ambiguous_var): Likewise.
+ * ada-lang.c (resolve_subexp): Likewise.
+ (user_select_syms): Likewise.
+ (assign_aggregate): Likewise.
+ (ada_evaluate_subexp): Likewise.
+ (cache_symbol): Likewise.
+ * addrmap.c (allocate_key): Likewise.
+ (addrmap_create_mutable): Likewise.
+ * aix-thread.c (sync_threadlists): Likewise.
+ * alpha-tdep.c (alpha_push_dummy_call): Likewise.
+ (alpha_gdbarch_init): Likewise.
+ * amd64-windows-tdep.c (amd64_windows_push_arguments): Likewise.
+ * arm-linux-nat.c (arm_linux_add_process): Likewise.
+ * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Likewise.
+ * arm-tdep.c (push_stack_item): Likewise.
+ (arm_displaced_step_copy_insn): Likewise.
+ (arm_gdbarch_init): Likewise.
+ (_initialize_arm_tdep): Likewise.
+ * avr-tdep.c (push_stack_item): Likewise.
+ * ax-general.c (new_agent_expr): Likewise.
+ * block.c (block_initialize_namespace): Likewise.
+ * breakpoint.c (alloc_counted_command_line): Likewise.
+ (update_dprintf_command_list): Likewise.
+ (parse_breakpoint_sals): Likewise.
+ (decode_static_tracepoint_spec): Likewise.
+ (until_break_command): Likewise.
+ (clear_command): Likewise.
+ (update_global_location_list): Likewise.
+ (get_breakpoint_objfile_data) Likewise.
+ * btrace.c (ftrace_new_function): Likewise.
+ (btrace_set_insn_history): Likewise.
+ (btrace_set_call_history): Likewise.
+ * buildsym.c (add_symbol_to_list): Likewise.
+ (record_pending_block): Likewise.
+ (start_subfile): Likewise.
+ (start_buildsym_compunit): Likewise.
+ (push_subfile): Likewise.
+ (end_symtab_get_static_block): Likewise.
+ (buildsym_init): Likewise.
+ * cli/cli-cmds.c (source_command): Likewise.
+ * cli/cli-decode.c (add_cmd): Likewise.
+ * cli/cli-script.c (build_command_line): Likewise.
+ (setup_user_args): Likewise.
+ (realloc_body_list): Likewise.
+ (process_next_line): Likewise.
+ (copy_command_lines): Likewise.
+ * cli/cli-setshow.c (do_set_command): Likewise.
+ * coff-pe-read.c (read_pe_exported_syms): Likewise.
+ * coffread.c (coff_locate_sections): Likewise.
+ (coff_symtab_read): Likewise.
+ (coff_read_struct_type): Likewise.
+ * common/cleanups.c (make_my_cleanup2): Likewise.
+ * common/common-exceptions.c (throw_it): Likewise.
+ * common/filestuff.c (make_cleanup_close): Likewise.
+ * common/format.c (parse_format_string): Likewise.
+ * common/queue.h (DEFINE_QUEUE_P): Likewise.
+ * compile/compile-object-load.c (munmap_list_add): Likewise.
+ (compile_object_load): Likewise.
+ * compile/compile-object-run.c (compile_object_run): Likewise.
+ * compile/compile.c (append_args): Likewise.
+ * corefile.c (specify_exec_file_hook): Likewise.
+ * cp-support.c (make_symbol_overload_list): Likewise.
+ * cris-tdep.c (push_stack_item): Likewise.
+ (cris_gdbarch_init): Likewise.
+ * ctf.c (ctf_trace_file_writer_new): Likewise.
+ * dbxread.c (init_header_files): Likewise.
+ (add_new_header_file): Likewise.
+ (init_bincl_list): Likewise.
+ (dbx_end_psymtab): Likewise.
+ (start_psymtab): Likewise.
+ (dbx_end_psymtab): Likewise.
+ * dcache.c (dcache_init): Likewise.
+ * dictionary.c (dict_create_hashed): Likewise.
+ (dict_create_hashed_expandable): Likewise.
+ (dict_create_linear): Likewise.
+ (dict_create_linear_expandable): Likewise.
+ * dtrace-probe.c (dtrace_process_dof_probe): Likewise.
+ * dummy-frame.c (register_dummy_frame_dtor): Likewise.
+ * dwarf2-frame-tailcall.c (cache_new_ref1): Likewise.
+ * dwarf2-frame.c (dwarf2_build_frame_info): Likewise.
+ (decode_frame_entry_1): Likewise.
+ * dwarf2expr.c (new_dwarf_expr_context): Likewise.
+ * dwarf2loc.c (dwarf2_compile_expr_to_ax): Likewise.
+ * dwarf2read.c (dwarf2_has_info): Likewise.
+ (create_signatured_type_table_from_index): Likewise.
+ (dwarf2_read_index): Likewise.
+ (dw2_get_file_names_reader): Likewise.
+ (create_all_type_units): Likewise.
+ (read_cutu_die_from_dwo): Likewise.
+ (init_tu_and_read_dwo_dies): Likewise.
+ (init_cutu_and_read_dies): Likewise.
+ (create_all_comp_units): Likewise.
+ (queue_comp_unit): Likewise.
+ (inherit_abstract_dies): Likewise.
+ (read_call_site_scope): Likewise.
+ (dwarf2_add_field): Likewise.
+ (dwarf2_add_typedef): Likewise.
+ (dwarf2_add_member_fn): Likewise.
+ (attr_to_dynamic_prop): Likewise.
+ (abbrev_table_alloc_abbrev): Likewise.
+ (abbrev_table_read_table): Likewise.
+ (add_include_dir): Likewise.
+ (add_file_name): Likewise.
+ (dwarf_decode_line_header): Likewise.
+ (dwarf2_const_value_attr): Likewise.
+ (dwarf_alloc_block): Likewise.
+ (parse_macro_definition): Likewise.
+ (set_die_type): Likewise.
+ (write_psymtabs_to_index): Likewise.
+ (create_cus_from_index): Likewise.
+ (dwarf2_create_include_psymtab): Likewise.
+ (process_psymtab_comp_unit_reader): Likewise.
+ (build_type_psymtab_dependencies): Likewise.
+ (read_comp_units_from_section): Likewise.
+ (compute_compunit_symtab_includes): Likewise.
+ (create_dwo_unit_in_dwp_v1): Likewise.
+ (create_dwo_unit_in_dwp_v2): Likewise.
+ (read_func_scope): Likewise.
+ (process_structure_scope): Likewise.
+ (mark_common_block_symbol_computed): Likewise.
+ (load_partial_dies): Likewise.
+ (dwarf2_symbol_mark_computed): Likewise.
+ * elfread.c (elf_symfile_segments): Likewise.
+ (elf_read_minimal_symbols): Likewise.
+ * environ.c (make_environ): Likewise.
+ * eval.c (evaluate_subexp_standard): Likewise.
+ * event-loop.c (create_file_handler): Likewise.
+ (create_async_signal_handler): Likewise.
+ (create_async_event_handler): Likewise.
+ (create_timer): Likewise.
+ * exec.c (build_section_table): Likewise.
+ * fbsd-nat.c (fbsd_remember_child): Likewise.
+ * fork-child.c (fork_inferior): Likewise.
+ * frv-tdep.c (new_variant): Likewise.
+ * gdbarch.sh (gdbarch_alloc): Likewise.
+ (append_name): Likewise.
+ * gdbtypes.c (rank_function): Likewise.
+ (copy_type_recursive): Likewise.
+ (add_dyn_prop): Likewise.
+ * gnu-nat.c (make_proc): Likewise.
+ (make_inf): Likewise.
+ (gnu_write_inferior): Likewise.
+ * gnu-v3-abi.c (build_gdb_vtable_type): Likewise.
+ (build_std_type_info_type): Likewise.
+ * guile/scm-param.c (compute_enum_list): Likewise.
+ * guile/scm-utils.c (gdbscm_parse_function_args): Likewise.
+ * guile/scm-value.c (gdbscm_value_call): Likewise.
+ * h8300-tdep.c (h8300_gdbarch_init): Likewise.
+ * hppa-tdep.c (hppa_init_objfile_priv_data): Likewise.
+ (read_unwind_info): Likewise.
+ * ia64-tdep.c (ia64_gdbarch_init): Likewise.
+ * infcall.c (dummy_frame_context_saver_setup): Likewise.
+ (call_function_by_hand_dummy): Likewise.
+ * infcmd.c (step_once): Likewise.
+ (finish_forward): Likewise.
+ (attach_command): Likewise.
+ (notice_new_inferior): Likewise.
+ * inferior.c (add_inferior_silent): Likewise.
+ * infrun.c (add_displaced_stepping_state): Likewise.
+ (save_infcall_control_state): Likewise.
+ (save_inferior_ptid): Likewise.
+ (_initialize_infrun): Likewise.
+ * jit.c (bfd_open_from_target_memory): Likewise.
+ (jit_gdbarch_data_init): Likewise.
+ * language.c (add_language): Likewise.
+ * linespec.c (decode_line_2): Likewise.
+ * linux-nat.c (add_to_pid_list): Likewise.
+ (add_initial_lwp): Likewise.
+ * linux-thread-db.c (add_thread_db_info): Likewise.
+ (record_thread): Likewise.
+ (info_auto_load_libthread_db): Likewise.
+ * m32c-tdep.c (m32c_gdbarch_init): Likewise.
+ * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
+ * m68k-tdep.c (m68k_gdbarch_init): Likewise.
+ * m88k-tdep.c (m88k_analyze_prologue): Likewise.
+ * macrocmd.c (macro_define_command): Likewise.
+ * macroexp.c (gather_arguments): Likewise.
+ * macroscope.c (sal_macro_scope): Likewise.
+ * macrotab.c (new_macro_table): Likewise.
+ * mdebugread.c (push_parse_stack): Likewise.
+ (parse_partial_symbols): Likewise.
+ (parse_symbol): Likewise.
+ (psymtab_to_symtab_1): Likewise.
+ (new_block): Likewise.
+ (new_psymtab): Likewise.
+ (mdebug_build_psymtabs): Likewise.
+ (add_pending): Likewise.
+ (elfmdebug_build_psymtabs): Likewise.
+ * mep-tdep.c (mep_gdbarch_init): Likewise.
+ * mi/mi-main.c (mi_execute_command): Likewise.
+ * mi/mi-parse.c (mi_parse_argv): Likewise.
+ * minidebug.c (lzma_open): Likewise.
+ * minsyms.c (terminate_minimal_symbol_table): Likewise.
+ * mips-linux-nat.c (mips_linux_insert_watchpoint): Likewise.
+ * mips-tdep.c (mips_gdbarch_init): Likewise.
+ * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
+ * msp430-tdep.c (msp430_gdbarch_init): Likewise.
+ * mt-tdep.c (mt_registers_info): Likewise.
+ * nat/aarch64-linux.c (aarch64_linux_new_thread): Likewise.
+ * nat/linux-btrace.c (linux_enable_bts): Likewise.
+ (linux_enable_pt): Likewise.
+ * nat/linux-osdata.c (linux_xfer_osdata_processes): Likewise.
+ (linux_xfer_osdata_processgroups): Likewise.
+ * nios2-tdep.c (nios2_gdbarch_init): Likewise.
+ * nto-procfs.c (procfs_meminfo): Likewise.
+ * objc-lang.c (start_msglist): Likewise.
+ (selectors_info): Likewise.
+ (classes_info): Likewise.
+ (find_methods): Likewise.
+ * objfiles.c (allocate_objfile): Likewise.
+ (update_section_map): Likewise.
+ * osabi.c (gdbarch_register_osabi): Likewise.
+ (gdbarch_register_osabi_sniffer): Likewise.
+ * parse.c (start_arglist): Likewise.
+ * ppc-linux-nat.c (hwdebug_find_thread_points_by_tid): Likewise.
+ (hwdebug_insert_point): Likewise.
+ * printcmd.c (display_command): Likewise.
+ (ui_printf): Likewise.
+ * procfs.c (create_procinfo): Likewise.
+ (load_syscalls): Likewise.
+ (proc_get_LDT_entry): Likewise.
+ (proc_update_threads): Likewise.
+ * prologue-value.c (make_pv_area): Likewise.
+ (pv_area_store): Likewise.
+ * psymtab.c (extend_psymbol_list): Likewise.
+ (init_psymbol_list): Likewise.
+ (allocate_psymtab): Likewise.
+ * python/py-inferior.c (add_thread_object): Likewise.
+ * python/py-param.c (compute_enum_values): Likewise.
+ * python/py-value.c (valpy_call): Likewise.
+ * python/py-varobj.c (py_varobj_iter_next): Likewise.
+ * python/python.c (ensure_python_env): Likewise.
+ * record-btrace.c (record_btrace_start_replaying): Likewise.
+ * record-full.c (record_full_reg_alloc): Likewise.
+ (record_full_mem_alloc): Likewise.
+ (record_full_end_alloc): Likewise.
+ (record_full_core_xfer_partial): Likewise.
+ * regcache.c (get_thread_arch_aspace_regcache): Likewise.
+ * remote-fileio.c (remote_fileio_init_fd_map): Likewise.
+ * remote-notif.c (remote_notif_state_allocate): Likewise.
+ * remote.c (demand_private_info): Likewise.
+ (remote_notif_stop_alloc_reply): Likewise.
+ (remote_enable_btrace): Likewise.
+ * reverse.c (save_bookmark_command): Likewise.
+ * rl78-tdep.c (rl78_gdbarch_init): Likewise.
+ * rx-tdep.c (rx_gdbarch_init): Likewise.
+ * s390-linux-nat.c (s390_insert_watchpoint): Likewise.
+ * ser-go32.c (dos_get_tty_state): Likewise.
+ (dos_copy_tty_state): Likewise.
+ * ser-mingw.c (ser_windows_open): Likewise.
+ (ser_console_wait_handle): Likewise.
+ (ser_console_get_tty_state): Likewise.
+ (make_pipe_state): Likewise.
+ (net_windows_open): Likewise.
+ * ser-unix.c (hardwire_get_tty_state): Likewise.
+ (hardwire_copy_tty_state): Likewise.
+ * solib-aix.c (solib_aix_new_lm_info): Likewise.
+ * solib-dsbt.c (dsbt_current_sos): Likewise.
+ (dsbt_relocate_main_executable): Likewise.
+ * solib-frv.c (frv_current_sos): Likewise.
+ (frv_relocate_main_executable): Likewise.
+ * solib-spu.c (spu_bfd_fopen): Likewise.
+ * solib-svr4.c (lm_info_read): Likewise.
+ (svr4_copy_library_list): Likewise.
+ (svr4_default_sos): Likewise.
+ * source.c (find_source_lines): Likewise.
+ (line_info): Likewise.
+ (add_substitute_path_rule): Likewise.
+ * spu-linux-nat.c (spu_bfd_open): Likewise.
+ * spu-tdep.c (info_spu_dma_cmdlist): Likewise.
+ * stabsread.c (dbx_lookup_type): Likewise.
+ (read_type): Likewise.
+ (read_member_functions): Likewise.
+ (read_struct_fields): Likewise.
+ (read_baseclasses): Likewise.
+ (read_args): Likewise.
+ (_initialize_stabsread): Likewise.
+ * stack.c (func_command): Likewise.
+ * stap-probe.c (handle_stap_probe): Likewise.
+ * symfile.c (addrs_section_sort): Likewise.
+ (addr_info_make_relative): Likewise.
+ (load_section_callback): Likewise.
+ (add_symbol_file_command): Likewise.
+ (init_filename_language_table): Likewise.
+ * symtab.c (create_filename_seen_cache): Likewise.
+ (sort_search_symbols_remove_dups): Likewise.
+ (search_symbols): Likewise.
+ * target.c (make_cleanup_restore_target_terminal): Likewise.
+ * thread.c (new_thread): Likewise.
+ (enable_thread_stack_temporaries): Likewise.
+ (make_cleanup_restore_current_thread): Likewise.
+ (thread_apply_all_command): Likewise.
+ * tic6x-tdep.c (tic6x_gdbarch_init): Likewise.
+ * top.c (gdb_readline_wrapper): Likewise.
+ * tracefile-tfile.c (tfile_trace_file_writer_new): Likewise.
+ * tracepoint.c (trace_find_line_command): Likewise.
+ (all_tracepoint_actions_and_cleanup): Likewise.
+ (make_cleanup_restore_current_traceframe): Likewise.
+ (get_uploaded_tp): Likewise.
+ (get_uploaded_tsv): Likewise.
+ * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
+ (tui_alloc_win_info): Likewise.
+ (tui_alloc_content): Likewise.
+ (tui_add_content_elements): Likewise.
+ * tui/tui-disasm.c (tui_find_disassembly_address): Likewise.
+ (tui_set_disassem_content): Likewise.
+ * ui-file.c (ui_file_new): Likewise.
+ (stdio_file_new): Likewise.
+ (tee_file_new): Likewise.
+ * utils.c (make_cleanup_restore_integer): Likewise.
+ (add_internal_problem_command): Likewise.
+ * v850-tdep.c (v850_gdbarch_init): Likewise.
+ * valops.c (find_oload_champ): Likewise.
+ * value.c (allocate_value_lazy): Likewise.
+ (record_latest_value): Likewise.
+ (create_internalvar): Likewise.
+ * varobj.c (install_variable): Likewise.
+ (new_variable): Likewise.
+ (new_root_variable): Likewise.
+ (cppush): Likewise.
+ (_initialize_varobj): Likewise.
+ * windows-nat.c (windows_make_so): Likewise.
+ * x86-nat.c (x86_add_process): Likewise.
+ * xcoffread.c (arrange_linetable): Likewise.
+ (allocate_include_entry): Likewise.
+ (process_linenos): Likewise.
+ (SYMBOL_DUP): Likewise.
+ (xcoff_start_psymtab): Likewise.
+ (xcoff_end_psymtab): Likewise.
+ * xml-support.c (gdb_xml_parse_attr_ulongest): Likewise.
+ * xtensa-tdep.c (xtensa_register_type): Likewise.
+ * gdbarch.c: Regenerate.
+ * gdbarch.h: Regenerate.
+
+2015-08-25 Don Breazeal <donb@codesourcery.com>
+
+ * infrun.c (follow_exec): Re-order operations for
+ handling follow-exec-mode "new".
+ (handle_inferior_event_1): Assign ecs->event_thread
+ to the current thread.
+ * remote.c (get_remote_arch_state): Add an assertion.
+
+2015-08-26 Pedro Alves <palves@redhat.com>
+
+ * MAINTAINERS: Add Markus Metzger as btrace maintainer.
+
+2015-08-25 Pedro Alves <palves@redhat.com>
+
+ PR gdb/18804
+ * defs.h (maybe_quit): Declare.
+ (QUIT): Now calls maybe_quit.
+ * event-loop.c (clear_async_signal_handler)
+ (async_signal_handler_is_marked): New functions.
+ * event-loop.h (async_signal_handler_is_marked)
+ (clear_async_signal_handler): New declarations.
+ * remote.c (remote_check_pending_interrupt): New function.
+ (interrupt_query): Use make_cleanup_restore_target_terminal. No
+ longer check whether the target is async. If waiting for a stop
+ reply, and a Ctrl-C as been sent to the target, offer to
+ disconnect, and throw TARGET_CLOSE_ERROR instead of a quit.
+ Otherwise do not disconnect and throw a quit.
+ (_initialize_remote): Install remote_check_pending_interrupt as
+ to_check_pending_interrupt.
+ * target.c (target_check_pending_interrupt): New function.
+ * target.h (struct target_ops) <to_check_pending_interrupt>: New
+ field.
+ (target_check_pending_interrupt): New declaration.
+ * utils.c (maybe_quit): New function.
+ * target-delegates.c: Regenerate.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * nat/aarch64-linux-hw-point.c (debug_reg_change_callback):
+ Rename local variable pid to tid, and get lwpid of lwp. Update
+ debug output.
+
+2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
+
+ * ada-lang.c (ada_read_var_value): Add a var_block argument
+ and pass it to default_read_var_value.
+ * block.c (block_static_link): New accessor.
+ * block.h (block_static_link): Declare it.
+ * buildsym.c (finish_block_internal): Add a static_link
+ argument. If there is a static link, associate it to the new
+ block.
+ (finish_block): Add a static link argument and pass it to
+ finish_block_internal.
+ (end_symtab_get_static_block): Update calls to finish_block and
+ to finish_block_internal.
+ (end_symtab_with_blockvector): Update call to
+ finish_block_internal.
+ * buildsym.h: Forward-declare struct dynamic_prop.
+ (struct context_stack): Add a static_link field.
+ (finish_block): Add a static link argument.
+ * c-exp.y: Remove an obsolete comment (evaluation of variables
+ already start from the selected frame, and now they climb *up*
+ the call stack) and propagate the block information to the
+ produced expression.
+ * d-exp.y: Likewise.
+ * f-exp.y: Likewise.
+ * go-exp.y: Likewise.
+ * jv-exp.y: Likewise.
+ * m2-exp.y: Likewise.
+ * p-exp.y: Likewise.
+ * coffread.c (coff_symtab_read): Update calls to finish_block.
+ * dbxread.c (process_one_symbol): Likewise.
+ * xcoffread.c (read_xcoff_symtab): Likewise.
+ * compile/compile-c-symbols.c (convert_one_symbol): Promote the
+ "sym" parameter to struct block_symbol, update its uses and pass
+ its block to calls to read_var_value.
+ (convert_symbol_sym): Update the calls to convert_one_symbol.
+ * compile/compile-loc2c.c (do_compile_dwarf_expr_to_c): Update
+ call to read_var_value.
+ * dwarf2loc.c (block_op_get_frame_base): New.
+ (dwarf2_block_frame_base_locexpr_funcs): Implement the
+ get_frame_base method.
+ (dwarf2_block_frame_base_loclist_funcs): Likewise.
+ (dwarf2locexpr_baton_eval): Add a frame argument and use it
+ instead of the selected frame in order to evaluate the
+ expression.
+ (dwarf2_evaluate_property): Add a frame argument. Update call
+ to dwarf2_locexpr_baton_eval to provide a frame in available and
+ to handle the absence of address stack.
+ * dwarf2loc.h (dwarf2_evaluate_property): Add a frame argument.
+ * dwarf2read.c (attr_to_dynamic_prop): Add a forward
+ declaration.
+ (read_func_scope): Record any available static link description.
+ Update call to finish_block.
+ (read_lexical_block_scope): Update call to finish_block.
+ * findvar.c (follow_static_link): New.
+ (get_hosting_frame): New.
+ (default_read_var_value): Add a var_block argument. Use
+ get_hosting_frame to handle non-local references.
+ (read_var_value): Add a var_block argument and pass it to the
+ LA_READ_VAR_VALUE method.
+ * gdbtypes.c (resolve_dynamic_range): Update calls to
+ dwarf2_evaluate_property.
+ (resolve_dynamic_type_internal): Likewise.
+ * guile/scm-frame.c (gdbscm_frame_read_var): Update call to
+ read_var_value, passing it the block coming from symbol lookup.
+ * guile/scm-symbol.c (gdbscm_symbol_value): Update call to
+ read_var_value (TODO).
+ * infcmd.c (finish_command_continuation): Update call to
+ read_var_value, passing it the block coming from symbol lookup.
+ * infrun.c (insert_exception_resume_breakpoint): Likewise.
+ * language.h (struct language_defn): Add a var_block argument to
+ the LA_READ_VAR_VALUE method.
+ * objfiles.c (struct static_link_htab_entry): New.
+ (static_link_htab_entry_hash): New.
+ (static_link_htab_entry_eq): New.
+ (objfile_register_static_link): New.
+ (objfile_lookup_static_link): New.
+ (free_objfile): Free the STATIC_LINKS hashed map if needed.
+ * objfiles.h: Include hashtab.h.
+ (struct objfile): Add a static_links field.
+ (objfile_register_static_link): New.
+ (objfile_lookup_static_link): New.
+ * printcmd.c (print_variable_and_value): Update call to
+ read_var_value.
+ * python/py-finishbreakpoint.c (bpfinishpy_init): Likewise.
+ * python/py-frame.c (frapy_read_var): Update call to
+ read_var_value, passing it the block coming from symbol lookup.
+ * python/py-framefilter.c (extract_sym): Add a sym_block
+ parameter and set the pointed value to NULL (TODO).
+ (enumerate_args): Update call to extract_sym.
+ (enumerate_locals): Update calls to extract_sym and to
+ read_var_value.
+ * python/py-symbol.c (sympy_value): Update call to
+ read_var_value (TODO).
+ * stack.c (read_frame_local): Update call to read_var_value.
+ (read_frame_arg): Likewise.
+ (return_command): Likewise.
+ * symtab.h (struct symbol_block_ops): Add a get_frame_base
+ method.
+ (struct symbol): Add a block field.
+ (SYMBOL_BLOCK): New accessor.
+ * valops.c (value_of_variable): Remove frame/block handling and
+ pass the block argument to read_var_value, which does this job
+ now.
+ (value_struct_elt_for_reference): Update calls to
+ read_var_value.
+ (value_of_this): Pass the block found to read_var_value.
+ * value.h (read_var_value): Add a var_block argument.
+ (default_read_var_value): Likewise.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (aarch64_linux_new_thread): Move it to ...
+ * nat/aarch64-linux.c (aarch64_linux_new_thread): ... here.
+ * nat/aarch64-linux.h (aarch64_linux_new_thread): Declare.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * Makefile.in (aarch64-liunx.o): New rule.
+ (HFILES_NO_SRCDIR): Add aarch64-linux.h.
+ * config/aarch64/linux.mh (NAT_FILE): Add aarch64-linux.o.
+ * aarch64-linux-nat.c: Include nat/aarch64-linux.h.
+ * aarch64-linux-nat.c (aarch64_get_debug_reg_state): Make it
+ extern.
+ (aarch64_linux_prepare_to_resume): Move it nat/aarch64-linux.c.
+ * nat/aarch64-linux-hw-point.h (aarch64_debug_reg_state): Declare
+ * nat/aarch64-linux.c: New file.
+ * nat/aarch64-linux.h: New file.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (aarch64_linux_prepare_to_resume): Use
+ lwp_arch_private_info and ptid_of_lwp.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (struct arch64_dr_update_callback_param):
+ Move it to nat/aarch64-linux-hw-point.c.
+ (debug_reg_change_callback): Likewise.
+ (aarch64_notify_debug_reg_change): :Likewise.
+ * nat/aarch64-linux-hw-point.c: Include nat/linux-nat.h.
+ (aarch64_dr_update_callback_param): New.
+ (debug_reg_change_callback): New function.
+ (aarch64_notify_debug_reg_change): Likewise.
+ * nat/aarch64-linux-hw-point.h (aarch64_notify_debug_reg_change):
+ Remove the declaration.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (aarch64_notify_debug_reg_change):
+ Call current_lwp_ptid.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (debug_reg_change_callback): Use
+ debug_printf.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (debug_reg_change_callback): Call
+ ptid_get_pid rather than ptid_get_lwp.
+
+2015-08-24 Pedro Alves <palves@redhat.com>
+
+ * NEWS (New commands): Mention set/show remote
+ multiprocess-extensions-packet.
+ * remote.c (remote_query_supported): Only tell the server to use
+ the multiprocess extensions if the user hasn't force-disabled them
+ with "set remote multiprocess-extensions-packet off".
+
+2015-08-24 Pedro Alves <palves@redhat.com>
+
+ * gnulib/update-gnulib.sh (GNULIB_COMMIT_SHA1): Set to
+ 1029a8112290f6eee9d7878a391c49db42c999bd.
+ * gnulib/configure, gnulib/config.in, gnulib/aclocal.m4:
+ Regenerate.
+ * gnulib/import/Makefile.am: Update.
+ * gnulib/import/Makefile.in: Update.
+ * gnulib/import/alloca.in.h: Update.
+ * gnulib/import/basename-lgpl.c: Update.
+ * gnulib/import/canonicalize-lgpl.c: Update.
+ * gnulib/import/config.charset: Update.
+ * gnulib/import/dirent.in.h: Update.
+ * gnulib/import/dirfd.c: Update.
+ * gnulib/import/dirname-lgpl.c: Update.
+ * gnulib/import/dirname.h: Update.
+ * gnulib/import/dosname.h: Update.
+ * gnulib/import/errno.in.h: Update.
+ * gnulib/import/extra/snippet/arg-nonnull.h: Update.
+ * gnulib/import/extra/snippet/c++defs.h: Update.
+ * gnulib/import/extra/snippet/warn-on-use.h: Update.
+ * gnulib/import/extra/update-copyright: Update.
+ * gnulib/import/float+.h: Update.
+ * gnulib/import/float.c: Update.
+ * gnulib/import/float.in.h: Update.
+ * gnulib/import/fnmatch.c: Update.
+ * gnulib/import/fnmatch.in.h: Update.
+ * gnulib/import/fnmatch_loop.c: Update.
+ * gnulib/import/fpucw.h: Update.
+ * gnulib/import/frexp.c: Update.
+ * gnulib/import/frexpl.c: Update.
+ * gnulib/import/gettimeofday.c: Update.
+ * gnulib/import/inttypes.in.h: Update.
+ * gnulib/import/isnan.c: Update.
+ * gnulib/import/isnand-nolibm.h: Update.
+ * gnulib/import/isnand.c: Update.
+ * gnulib/import/isnanl-nolibm.h: Update.
+ * gnulib/import/isnanl.c: Update.
+ * gnulib/import/itold.c: Update.
+ * gnulib/import/localcharset.c: Update.
+ * gnulib/import/localcharset.h: Update.
+ * gnulib/import/lstat.c: Update.
+ * gnulib/import/m4/00gnulib.m4: Update.
+ * gnulib/import/m4/absolute-header.m4: Update.
+ * gnulib/import/m4/alloca.m4: Update.
+ * gnulib/import/m4/canonicalize.m4: Update.
+ * gnulib/import/m4/codeset.m4: Update.
+ * gnulib/import/m4/configmake.m4: Update.
+ * gnulib/import/m4/dirent_h.m4: Update.
+ * gnulib/import/m4/dirfd.m4: Update.
+ * gnulib/import/m4/dirname.m4: Update.
+ * gnulib/import/m4/double-slash-root.m4: Update.
+ * gnulib/import/m4/eealloc.m4: Update.
+ * gnulib/import/m4/errno_h.m4: Update.
+ * gnulib/import/m4/exponentd.m4: Update.
+ * gnulib/import/m4/exponentl.m4: Update.
+ * gnulib/import/m4/extensions.m4: Update.
+ * gnulib/import/m4/extern-inline.m4: Update.
+ * gnulib/import/m4/fcntl-o.m4: Update.
+ * gnulib/import/m4/float_h.m4: Update.
+ * gnulib/import/m4/fnmatch.m4: Update.
+ * gnulib/import/m4/fpieee.m4: Update.
+ * gnulib/import/m4/frexp.m4: Update.
+ * gnulib/import/m4/frexpl.m4: Update.
+ * gnulib/import/m4/gettimeofday.m4: Update.
+ * gnulib/import/m4/glibc21.m4: Update.
+ * gnulib/import/m4/gnulib-cache.m4: Update.
+ * gnulib/import/m4/gnulib-common.m4: Update.
+ * gnulib/import/m4/gnulib-comp.m4: Update.
+ * gnulib/import/m4/gnulib-tool.m4: Update.
+ * gnulib/import/m4/include_next.m4: Update.
+ * gnulib/import/m4/inttypes-pri.m4: Update.
+ * gnulib/import/m4/inttypes.m4: Update.
+ * gnulib/import/m4/isnand.m4: Update.
+ * gnulib/import/m4/isnanl.m4: Update.
+ * gnulib/import/m4/largefile.m4: Update.
+ * gnulib/import/m4/localcharset.m4: Update.
+ * gnulib/import/m4/locale-fr.m4: Update.
+ * gnulib/import/m4/locale-ja.m4: Update.
+ * gnulib/import/m4/locale-zh.m4: Update.
+ * gnulib/import/m4/longlong.m4: Update.
+ * gnulib/import/m4/lstat.m4: Update.
+ * gnulib/import/m4/malloc.m4: Update.
+ * gnulib/import/m4/malloca.m4: Update.
+ * gnulib/import/m4/math_h.m4: Update.
+ * gnulib/import/m4/mbrtowc.m4: Update.
+ * gnulib/import/m4/mbsinit.m4: Update.
+ * gnulib/import/m4/mbsrtowcs.m4: Update.
+ * gnulib/import/m4/mbstate_t.m4: Update.
+ * gnulib/import/m4/memchr.m4: Update.
+ * gnulib/import/m4/memmem.m4: Update.
+ * gnulib/import/m4/mmap-anon.m4: Update.
+ * gnulib/import/m4/multiarch.m4: Update.
+ * gnulib/import/m4/nocrash.m4: Update.
+ * gnulib/import/m4/off_t.m4: Update.
+ * gnulib/import/m4/pathmax.m4: Update.
+ * gnulib/import/m4/readlink.m4: Update.
+ * gnulib/import/m4/rename.m4: Update.
+ * gnulib/import/m4/rmdir.m4: Update.
+ * gnulib/import/m4/ssize_t.m4: Update.
+ * gnulib/import/m4/stat.m4: Update.
+ * gnulib/import/m4/stdbool.m4: Update.
+ * gnulib/import/m4/stddef_h.m4: Update.
+ * gnulib/import/m4/stdint.m4: Update.
+ * gnulib/import/m4/stdio_h.m4: Update.
+ * gnulib/import/m4/stdlib_h.m4: Update.
+ * gnulib/import/m4/string_h.m4: Update.
+ * gnulib/import/m4/strstr.m4: Update.
+ * gnulib/import/m4/strtok_r.m4: Update.
+ * gnulib/import/m4/sys_socket_h.m4: Update.
+ * gnulib/import/m4/sys_stat_h.m4: Update.
+ * gnulib/import/m4/sys_time_h.m4: Update.
+ * gnulib/import/m4/sys_types_h.m4: Update.
+ * gnulib/import/m4/time_h.m4: Update.
+ * gnulib/import/m4/unistd_h.m4: Update.
+ * gnulib/import/m4/warn-on-use.m4: Update.
+ * gnulib/import/m4/wchar_h.m4: Update.
+ * gnulib/import/m4/wchar_t.m4: Update.
+ * gnulib/import/m4/wctype_h.m4: Update.
+ * gnulib/import/m4/wint_t.m4: Update.
+ * gnulib/import/malloc.c: Update.
+ * gnulib/import/malloca.c: Update.
+ * gnulib/import/malloca.h: Update.
+ * gnulib/import/math.in.h: Update.
+ * gnulib/import/mbrtowc.c: Update.
+ * gnulib/import/mbsinit.c: Update.
+ * gnulib/import/mbsrtowcs-impl.h: Update.
+ * gnulib/import/mbsrtowcs-state.c: Update.
+ * gnulib/import/mbsrtowcs.c: Update.
+ * gnulib/import/memchr.c: Update.
+ * gnulib/import/memmem.c: Update.
+ * gnulib/import/pathmax.h: Update.
+ * gnulib/import/readlink.c: Update.
+ * gnulib/import/ref-add.sin: Update.
+ * gnulib/import/ref-del.sin: Update.
+ * gnulib/import/rename.c: Update.
+ * gnulib/import/rmdir.c: Update.
+ * gnulib/import/same-inode.h: Update.
+ * gnulib/import/stat.c: Update.
+ * gnulib/import/stdbool.in.h: Update.
+ * gnulib/import/stddef.in.h: Update.
+ * gnulib/import/stdint.in.h: Update.
+ * gnulib/import/stdio.c: Update.
+ * gnulib/import/stdio.in.h: Update.
+ * gnulib/import/stdlib.in.h: Update.
+ * gnulib/import/str-two-way.h: Update.
+ * gnulib/import/streq.h: Update.
+ * gnulib/import/string.in.h: Update.
+ * gnulib/import/stripslash.c: Update.
+ * gnulib/import/strnlen1.c: Update.
+ * gnulib/import/strnlen1.h: Update.
+ * gnulib/import/strstr.c: Update.
+ * gnulib/import/strtok_r.c: Update.
+ * gnulib/import/sys_stat.in.h: Update.
+ * gnulib/import/sys_time.in.h: Update.
+ * gnulib/import/sys_types.in.h: Update.
+ * gnulib/import/time.in.h: Update.
+ * gnulib/import/unistd.in.h: Update.
+ * gnulib/import/verify.h: Update.
+ * gnulib/import/wchar.in.h: Update.
+ * gnulib/import/wctype.in.h: Update.
+ * gnulib/import/gettimeofday.c: New file.
+ * gnulib/import/m4/absolute-header.m4: New file.
+ * gnulib/import/m4/gettimeofday.m4: New file.
+ * gnulib/import/m4/sys_socket_h.m4: New file.
+ * gnulib/import/m4/sys_time_h.m4: New file.
+ * gnulib/import/stdio.c: Delete file.
+ * gnulib/import/sys_time.in.h: New file.
+
+2015-08-24 Pedro Alves <palves@redhat.com>
+
+ * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_sys_time.h.
+ * common/gdb_sys_time.h: New file.
+ * event-loop.c: Include gdb_sys_time.h instead of sys/time.h.
+ * gdb_select.h: Likewise.
+ * gdb_usleep.c: Likewise.
+ * maint.c: Likewise.
+ * mi/mi-main.c: Likewise.
+ * mi/mi-parse.h: Likewise.
+ * remote-fileio.c: Likewise.
+ * remote-m32r-sdi.c: Likewise.
+ * remote.c: Likewise.
+ * ser-base.c: Likewise.
+ * ser-pipe.c: Likewise.
+ * ser-tcp.c: Likewise.
+ * ser-unix.c: Likewise.
+ * symfile.c: Likewise.
+ * symfile.c: Likewise. Rename OSIZE to SIZE throughout.
+ * target-memory.c: Include gdb_sys_time.h instead of sys/time.h.
+ * utils.c: Likewise.
+
+2015-08-24 Pedro Alves <palves@redhat.com>
+
+ * NEWS: Mention removed support for the various ROM monitors.
+ * Makefile.in (ALL_TARGET_OBS): Remove dbug-rom.o, dink32-rom.o,
+ ppcbug-rom.o, m32r-rom.o, dsrec.o and monitor.o from gdb_target_obs.
+ * configure.tgt (h8300-*-*): Remove monitor.o and m32r-rom.o from
+ gdb_target_obs.
+ (m68*-*-*): Remove monitor.o dbug-rom.o and dsrec.o from
+ gdb_target_obs.
+ (microblaze*-linux-*): Remove microblaze-rom.o, monitor.o and
+ dsrec.o from gdb_target_obs.
+ (microblaze*-*-*): Remove microblaze-rom.o, monitor.o and dsrec.o
+ from gdb_target_obs.
+ (powerpc-*-lynx*178): Remove monitor.o and dsrec.o from
+ gdb_target_obs.
+ (powerpc*-*-*): Remove monitor.o, dsrec.o, ppcbug-rom.o and
+ dink32-rom.o from gdb_target_obs.
+ (sh*-*-linux*): Remove monitor.o and dsrec.o from gdb_target_obs.
+ (sh*): Remove monitor.o and dsrec.o from gdb_target_obs.
+ * dbug-rom.c, dink32-rom.c, dsrec.c, m32r-rom.c, microblaze-rom.c,
+ monitor.c, monitor.h, ppcbug-rom.c, srec.h: Delete files.
+
+2015-08-21 Pedro Alves <palves@redhat.com>
+
+ * frame.c (null_frame_id): Explicitly zero-initialize.
+
+2015-08-21 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (struct dwarf2_section_info): Rename field
+ 'asection' to 'section'.
+ (dwarf2_has_info, get_section_bfd_owner, get_section_bfd_section)
+ (dwarf2_locate_sections, dwarf2_locate_sections)
+ (locate_dwz_sections, locate_v1_virtual_dwo_sections)
+ (dwarf2_locate_dwo_sections, dwarf2_locate_dwo_sections)
+ (dwarf2_locate_v2_dwp_sections): Adjust.
+
+2015-08-21 Patrick Palka <patrick@parcs.ath.cx>
+
+ * top.h (gdb_in_secondary_prompt_p): Declare.
+ * top.c (gdb_secondary_prompt_depth): Define.
+ (gdb_in_secondary_prompt_p): Define.
+ (gdb_readline_wrapper_cleanup): Decrement
+ gdb_secondary_prompt_depth.
+ (gdb_readline_wrapper): Increment gdb_secondary_prompt_depth.
+ * tui/tui-io.c (tui_getc): Don't clear the prompt line if we
+ are in a secondary prompt.
+
+2015-08-21 Patrick Palka <patrick@parcs.ath.cx>
+
+ * tui/tui-io.c (tui_getc): Use tui_putc instead of waddch to
+ emit the newline.
+
+2015-08-21 Gary Benson <gbenson@redhat.com>
+
+ * gdb_bfd.c (gdb_bfd_iovec_fileio_pread): Add QUIT call.
+
+2015-08-21 Gary Benson <gbenson@redhat.com>
+
+ * target.h (struct target_ops) <to_fileio_open>: New argument
+ warn_if_slow. Update comment. All implementations updated.
+ (target_fileio_open_warn_if_slow): New declaration.
+ * target.c (target_fileio_open): Renamed as...
+ (target_fileio_open_1): ...this. New argument warn_if_slow.
+ Pass warn_if_slow to implementation. Update debug printing.
+ (target_fileio_open): New function.
+ (target_fileio_open_warn_if_slow): Likewise.
+ * gdb_bfd.c (gdb_bfd_iovec_fileio_open): Use new function
+ target_fileio_open_warn_if_slow.
+
+2015-08-21 Gary Benson <gbenson@redhat.com>
+
+ * nat/linux-namespaces.c (linux_mntns_access_fs):
+ Do not overwrite old_chain.
+
+2015-08-20 Max Filippov <jcmvbkbc@gmail.com>
+
+ * arch/xtensa.h: New file.
+ * xtensa-linux-nat.c (gdb_proc_service.h): New #include.
+ (ps_get_thread_area): New function.
+ * xtensa-linux-tdep.c (xtensa_linux_init_abi): Add call to
+ set_gdbarch_fetch_tls_load_module_address to enable TLS support.
+ * xtensa-tdep.c (osabi.h): New #include.
+ (xtensa_gdbarch_init): Call gdbarch_init_osabi to register
+ xtensa-specific hooks.
+ * xtensa-tdep.h (struct xtensa_elf_gregset_t): Add threadptr
+ member and move the structure to arch/xtensa.h.
+
+2015-08-21 Pedro Alves <palves@redhat.com>
+
+ * remote.c (struct readahead_cache): New.
+ (struct remote_state) <readahead_cache>: New field.
+ (remote_open_1): Invalidate the cache.
+ (readahead_cache_invalidate, readahead_cache_invalidate_fd): New
+ functions.
+ (remote_hostio_pwrite): Invalidate the readahead cache.
+ (remote_hostio_pread): Rename to ...
+ (remote_hostio_pread_vFile): ... this.
+ (remote_hostio_pread_from_cache): New function.
+ (remote_hostio_pread): Reimplement.
+ (remote_hostio_close): Invalidate the readahead cache.
+
+2015-08-21 Marcin Cieślak <saper@saper.info> (tiny patch)
+
+ PR build/18843
+ * procfs.c: Include "filestuff.h".
+
+2015-08-21 Patrick Palka <patrick@parcs.ath.cx>
+
+ * tui/tui-data.h (tui_command_info): Remove fields cur_line and
+ curch.
+ * tui/tui-data.c (tui_clear_win_detail) [CMD_WIN]: Don't set
+ cur_line or curch, instead call wmove().
+ (init_win_info) [CMD_WIN]: Likewise.
+ * tui/tui-io.c (tui_puts): Likewise. Don't read cur_line,
+ instead call getcury().
+ (tui_redisplay_readline): Don't set cur_line or curch.
+ (tui_mld_erase_entire_line): Don't read cur_line, instead call
+ getcury().
+ (tui_cont_sig): Remove call to wmove.
+ (tui_getc): Don't read cur_line or curch, instead call getcury()
+ or getyx(). Don't set curch.
+ * tui/tui-win.c (make_visible_with_new_height) [CMD_WIN]: Don't
+ set cur_line or curch. Always move cursor to (0,0).
+
+2015-08-20 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (print_target_wait_results): Make extern.
+ * infrun.h (print_target_wait_results): Declare.
+ * remote.c (set_stop_requested_callback): Delete.
+ (process_initial_stop_replies): New function.
+ (remote_start_remote): Use it.
+ (stop_reply_queue_length): New function.
+
+2015-08-20 Pedro Alves <palves@redhat.com>
+
+ * dwarf2read.c (process_full_comp_unit): To tell whether
+ start_subfile managed to deduce a language, test for
+ language_unknown instead of language_c.
+
+2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
+
+ * ada-lex.l: Reset the start condition to INITIAL in the rule that
+ matches attributes.
+
+2015-08-19 Kevin Buettner <kevinb@redhat.com>
+
+ * dwarf2read.c (dwarf2_string_attr): New function.
+ (lookup_dwo_unit, process_psymtab_comp_unit_reader)
+ (dwarf2_compute_name, dwarf2_physname, find_file_and_directory)
+ (read_call_site_scope, namespace_name, guess_full_die_structure_name)
+ (anonymous_struct_prefix, prepare_one_comp_unit): Use
+ dwarf2_string_attr in place of dwarf2_attr and DW_STRING.
+
+2015-08-18 Doug Evans <dje@google.com>
+ Adrian Sendroiu <adrian.sendroiu@freescale.com>
+
+ PR mi/18833
+ * cli/cli-logging.c (pop_output_files): Don't restore redirection
+ if MI-like.
+ * mi/mi-out.c: #include "vec.h".
+ (ui_filep): New type.
+ (DEV_VEC_P (ui_filep)): New type.
+ (struct ui_out_data) <buffer, original_buffer>: Delete.
+ (struct ui_out_data) <streams>: New member.
+ (mi_ui_out_impl): Add data_destroy field.
+ (mi_field_string, mi_field_fmt): Update.
+ (mi_flush, mi_redirect, field_separator): Update.
+ (mi_open, mi_close): Update.
+ (mi_out_buffered, mi_out_rewind, mi_out_put): Update.
+ (mi_out_data_ctor, mi_out_data_dtor): New functions.
+ (mi_out_new): Call mi_out_data_ctor.
+
+2015-08-18 Sandra Loosemore <sandra@codesourcery.com>
+
+ * remote.c (strprefix): New.
+ (remote_parse_stop_reply): Use strprefix instead of strncmp
+ to ensure exact match of keyword.
+
+2015-08-18 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * gdb_bfd.c (debug_bfd_cache): New variable.
+ (show_bfd_cache_debug): New function.
+ (gdb_bfd_open): Add debug logging.
+ (gdb_bfd_ref): Likewise.
+ (gdb_bfd_unref): Likewise.
+ (_initialize_gdb_bfd): Add new set/show command.
+ * NEWS: Mention new command.
+
+2015-08-18 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * gdb_bfd.c (bfd_sharing): New variable.
+ (show_bfd_sharing): New function.
+ (gdb_bfd_open): Check bfd_sharing variable.
+ (_initialize_gdb_bfd): Add new set/show command.
+ * NEWS: Mention new command.
+
+2015-08-18 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * gdb_bfd.c (struct gdb_bfd_data): Add size, inode, and device id
+ field.
+ (struct gdb_bfd_cache_search): Likewise.
+ (eq_bfd): Compare the size, inode, and device id fields.
+ (gdb_bfd_open): Initialise the size, inode, and device id fields.
+ (gdb_bfd_ref): Likewise.
+ (gdb_bfd_unref): Likewise.
+
+2015-08-18 Pedro Alves <palves@redhat.com>
+
+ * linux-nat.c (linux_nat_always_non_stop_p): If the linux_ops
+ target implements to_always_non_stop_p, call it.
+ * x86-linux-nat.c (x86_linux_always_non_stop_p): New function.
+ (x86_linux_create_target): Install it as to_always_non_stop_p
+ method.
+
+2015-08-17 Doug Evans <dje@google.com>
+
+ * ui-out.c (default_ui_out_impl): Add comment.
+
+2015-08-17 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-exp.y (type_aggregate_p): New function.
+ (PrimaryExpression : TypeExp '.' IdentifierExp): Use it.
+ (classify_inner_name): Likewise.
+ * d-namespace.c (d_lookup_nested_symbol): Handle TYPE_CODE_ENUM.
+
+2015-08-15 Doug Evans <xdje42@gmail.com>
+
+ * psymtab.c (add_psymbol_to_bcache): Remove "val" arg. All callers
+ updated.
+ (add_psymbol_to_list): Ditto.
+
+2015-08-15 Doug Evans <xdje42@gmail.com>
+
+ * dbxread.c (dbx_end_psymtab): Renamed from end_psymtab. All callers
+ updated. Call end_psymtab_common.
+ * dwarf2read.c (process_psymtab_comp_unit_reader): Call
+ end_psymtab_common.
+ (build_type_psymtabs_reader): Ditto.
+ * psympriv.h (sort_pst_symbols): Delete.
+ (end_psymtab_common): Declare.
+ * psymtab.c (sort_pst_symbols): Make static.
+ (end_psymtab_common): New function.
+ * xcoffread.c (xcoff_end_psymtab): Call end_psymtab_common.
+
+2015-08-15 Doug Evans <xdje42@gmail.com>
+
+ * defs.h (LANGUAGE_BITS): Define.
+ * psympriv.h (partial_symbol) <domain>: Use SYMBOL_DOMAIN_BITS.
+ (partial_symbol) <aclass>: Use SYMBOL_ACLASS_BITS.
+ * symtab.h (general_symbol_info> <language>: Usage LANGUAGE_BITS.
+ (minimal_symbol_type): Add nr_minsym_types.
+ (MINSYM_TYPE_BITS): Define.
+ (minimal_symbol) <type>: Use MINSYM_TYPE_BITS.
+ (domain_enum_tag): Add NR_DOMAINS.
+ (SYMBOL_DOMAIN_BITS): Change from 4 to 3.
+ (SYMBOL_ACLASS_BITS): Define from 6 to 5.
+
+2015-08-15 Doug Evans <xdje42@gmail.com>
+
+ * objfiles.h: Whitespace cleanup.
+ * psympriv.h: Whitespace cleanup.
+ * psymtab.c: Whitespace/coding convention cleanup.
+
+2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
+
+ * inferior.c (detach_inferior_command): Don't call
+ any_thread_of_process when pid is 0.
+ (kill_inferior_command): Likewise.
+
+2015-08-14 Doug Evans <xdje42@gmail.com>
+
+ PR gdb/11833
+ * NEWS: Document new /s modifier for the disassemble command.
+ * cli/cli-cmds.c (disassemble_command): Add support for /s.
+ (_initialize_cli_cmds): Update online docs of disassemble command.
+ * disasm.c: #include "source.h".
+ (struct deprecated_dis_line_entry): Renamed from dis_line_entry.
+ All uses updated.
+ (dis_line_entry): New struct.
+ (hash_dis_line_entry, eq_dis_line_entry): New functions.
+ (allocate_dis_line_table): New functions.
+ (maybe_add_dis_line_entry, line_has_code_p): New functions.
+ (dump_insns): New arg end_pc. All callers updated.
+ (do_mixed_source_and_assembly_deprecated): Renamed from
+ do_mixed_source_and_assembly. All callers updated.
+ (do_mixed_source_and_assembly): New function.
+ (gdb_disassembly): Handle /s (DISASSEMBLY_SOURCE).
+ * disasm.h (DISASSEMBLY_SOURCE_DEPRECATED): Renamed from
+ DISASSEMBLY_SOURCE. All uses updated.
+ (DISASSEMBLY_SOURCE): New macro.
+ * mi/mi-cmd-disas.c (mi_cmd_disassemble): New modes 4,5.
+
+2015-08-14 Keith Seitz <keiths@redhat.com>
+
+ * d-exp.y (PrimaryExpression : TypeExp '.' IdentifierExp): Rename
+ `typename' to `type_name' to avoid C++ reserved word.
+
2015-08-14 Keith Seitz <keiths@redhat.com>
* location.c (EL_TYPE, EL_LINESPEC, EL_PROBE, EL_ADDRESS)