X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=e4a13bb18aab4c1ad2a64e22783960f21d853ed7;hb=0b333c5e7d6c3fc65d37ffa11bd21ba52c4adb25;hp=3f2bb37af131bdcd318279139850c81713d6e296;hpb=88fc5eb7e23af132eacb895e475b31be0f7623e6;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3f2bb37af1..e4a13bb18a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,1169 @@ +2015-09-09 Pedro Alves + + * breakpoint.c (bpstat_do_actions_1, until_break_command): Don't + check whether the target can async. + * inf-loop.c (inferior_event_handler): Only call target_async if + the target can async. + * infcall.c: Include top.h and interps.h. + (run_inferior_call): For the interpreter to sync mode while + running the infcall. Call wait_sync_command_done instead of + wait_for_inferior plus normal_stop. + * infcmd.c (prepare_execution_command): Don't check whether the + target can async when running in the foreground. + (step_1): Delete synchronous case handling. + (step_once): Always install a continuation, even in sync mode. + (until_next_command, finish_forward): Don't check whether the + target can async. + (attach_command_post_wait, notice_new_inferior): Always install a + continuation, even in sync mode. + * infrun.c (mark_infrun_async_event_handler): New function. + (proceed): In sync mode, mark infrun's event source instead of + waiting for events here. + (fetch_inferior_event): If the target can't async, do a blocking + wait. + (prepare_to_wait): In sync mode, mark infrun's event source. + (infrun_async_inferior_event_handler): No longer bail out if the + target can't async. + * infrun.h (mark_infrun_async_event_handler): New declaration. + * linux-nat.c (linux_nat_wait_1): Remove calls to + set_sigint_trap/clear_sigint_trap. + (linux_nat_terminal_inferior): No longer check whether the target + can async. + * mi/mi-interp.c (mi_on_sync_execution_done): Update and simplify + comment. + (mi_execute_command_input_handler): No longer check whether the + target is async. Update and simplify comment. + * target.c (default_target_wait): New function. + * target.h (struct target_ops) : Now defaults to + default_target_wait. + (default_target_wait): Declare. + * top.c (wait_sync_command_done): New function, factored out from + ... + (maybe_wait_sync_command_done): ... this. + * top.h (wait_sync_command_done): Declare. + * target-delegates.c: Regenerate. + +2015-09-09 Markus Metzger + + * nat/linux-btrace.h (struct btrace_target_info) : Remove. + * nat/linux-btrace.c: Include filestuff.h and inttypes.h. + Remove include of sys/utsname.h. + (linux_determine_kernel_ptr_bits): Remove. + (linux_determine_kernel_start): New. + (perf_event_is_kernel_addr): Remove tinfo argument. Update users. + Update check. + (perf_event_skip_bts_record): Remove tinfo argument. Update users. + (linux_enable_bts, linux_enable_pt): Remove tinfo->ptr_bits + initialization. + * x86-linux-nat.c (x86_linux_enable_btrace): Remove ptr_bits + assignment. + +2015-09-07 Pedro Alves + + * guile/guile-internal.h (as_a_scm_t_subr): New. + * guile/guile.c (misc_guile_functions): Use it. + * guile/scm-arch.c (arch_functions): Use it. + * guile/scm-block.c (block_functions, gdbscm_initialize_blocks): + Use it. + * guile/scm-breakpoint.c (breakpoint_functions): Use it. + * guile/scm-cmd.c (command_functions): Use it. + * guile/scm-disasm.c (disasm_functions): Use it. + * guile/scm-exception.c (exception_functions) + (private_exception_functions): Use it. + * guile/scm-frame.c (frame_functions) + * guile/scm-gsmob.c (gsmob_functions): Use it. + * guile/scm-iterator.c (iterator_functions): Use it. + * guile/scm-lazy-string.c (lazy_string_functions): Use it. + * guile/scm-math.c (math_functions): Use it. + * guile/scm-objfile.c (objfile_functions): Use it. + * guile/scm-param.c (parameter_functions): Use it. + * guile/scm-ports.c (port_functions, private_port_functions): Use + it. + * guile/scm-pretty-print.c (pretty_printer_functions): Use it. + * guile/scm-progspace.c (pspace_functions): Use it. + * guile/scm-string.c (string_functions): Use it. + * guile/scm-symbol.c (symbol_functions): Use it. + * guile/scm-symtab.c (symtab_functions): Use it. + * guile/scm-type.c (type_functions, gdbscm_initialize_types): Use + it. + * guile/scm-value.c (value_functions): Use it. + +2015-09-04 Andrew Burgess + + * tui/tui-data.c (win_with_focus): Remove cast of NULL pointer. + (tui_next_win): Likewise. + (tui_prev_win): Likewise. + (tui_partial_win_by_name): Likewise. + (tui_init_generic_part): Likewise. + (init_content_element): Likewise. + (tui_del_window): Likewise. + (tui_free_window): Likewise. + (tui_del_data_windows): Likewise. + (tui_free_data_content): Likewise. + * tui/tui-layout.c (make_source_or_disasm_window): Likewise. + * tui/tui-regs.c (tui_show_register_group): Likewise. + * tui/tui-win.c (tui_resize_all): Likewise. + (tui_set_focus): Likewise. + (tui_set_win_height): Likewise. + (make_invisible_and_set_new_height): Likewise. + * tui/tui-windata.c (tui_delete_data_content_windows): Likewise. + * tui/tui-wingeneral.c (make_visible): Likewise. + +2015-09-04 Andrew Burgess + + * cli/cli-decode.c (find_cmd): Remove cast of NULL pointer. + +2015-09-04 Andrew Burgess + + * c-valprint.c (print_unpacked_pointer): Remove cast of NULL + pointer. + * dbxread.c (dbx_end_psymtab): Likewise. + * gnu-nat.c (gnu_write_inferior): Likewise. + * mdebugread.c (cross_ref): Likewise. + * p-valprint.c (pascal_val_print): Likewise. + * xcoffread.c (xcoff_end_psymtab): Likewise. + +2015-09-04 Yao Qi + + * NEWS: Mention the aarch64 multi-arch debugging support. + +2015-09-03 Pierre-Marie de Rodat + + * ada-lang.c (ada_language_arch_info): Create a TYPE_CODE_CHAR + type instead of a TYPE_CODE_INT one for the string_char_type + and the ada_primitive_type_char types. + +2015-09-03 Yao Qi + + * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint): + Move code to aarch64_linux_region_ok_for_watchpoint. Call + aarch64_linux_region_ok_for_watchpoint. + * nat/aarch64-linux-hw-point.c (aarch64_linux_region_ok_for_watchpoint): + New function. + * nat/aarch64-linux-hw-point.h (aarch64_linux_region_ok_for_watchpoint): + Declare it. + +2015-09-02 Patrick Palka + + * 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 + + * gdbtypes.c (copy_type_recursive): Update documentation. + +2015-09-01 Sergio Durigan Junior + + * solib-svr4.c (solib_event_probe_action): Initialize 'probe_argc' + as zero. + +2015-09-01 Sergio Durigan Junior + + * solib-svr4.c (svr4_handle_solib_event): Initialize 'val' as NULL + +2015-09-01 Sergio Durigan Junior + + * 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 + + * probe.h (struct probe_ops) : 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 + + * ada-lang.c (ada_resolve_function): Do not ask the user what + match to use when in completion mode. + +2015-08-31 Andrew Burgess + + * tui/tui-data.c (tui_win_name): Make local variable const, remove + cast of NULL. + +2015-08-31 Max Filippov + + * xtensa-tdep.h (XTENSA_GDBARCH_TDEP_INSTANTIATE): Initialize + call_abi using XSHAL_ABI macro. + +2015-08-29 Doug Evans + + * symtab.h (struct symbol): Tweak comment. + +2015-08-29 Patrick Palka + + * 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 + + GDB 7.10 released. + +2015-08-28 Simon Marchi + + * NEWS: Update entry about non-8-bits addressable memory. + +2015-08-28 Ulrich Weigand + + Revert: + 2014-11-06 Doug Evans + * solib.c (solib_global_lookup): Fetch arch from objfile, + not target_gdbarch. + +2015-08-27 Ulrich Weigand + + * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Do not + attempt to relocate a TLS variable offset. + +2015-08-27 Ulrich Weigand + + * 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 + + * 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 + + * 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 + + * m88k-tdep.c (m88k_analyze_prologue): Fix inverted allocation + statements. + +2015-08-27 Simon Marchi + + * NEWS: Document support for non-8-bits addressable memory. + +2015-08-27 Pedro Alves + + * configure.ac: Remove AC_TYPE_SIGNAL call. + * configure, config.in: Regenerate. + +2015-08-27 Pedro Alves + + * cp-support.c (gdb_demangle): Use sighandler_t. Remove cast. + * extension-priv.h: Include signal.h. + (struct signal_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 + + * 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 + + * 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 + + * compile/compile.c (compile_to_object): Mention language in + error message. + +2015-08-26 Patrick Palka + + * target.c (target_pre_inferior): Unset attach_flag. + +2015-08-26 Simon Marchi + + * gdbarch.sh (append_name): Fix type in XRESIZEVEC. + * gdbarch.c: Re-generate. + +2015-08-26 Simon Marchi + + * 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 + + * 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 + + * MAINTAINERS: Add Markus Metzger as btrace maintainer. + +2015-08-25 Pedro Alves + + 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) : New + field. + (target_check_pending_interrupt): New declaration. + * utils.c (maybe_quit): New function. + * target-delegates.c: Regenerate. + +2015-08-25 Yao Qi + + * 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 + + * 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 + + * 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 + + * 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 + + * aarch64-linux-nat.c (aarch64_linux_prepare_to_resume): Use + lwp_arch_private_info and ptid_of_lwp. + +2015-08-25 Yao Qi + + * 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 + + * aarch64-linux-nat.c (aarch64_notify_debug_reg_change): + Call current_lwp_ptid. + +2015-08-25 Yao Qi + + * aarch64-linux-nat.c (debug_reg_change_callback): Use + debug_printf. + +2015-08-25 Yao Qi + + * aarch64-linux-nat.c (debug_reg_change_callback): Call + ptid_get_pid rather than ptid_get_lwp. + +2015-08-24 Pedro Alves + + * 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 + + * 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 + + * 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 + + * 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 + + * frame.c (null_frame_id): Explicitly zero-initialize. + +2015-08-21 Tom Tromey + + * 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 + + * 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 + + * tui/tui-io.c (tui_getc): Use tui_putc instead of waddch to + emit the newline. + +2015-08-21 Gary Benson + + * gdb_bfd.c (gdb_bfd_iovec_fileio_pread): Add QUIT call. + +2015-08-21 Gary Benson + + * target.h (struct target_ops) : 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 + + * nat/linux-namespaces.c (linux_mntns_access_fs): + Do not overwrite old_chain. + +2015-08-20 Max Filippov + + * 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 + + * remote.c (struct readahead_cache): New. + (struct remote_state) : 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 (tiny patch) PR build/18843