+2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
+
+ * btrace.c (btrace_compute_ftrace_bts): Clear insn flags.
+ (pt_btrace_insn_flags): New.
+ (ftrace_add_pt): Call pt_btrace_insn_flags.
+ * btrace.h (btrace_insn_flag): New.
+ (btrace_insn) <flags>: New.
+ * record-btrace.c (btrace_insn_history): Print insn prefix.
+ * NEWS: Announce it.
+
+2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
+
+ * configure.ac: Check for PERF_ATTR_SIZE_VER5 in linux/perf_event.h
+ * configure: Regenerate.
+
+2015-08-06 Yaakov Selkowitz <yselkowi@redhat.com>
+
+ * Makefile.in (LIBICONV): Define.
+ (CLIBS): Add LIBICONV.
+ * acinclude.m4: Use config/iconv.m4 instead of custom AM_ICONV.
+ * configure: Regenerate.
+
+2015-08-06 Simon Marchi <simon.marchi@ericsson.com>
+ Pedro Alves <palves@redhat.com>
+
+ * arm-tdep.c (set_fp_model_sfunc): Add cast from integer to enum.
+ (arm_set_abi): Likewise.
+ * ax-general.c (ax_print): Likewise.
+ * c-exp.y (exp : string_exp): Likewise.
+ * compile/compile-loc2c.c (compute_stack_depth_worker): Likewise.
+ (do_compile_dwarf_expr_to_c): Likewise.
+ * cp-name-parser.y (demangler_special : DEMANGLER_SPECIAL start):
+ Likewise.
+ * dwarf2expr.c (execute_stack_op): Likewise.
+ * dwarf2loc.c (dwarf2_compile_expr_to_ax): Likewise.
+ (disassemble_dwarf_expression): Likewise.
+ * dwarf2read.c (dwarf2_add_member_fn): Likewise.
+ (read_array_order): Likewise.
+ (abbrev_table_read_table): Likewise.
+ (read_attribute_value): Likewise.
+ (skip_unknown_opcode): Likewise.
+ (dwarf_decode_macro_bytes): Likewise.
+ (dwarf_decode_macros): Likewise.
+ * eval.c (value_f90_subarray): Likewise.
+ * guile/scm-param.c (gdbscm_make_parameter): Likewise.
+ * i386-linux-tdep.c (i386_canonicalize_syscall): Likewise.
+ * infrun.c (handle_command): Likewise.
+ * memory-map.c (memory_map_start_memory): Likewise.
+ * osabi.c (set_osabi): Likewise.
+ * parse.c (operator_length_standard): Likewise.
+ * ppc-linux-tdep.c (ppc_canonicalize_syscall): Likewise, and use
+ single return point.
+ * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
+ * python/py-symbol.c (gdbpy_lookup_symbol): Likewise.
+ (gdbpy_lookup_global_symbol): Likewise.
+ * record-full.c (record_full_restore): Likewise.
+ * regcache.c (regcache_register_status): Likewise.
+ (regcache_raw_read): Likewise.
+ (regcache_cooked_read): Likewise.
+ * rs6000-tdep.c (powerpc_set_vector_abi): Likewise.
+ * symtab.c (initialize_ordinary_address_classes): Likewise.
+ * target-debug.h (target_debug_print_signals): Likewise.
+ * utils.c (do_restore_current_language): Likewise.
+
+2015-08-06 Clem Dickey <clemd@acm.org>
+
+ PR python/17136
+ * python/lib/gdb/command/type_printers.py (InfoTypePrinter): Fix typo.
+
+2015-08-06 Simon Marchi <simon.marchi@ericsson.com>
+
+ * complaints.c (enum complaint_series): Add newlines and remove
+ out of date comment.
+ (struct complaints) <series>: Change type to enum
+ complaint_series and remove out of date comment.
+ (symfile_complaint_hook): Use equivalent enum value
+ ISOLATED_MESSAGE instead of 0.
+
+2015-08-06 Pedro Alves <palves@redhat.com>
+
+ * nat/linux-waitpid.c (my_waitpid): Only print *status if waitpid
+ returned > 0.
+
+2015-08-06 Pierre Langlois <pierre.langlois@arm.com>
+
+ * common/agent.c (symbol_list) <required>: Remove.
+
+2015-08-06 Pedro Alves <palves@redhat.com>
+
+ * target/waitstatus.h (enum target_stop_reason)
+ <TARGET_STOPPED_BY_SINGLE_STEP>: New value.
+
+2015-08-05 Pedro Alves <palves@redhat.com>
+ Joel Brobecker <brobecker@adacore.com>
+
+ * breakpoint.c (bpstat_what) <bp_longjmp, bp_longjmp_call_dummy>
+ <bp_exception, bp_longjmp_resume, bp_exception_resume>: Handle the
+ case where BS->STOP is not set.
+
+2015-08-05 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * nat/gdb_thread_db.h: Add copyright header.
+ Protect against multiple inclusion.
+
+2015-08-05 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (get_thread_id): Remove.
+ (debug_reg_change_callback): Call ptid_get_lwp instead of
+ get_thread_id.
+ (fetch_gregs_from_thread): Likewise.
+ (store_gregs_to_thread): Likewise.
+ (fetch_fpregs_from_thread): Likewise.
+ (store_fpregs_to_thread): Likewise.
+ (aarch64_linux_get_debug_reg_capacity): Likewise.
+ * arm-linux-nat.c (get_thread_id): Remove.
+ (GET_THREAD_ID): Update macro to use ptid_get_lwp.
+ * xtensa-linux-nat.c (get_thread_id): Remove.
+ (GET_THREAD_ID): Update macro to use ptid_get_lwp.
+ * arm-linux-nat.c (get_thread_id): Remove.
+ (GET_THREAD_ID): Remove.
+ (fetch_fpregs): Call ptid_get_lwp instead of GET_THREAD_ID.
+ (store_fpregs, fetch_regs, store_regs): Likewise.
+ (fetch_wmmx_regs, store_wmmx_regs): Likewise.
+ (fetch_vfp_regs, store_vfp_regs): Likewise.
+ (arm_linux_read_description): Likewise.
+ (arm_linux_get_hwbp_cap): Likewise.
+ * xtensa-linux-nat.c (get_thread_id): Remove.
+ (GET_THREAD_ID): Remove.
+ (fetch_gregs, store_gregs): Call ptid_get_lwp instead of
+ GET_THREAD_ID.
+
+2015-08-04 Ciro Santilli <ciro.santilli@gmail.com> (obvious patch)
+
+ * python/py-linetable.c: Fix case of Linetable to LineTable
+ in docstrings and code comments.
+ * python/py-symtab.c: Same.
+
+2015-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * infcmd.c (signal_command): Call do_cleanups for args_chain.
+
+2015-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ PR gdb/18767
+ * infcmd.c (attach_command): Move ARGS_CHAIN cleanup after last ARGS
+ use.
+
+2015-08-04 Pedro Alves <palves@redhat.com>
+
+ * nat/gdb_thread_db.h (td_init_ftype, td_ta_new_ftype)
+ (td_ta_map_lwp2thr_ftype, td_ta_thr_iter_ftype)
+ (td_ta_event_addr_ftype, td_ta_set_event_ftype)
+ (td_ta_clear_event_ftype, td_ta_event_getmsg_ftype)
+ (td_thr_validate_ftype, td_thr_get_info_ftype)
+ (td_thr_event_enable_ftype, td_thr_tls_get_addr_ftype)
+ (td_thr_tlsbase_ftype, td_symbol_list_ftype, td_ta_delete_ftype):
+ New typedefs.
+ * linux-thread-db.c (struct thread_db_info): Use new typedefs.
+ (try_thread_db_load_1): Define TDB_VERBOSE_DLSYM, TDB_DLSYM , CHK
+ local macros and use them instead of verbose_dlsym and dlsym
+ calls.
+
+2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
+
+ * nios2-tdep.h: Include opcode/nios2.h here.
+ (NIOS2_CDX_OPCODE_SIZE): New.
+ (struct gdbarch_tdep): Add OP parameter to syscall_next_pc.
+ * nios2-tdep.c: Don't include opcode/nios2.h here.
+ (nios2_fetch_insn): For R2, try reading 2-byte instruction if
+ 4-byte read fails.
+ (nios2_match_add, nios2_match_sub): Add cases for R2 encodings.
+ (nios2_match_addi, nios2_match_orhi): Likewise.
+ (nios2_match_stw, nios2_match_ldw): Likewise.
+ (nios2_match_rdctl): Likewise.
+ (nios2_match_stwm, nios2_match_ldwm): New.
+ (nios2_match_branch): Add cases for R2 encodings.
+ (nios2_match_jmpi, nios2_match_calli): Likewise.
+ (nios2_match_jmpr, nios2_match_callr): Likewise.
+ (nios2_match_break, nios2_match_trap): Likewise.
+ (nios2_in_epilogue_p): Add R2 support.
+ (nios2_analyze_prologue): Update comments. Recognize R2 CDX
+ prologues.
+ (nios2_breakpoint_from_pc): Handle R2 instructions.
+ (nios2_get_next_pc): Likewise. Adjust call to
+ tdep->syscall_next_pc.
+ * nios2-linux-tdep.c (nios2_r1_linux_rt_sigreturn_tramp_frame):
+ Renamed from nios2_linux_rt_sigreturn_tramp_frame. Use
+ instruction field macros instead of literal hex values.
+ (nios2_r2_linux_rt_sigreturn_tramp_frame): New.
+ (nios2_linux_syscall_next_pc): Adjust signature to pass OP.
+ Use size field from OP instead of assuming all instructions
+ are the same size.
+ (nios2_linux_init_abi): Register appropriate unwinder for mach.
+
+2015-08-03 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * cp-namespace.c (cp_lookup_symbol_via_imports): Fix uninitialized
+ variable warning with some compilers.
+
+2015-08-03 Yao Qi <yao.qi@linaro.org>
+
+ * arm-linux-nat.c (arm_linux_get_hwbp_type): Capitalize "type"
+ in comment. Replace "rw" with "type".
+ (arm_linux_remove_watchpoint): Change type of "rw" to
+ "enum target_hw_bp_type".
+
+2015-08-02 Pierre-Marie de Rodat <derodat@adacore.com>
+
+ * alpha-mdebug-tdep.c (find_proc_desc): Update call to
+ lookup_symbol.
+ * ft32-tdep.c (ft32_skip_prologue): Likewise.
+ * moxie-tdep.c (moxie_skip_prologue): Likewise.
+ * mt-tdep.c (mt_skip_prologue): Likewise.
+ * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
+
+2015-08-01 Pierre-Marie de Rodat <derodat@adacore.com>
+
+ * ada-exp.y (write_object_renaming): Replace struct
+ ada_symbol_info with struct block_symbol. Update field
+ references accordingly.
+ (block_lookup, select_possible_type_sym): Likewise.
+ (find_primitive_type): Likewise. Also update call to
+ ada_lookup_symbol to extract the symbol itself.
+ (write_var_or_type, write_name_assoc): Likewise.
+ * ada-lang.h (struct ada_symbol_info): Remove.
+ (ada_lookup_symbol_list): Replace struct ada_symbol_info with
+ struct block_symbol.
+ (ada_lookup_encoded_symbol, user_select_syms): Likewise.
+ (ada_lookup_symbol): Return struct block_symbol instead of a
+ mere symbol.
+ * ada-lang.c (defns_collected): Replace struct ada_symbol_info
+ with struct block_symbol.
+ (resolve_subexp, ada_resolve_function, sort_choices,
+ user_select_syms, is_nonfunction, add_defn_to_vec,
+ num_defns_collected, defns_collected,
+ symbols_are_identical_enums, remove_extra_symbols,
+ remove_irrelevant_renamings, add_lookup_symbol_list_worker,
+ ada_lookup_symbol_list, ada_iterate_over_symbols,
+ ada_lookup_encoded_symbol, get_var_value): Likewise.
+ (ada_lookup_symbol): Return a block_symbol instead of a mere
+ symbol. Replace struct ada_symbol_info with struct
+ block_symbol.
+ (ada_lookup_symbol_nonlocal): Likewise.
+ (standard_lookup): Make block passing explicit through
+ lookup_symbol_in_language.
+ * ada-tasks.c (get_tcb_types_info): Update the calls to
+ lookup_symbol_in_language to extract the mere symbol out of the
+ returned value.
+ (ada_tasks_inferior_data_sniffer): Likewise.
+ * ax-gdb.c (gen_static_field): Likewise for the call to
+ lookup_symbol.
+ (gen_maybe_namespace_elt): Deal with struct block_symbol from
+ lookup functions.
+ (gen_expr): Likewise.
+ * c-exp.y: Likewise. Remove uses of block_found.
+ (lex_one_token, classify_inner_name, c_print_token): Likewise.
+ (classify_name): Likewise. Rename the "sym" local variable to
+ "bsym".
+ * c-valprint.c (print_unpacked_pointer): Likewise.
+ * compile/compile-c-symbols.c (convert_symbol_sym): Promote the
+ "sym" parameter from struct symbol * to struct block_symbol.
+ Use it to remove uses of block_found. Deal with struct
+ block_symbol from lookup functions.
+ (gcc_convert_symbol): Likewise. Update the call to
+ convert_symbol_sym.
+ * compile/compile-object-load.c (compile_object_load): Deal with
+ struct block_symbol from lookup functions.
+ * cp-namespace.c (cp_lookup_nested_symbol_1,
+ cp_lookup_nested_symbol, cp_lookup_bare_symbol,
+ cp_search_static_and_baseclasses,
+ cp_lookup_symbol_in_namespace, cp_lookup_symbol_via_imports,
+ cp_lookup_symbol_imports_or_template,
+ cp_lookup_symbol_via_all_imports, cp_lookup_symbol_namespace,
+ lookup_namespace_scope, cp_lookup_nonlocal,
+ find_symbol_in_baseclass): Return struct block_symbol instead of
+ mere symbols and deal with struct block_symbol from lookup
+ functions.
+ * cp-support.c (inspect_type, replace_typedefs,
+ cp_lookup_rtti_type): Deal with struct block_symbol from
+ lookup functions.
+ * cp-support.h (cp_lookup_symbol_nonlocal,
+ cp_lookup_symbol_from_namespace,
+ cp_lookup_symbol_imports_or_template, cp_lookup_nested_symbol):
+ Return struct block_symbol instead of mere symbols.
+ * d-exp.y (d_type_from_name, d_module_from_name, push_variable,
+ push_module_name):
+ Deal with struct block_symbol from lookup functions. Remove
+ uses of block_found.
+ * eval.c (evaluate_subexp_standard): Update call to
+ cp_lookup_symbol_namespace.
+ * f-exp.y: Deal with struct block_symbol from lookup functions.
+ Remove uses of block_found.
+ (yylex): Likewise.
+ * gdbtypes.c (lookup_typename, lookup_struct, lookup_union,
+ lookup_enum, lookup_template_type, check_typedef): Deal with
+ struct block_symbol from lookup functions.
+ * guile/scm-frame.c (gdbscm_frame_read_var): Likewise.
+ * guile/scm-symbol.c (gdbscm_lookup_symbol): Likewise.
+ (gdbscm_lookup_global_symbol): Likewise.
+ * gnu-v3-abi.c (gnuv3_get_typeid_type): Likewise.
+ * go-exp.y: Likewise. Remove uses of block_found.
+ (package_name_p, classify_packaged_name, classify_name):
+ Likewise.
+ * infrun.c (insert_exception_resume_breakpoint): Likewise.
+ * jv-exp.y (push_variable): Likewise.
+ * jv-lang.c (java_lookup_class, get_java_object_type): Likewise.
+ * language.c (language_bool_type): Likewise.
+ * language.h (struct language_defn): Update
+ la_lookup_symbol_nonlocal to return a struct block_symbol rather
+ than a mere symbol.
+ * linespec.c (find_label_symbols): Deal with struct block_symbol
+ from lookup functions.
+ * m2-exp.y: Likewise. Remove uses of block_found.
+ (yylex): Likewise.
+ * mi/mi-cmd-stack.c (list_args_or_locals): Likewise.
+ * objc-lang.c (lookup_struct_typedef, find_imps): Likewise.
+ * p-exp.y: Likewise. Remove uses of block_found.
+ (yylex): Likewise.
+ * p-valprint.c (pascal_val_print): Likewise.
+ * parse.c (write_dollar_variable): Likewise. Remove uses of
+ block_found.
+ * parser-defs.h (struct symtoken): Turn the SYM field into a
+ struct block_symbol.
+ * printcmd.c (address_info): Deal with struct block_symbol from
+ lookup functions.
+ * python/py-frame.c (frapy_read_var): Likewise.
+ * python/py-symbol.c (gdbpy_lookup_symbol,
+ gdbpy_lookup_global_symbol): Likewise.
+ * skip.c (skip_function_command): Likewise.
+ * solib-darwin.c (darwin_lookup_lib_symbol): Return a struct
+ block_symbol instead of a mere symbol.
+ * solib-spu.c (spu_lookup_lib_symbol): Likewise.
+ * solib-svr4.c (elf_lookup_lib_symbol): Likewise.
+ * solib.c (solib_global_lookup): Likewise.
+ * solist.h (solib_global_lookup): Likewise.
+ (struct target_so_ops): Update lookup_lib_global_symbol to
+ return a struct block_symbol rather than a mere symbol.
+ * source.c (select_source_symtab): Deal with struct block_symbol
+ from lookup functions.
+ * stack.c (print_frame_args, iterate_over_block_arg_vars):
+ Likewise.
+ * symfile.c (set_initial_language): Likewise.
+ * symtab.c (SYMBOL_LOOKUP_FAILED): Turn into a struct
+ block_symbol.
+ (SYMBOL_LOOKUP_FAILED_P): New predicate as a macro.
+ (struct symbol_cache_slot): Turn the FOUND field into a struct
+ block_symbol.
+ (block_found): Remove.
+ (eq_symbol_entry): Update to deal with struct block_symbol in
+ cache slots.
+ (symbol_cache_lookup): Return a struct block_symbol rather than
+ a mere symbol.
+ (symbol_cache_mark_found): Add a BLOCK parameter to fill
+ appropriately the cache slots. Update callers.
+ (symbol_cache_dump): Update cache slots handling to the type
+ change.
+ (lookup_symbol_in_language, lookup_symbol, lookup_language_this,
+ lookup_symbol_aux, lookup_local_symbol,
+ lookup_symbol_in_objfile, lookup_global_symbol_from_objfile,
+ lookup_symbol_in_objfile_symtabs,
+ lookup_symbol_in_objfile_from_linkage_name,
+ lookup_symbol_via_quick_fns, basic_lookup_symbol_nonlocal,
+ lookup_symbol_in_static_block, lookup_static_symbol,
+ lookup_global_symbol):
+ Return a struct block_symbol rather than a mere symbol. Deal
+ with struct block_symbol from other lookup functions. Remove
+ uses of block_found.
+ (lookup_symbol_in_block): Remove uses of block_found.
+ (struct global_sym_lookup_data): Turn the RESULT field into a
+ struct block_symbol.
+ (lookup_symbol_global_iterator_cb): Update references to the
+ RESULT field.
+ (search_symbols): Deal with struct block_symbol from lookup
+ functions.
+ * symtab.h (struct block_symbol): New structure.
+ (block_found): Remove.
+ (lookup_symbol_in_language, lookup_symbol,
+ basic_lookup_symbol_nonlocal, lookup_symbol_in_static_block,
+ lookup_static_symbol, lookup_global_symbol, lookup_language_this,
+ lookup_global_symbol_from_objfile): Return a struct block_symbol
+ rather than just a mere symbol. Update comments to remove
+ mentions of block_found.
+ * valops.c (find_function_in_inferior,
+ value_struct_elt_for_reference, value_maybe_namespace_elt,
+ value_of_this): Deal with struct block_symbol from lookup
+ functions.
+ * value.c (value_static_field, value_fn_field): Likewise.
+
+2015-07-31 Simon Marchi <simon.marchi@ericsson.com>
+
+ * remote-m32r-sdi.c (m32r_remove_watchpoint): Use enum type
+ instead of integer.
+
+2015-07-31 Simon Marchi <simon.marchi@ericsson.com>
+ Pedro Alves <palves@redhat.com>
+
+ * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Use enum
+ type or value instead of integer.
+ (aarch64_linux_insert_watchpoint): Likewise.
+ (aarch64_linux_remove_watchpoint): Likewise.
+ * ada-lang.c (ada_op_print_tab): Likewise.
+ * amd64-linux-tdep.c (amd64_canonicalize_syscall): Likewise.
+ (amd64_linux_syscall_record_common): Likewise.
+ * arch-utils.c (target_byte_order_user): Likewise.
+ (default_byte_order): Likewise.
+ * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Likewise.
+ (arm_linux_get_hwbp_type): Likewise.
+ (arm_linux_hw_watchpoint_initialize): Likewise.
+ (arm_linux_insert_watchpoint): Likewise.
+ * arm-linux-tdep.c (arm_canonicalize_syscall): Likewise.
+ (arm_linux_syscall_record): Likewise.
+ * breakpoint.c (update_watchpoint): Likewise.
+ (breakpoint_here_p): Likewise.
+ (bpstat_print): Likewise.
+ (enable_breakpoint_disp): Likewise.
+ * c-lang.c (c_op_print_tab): Likewise.
+ * cli/cli-decode.c (add_info_alias): Likewise.
+ * d-lang.c (d_op_print_tab): Likewise.
+ * eval.c (evaluate_subexp_standard): Likewise.
+ * f-exp.y (dot_ops): Likewise.
+ (f77_keywords): Likewise.
+ * f-lang.c (f_op_print_tab): Likewise.
+ * go-lang.c (go_op_print_tab): Likewise.
+ * guile/scm-breakpoint.c (gdbscm_make_breakpoint): Likewise.
+ * guile/scm-cmd.c (gdbscm_make_command): Likewise.
+ * guile/scm-param.c (gdbscm_make_parameter): Likewise.
+ * guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer): Likewise.
+ * guile/scm-string.c (struct scm_to_stringn_data): Likewise.
+ (struct scm_from_stringn_data): Likewise.
+ * i386-linux-tdep.c (i386_canonicalize_syscall): Likewise.
+ * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Likewise.
+ (ia64_linux_remove_watchpoint): Likewise.
+ (ia64_linux_can_use_hw_breakpoint): Likewise.
+ * infrun.c (print_stop_event): Likewise.
+ * jv-lang.c (java_op_print_tab): Likewise.
+ * linux-nat.c (linux_proc_xfer_partial): Likewise.
+ * linux-nat.h (struct lwp_info): Likewise.
+ * linux-thread-db.c (enable_thread_event): Likewise.
+ * m2-lang.c (m2_op_print_tab): Likewise.
+ * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Likewise.
+ (mi_cmd_stack_list_variables): Likewise.
+ * mi/mi-main.c (mi_cmd_trace_frame_collected): Likewise.
+ * mi/mi-out.c (mi_table_begin): Likewise.
+ (mi_table_header): Likewise.
+ * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Likewise.
+ (mips_linux_insert_watchpoint): Likewise.
+ (mips_linux_remove_watchpoint): Likewise.
+ * nat/mips-linux-watch.c (mips_linux_watch_type_to_irw): Likewise.
+ * nat/mips-linux-watch.h (struct mips_watchpoint): Likewise.
+ (mips_linux_watch_type_to_irw): Likewise.
+ * nto-procfs.c (procfs_can_use_hw_breakpoint): Likewise.
+ (procfs_insert_hw_watchpoint): Likewise.
+ (procfs_remove_hw_watchpoint): Likewise.
+ (procfs_hw_watchpoint): Likewise.
+ (procfs_can_use_hw_breakpoint): Likewise.
+ (procfs_remove_hw_watchpoint): Likewise.
+ (procfs_insert_hw_watchpoint): Likewise.
+ * p-lang.c (pascal_op_print_tab): Likewise.
+ * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Likewise.
+ * ppc-linux-tdep.c (ppu2spu_unwind_register): Likewise.
+ * ppc-sysv-tdep.c (get_decimal_float_return_value): Likewise.
+ * procfs.c (procfs_can_use_hw_breakpoint): Likewise.
+ (procfs_insert_watchpoint): Likewise.
+ (procfs_remove_watchpoint): Likewise.
+ * psymtab.c (recursively_search_psymtabs): Likewise.
+ * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Likewise.
+ (m32r_insert_watchpoint): Likewise.
+ * remote-mips.c (mips_can_use_watchpoint): Likewise.
+ (mips_insert_watchpoint): Likewise.
+ (mips_remove_watchpoint): Likewise.
+ * remote.c (watchpoint_to_Z_packet): Likewise.
+ (remote_insert_watchpoint): Likewise.
+ (remote_remove_watchpoint): Likewise.
+ (remote_check_watch_resources): Likewise.
+ * s390-linux-nat.c (s390_insert_watchpoint): Likewise.
+ (s390_remove_watchpoint): Likewise.
+ (s390_can_use_hw_breakpoint): Likewise.
+ * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
+ * spu-linux-nat.c (spu_can_use_hw_breakpoint): Likewise.
+ * target.h (struct target_ops): Likewise.
+ * tilegx-tdep.c (tilegx_analyze_prologue): Likewise.
+ * ui-out.c (struct ui_out_hdr): Likewise.
+ (append_header_to_list): Likewise.
+ (get_next_header): Likewise.
+ (verify_field): Likewise.
+ (ui_out_begin): Likewise.
+ (ui_out_field_int): Likewise.
+ (ui_out_field_fmt_int): Likewise.
+ (ui_out_field_skip): Likewise.
+ (ui_out_field_string): Likewise.
+ (ui_out_field_fmt): Likewise.
+ * varobj.c (new_variable): Likewise.
+ * x86-nat.c (x86_insert_watchpoint): Likewise.
+ (x86_remove_watchpoint): Likewise.
+ (x86_can_use_hw_breakpoint): Likewise.
+ * xtensa-tdep.h (struct gdbarch_tdep): Likewise.
+ * inflow.c (enum gdb_has_a_terminal_flag_enum): Add name to
+ previously anonymous enumeration type..
+ * linux-record.h (enum gdb_syscall): Add gdb_sys_no_syscall
+ value.
+ * target-debug.h (target_debug_print_enum_target_hw_bp_type): New.
+ (target_debug_print_enum_bptype): New.
+ * target-delegates.c: Regenerate.
+
+2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
+
+ * nios2-tdep.c (nios2_analyze_prologue): Do what the comment
+ already says and disallow non-stack memory writes in the prologue.
+
+2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
+
+ * nios2-tdep.c (nios2_analyze_prologue): Update comments to
+ reflect how current GCC emits stack overflow checks. Match
+ both trap and break instructions for backward compatbility.
+ Disallow other trap and break instructions in the prologue.
+
+2015-07-30 Pedro Alves <palves@redhat.com>
+
+ PR threads/18600
+ * linux-nat.c (wait_lwp): Report to the core when thread group
+ leader exits.
+
+2015-07-30 Pedro Alves <palves@redhat.com>
+ Simon Marchi <simon.marchi@ericsson.com>
+
+ PR threads/18600
+ * linux-nat.c (linux_handle_extended_wait): On CLONE event, always
+ mark the new thread as resumed. Remove STOPPING parameter.
+ (wait_lwp): Adjust call to linux_handle_extended_wait.
+ (linux_nat_filter_event): Adjust call to
+ linux_handle_extended_wait.
+ (resume_stopped_resumed_lwps): Add debug output.
+
+2015-07-30 Pierre Langlois <pierre.langlois@arm.com>
+
+ * arch-utils.c (default_fast_tracepoint_valid_at): Remove unused
+ isize argument.
+ * arch-utils.h (default_fast_tracepoint_valid_at): Likewise.
+ * breakpoint.c (check_fast_tracepoint_sals): Adjust call to
+ gdbarch_fast_tracepoint_valid_at.
+ * gdbarch.sh (fast_tracepoint_valid_at): Remove isize argument.
+ * gdbarch.h: Regenerate.
+ * gdbarch.c: Regenerate.
+ * i386-tdep.c (i386_fast_tracepoint_valid_at): Remove isize
+ argument. Do not set it.
+ * remote.c (remote_download_tracepoint): Adjust call to
+ gdbarch_fast_tracepoint_valid_at. Call gdb_insn_length to get
+ the instruction length.
+
+2015-07-30 Yao Qi <yao.qi@linaro.org>
+
+ * arm-tdep.h (enum gdb_regnum): Move it to ...
+ * arch/arm.h: ... here. New file.
+ * Makefile.in (HFILES_NO_SRCDIR): Add arch/arm.h.
+
+2015-07-30 Pierre Langlois <pierre.langlois@arm.com>
+
+ * aarch64-tdep.c (decode_b): Rename link argument to is_bl.
+ Change its type to int *.
+ (decode_br): Rename link argument to is_blr. Change its type to
+ int *.
+ (decode_cb): Rename op argument to is_cbnz. Change its type to
+ int *.
+ (decode_tb): Rename op argument to is_tbnz. Change its type to
+ int *. Set is_tbnz to either 1 or 0.
+ (aarch64_analyze_prologue): Change type of is_link to int. Add
+ new variables is_cbnz and is_tbnz. Adjust call to
+ aarch64_decode_cb and aarch64_decode_tb.
+
+2015-07-29 Simon Marchi <simon.marchi@ericsson.com>
+
+ * mips-linux-nat.c (write_watchpoint_regs): Add NULL as ptrace's 4th
+ parameter.
+ (mips_linux_new_thread): Likewise.
+ * nat/mips-linux-watch.c (mips_linux_read_watch_registers): Likewise.
+
+2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
+
+ * top.c: Include "tui/tui.h".
+ (undo_terminal_modifications_before_exit): New static function.
+ (quit_force): Use it.
+
+2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
+
+ * target.c (terminal_state): Initialize to terminal_is_ours.
+
+2015-07-29 Yao Qi <yao.qi@linaro.org>
+
+ PR record/18691
+ * dcache.c (dcache_read_memory_partial): Call
+ raw_memory_xfer_partial.
+ * target.c (raw_memory_xfer_partial): Make it non-static.
+ * target.h (raw_memory_xfer_partial): Declare.
+
+2015-07-28 Simon Marchi <simon.marchi@ericsson.com>
+
+ * c-valprint.c (c_val_print_array): Consider addressable memory
+ unit size.
+ (c_val_print_ptr): Likewise.
+ (c_val_print_int): Likewise.
+ * findvar.c (read_frame_register_value): Likewise.
+ * valarith.c (find_size_for_pointer_math): Likewise.
+ (value_ptrdiff): Likewise.
+ (value_subscripted_rvalue): Likewise.
+ * valops.c (read_value_memory): Likewise (and rename variables).
+ (value_assign): Likewise.
+ (value_repeat): Likewise.
+ (value_array): Likewise.
+ (value_slice): Likewise.
+ * valprint.c (generic_val_print_ptr): Likewise.
+ (generic_val_print_enum): Likewise.
+ (generic_val_print_bool): Likewise.
+ (generic_val_print_int): Likewise.
+ (generic_val_print_char): Likewise.
+ (generic_val_print_float): Likewise.
+ (generic_val_print_decfloat): Likewise.
+ (generic_val_print_complex): Likewise.
+ (val_print_scalar_formatted): Likewise.
+ (val_print_array_elements): Likewise.
+ * value.c (set_value_parent): Likewise.
+ (value_contents_copy_raw): Likewise.
+ (set_internalvar_component): Likewise.
+ (value_primitive_field): Likewise.
+ (value_fetch_lazy): Likewise.
+ * value.h (read_value_memory): Update comment.
+
+2015-07-28 Simon Marchi <simon.marchi@ericsson.com>
+
+ * value.c (get_value_arch): New function.
+ * value.h (get_value_arch): New declaration.
+
+2015-07-28 Simon Marchi <simon.marchi@ericsson.com>
+
+ * value.c (struct value): Update comments.
+
+2015-07-28 Simon Marchi <simon.marchi@ericsson.com>
+
+ * gdbtypes.c (type_length_units): New function.
+ * gdbtypes.h (type_length_units): New declaration.
+ (struct type) <length>: Update comment.
+
+2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * valprint.c (generic_val_print): Factor out complex
+ printing code to ...
+ (generic_val_print_complex): ... this new function.
+
+2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * valprint.c (generic_val_print): Factor out decfloat
+ printing code to ...
+ (generic_val_print_decfloat): ... this new function.
+
+2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * valprint.c (generic_val_print): Factor out float
+ printing code to ...
+ (generic_val_print_float): ... this new function.
+
+2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * valprint.c (generic_val_print): Factor out char
+ printing code to ...
+ (generic_val_print_char): ... this new function.
+
+2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * valprint.c (generic_val_print): Factor out integer
+ printing code to ...
+ (generic_val_print_int): ... this new function.
+
+2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * valprint.c (generic_val_print): Factor out bool
+ printing code to ...
+ (generic_val_print_bool): ... this new function.
+
+2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * valprint.c (generic_val_print): Factor out function/method
+ printing code to ...
+ (generic_val_print_func): ... this new function.
+
+2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * valprint.c (generic_val_print): Factor out flags
+ printing code to ...
+ (generic_val_print_flags): ... this new function.
+
+2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * valprint.c (generic_val_print): Factor out enum
+ printing code to ...
+ (generic_val_print_enum): ... this new function.
+
+2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * valprint.c (generic_val_print): Factor out reference
+ printing code to ...
+ (generic_val_print_ref): ... this new function.
+
+2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * valprint.c (generic_val_print): Factor out memberptr
+ printing code to ...
+ (generic_val_print_memberptr): ... this new function.
+
+2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * valprint.c (generic_val_print): Factor out pointer
+ printing code to ...
+ (generic_val_print_ptr): ... this new function.
+
+2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * valprint.c (generic_val_print): Factor out array
+ printing code to ...
+ (generic_val_print_array): ... this new function.
+
+2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * valprint.c (generic_val_print): Factor out
+ print_unpacked_pointer code to ...
+ (print_unpacked_pointer): ... this new function.
+
+2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
+
+ * event-top.c (handle_sigterm): Don't inspect
+ target_can_async_p. Always set the quit flag and always mark
+ the async signal handler.
+
+2015-07-27 Yao Qi <yao.qi@linaro.org>
+
+ * Makefile.in (REMOTE_EXAMPLES): Remove it.
+
+2015-07-25 Kevin Buettner <kevinb@redhat.com>
+
+ * remote.c (read_ptid): Return null_ptid when no thread id
+ is found.
+ (remote_current_thread): Add log warning for malformed
+ qC reply.
+ (remote_start_remote): Add log warning when current thread
+ not found.
+
+2015-07-24 Pedro Alves <palves@redhat.com>
+
+ * s390-linux-nat.c (fetch_regs, store_regs, fetch_fpregs)
+ (s390_stopped_by_watchpoint, s390_prepare_to_resume): Pass 0 as
+ forth argument to ptrace PTRACE_PEEKUSR_AREA/PTRACE_POKEUSR_AREA.
+
+2015-07-24 Pedro Alves <palves@redhat.com>
+
+ PR gdb/18717
+ * linux-nat.c (linux_nat_filter_event): Don't assert that the lwp
+ is resumed, and extend the debug log.
+
+2015-07-24 Pedro Alves <palves@redhat.com>
+
+ * fork-child.c (fork_inferior): Print argv[0] instead of exec_file.
+
+2015-07-24 Pedro Alves <palves@redhat.com>
+
+ * aarch64-linux-nat.c: Include nat/gdb_ptrace.h instead of
+ sys/ptrace.h.
+ * alpha-linux-nat.c: Likewise.
+ * amd64-linux-nat.c: Likewise.
+ * arm-linux-nat.c: Likewise.
+ * hppa-linux-nat.c: Likewise.
+ * i386-linux-nat.c: Likewise.
+ * ia64-linux-nat.c: Likewise.
+ * linux-fork.c: Likewise.
+ * linux-nat.c: Likewise.
+ * m32r-linux-nat.c: Likewise.
+ * m68klinux-nat.c: Likewise.
+ * mips-linux-nat.c: Likewise.
+ * nat/linux-btrace.c: Likewise.
+ * nat/linux-ptrace.c: Likewise.
+ * nat/linux-ptrace.h
+ * nat/mips-linux-watch.c: Likewise.
+ * nat/x86-linux-dregs.c: Likewise.
+ * ppc-linux-nat.c: Likewise.
+ * s390-linux-nat.c: Likewise.
+ * spu-linux-nat.c: Likewise.
+ * tilegx-linux-nat.c: Likewise.
+ * x86-linux-nat.c: Likewise.
+ * xtensa-linux-nat.c: Likewise.
+
+2015-07-24 Pedro Alves <palves@redhat.com>
+
+ * ptrace.m4 (ptrace tests): Test in C++ mode. Try with 'enum
+ __ptrace_request as first parameter type instead of int.
+ (PTRACE_TYPE_ARG1): Define.
+ * nat/gdb_ptrace.h [!PTRACE_TYPE_ARG5] (ptrace): Define as wrapper
+ that casts first argument to PTRACE_TYPE_ARG1.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+
+2015-07-24 Pedro Alves <palves@redhat.com>
+
+ * gdb_ptrace.h: Move ...
+ * nat/gdb_ptrace.h: ... here.
+ * inf-ptrace.c: Adjust.
+
+2015-07-24 Pedro Alves <palves@redhat.com>
+
+ * acinclude.m4: Include ptrace.m4.
+ * configure.ac: Call GDB_AC_PTRACE and move ptrace checks ...
+ * ptrace.m4: ... to this new file.
+
+2015-07-23 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (dwarf2_per_cu_data): Add comment.
+ (load_cu): Handle dummy CUs.
+ (dw2_do_instantiate_symtab, process_queuef): Ditto.
+ (dwarf2_fetch_die_loc_sect_off, dwarf2_fetch_constant_bytes): Ditto.
+
+2015-07-23 Ciro Santilli <ciro.santilli@gmail.com> (tiny patch)
+
+ * py-linetable.c (ltpy_get_all_source_lines): Adjust function
+ documentation to say that it returns a list rather than
+ a FrozenSet.
+ (linetable_object_methods): Update the docstring of the
+ "source_line" entry.
+
+2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
+
+ * gdbtypes.c (resolve_dynamic_array): Pass the peeled element
+ type to the recursive call instead of the original (maybe
+ TYPE_CODE_TYPEDEF) type.
+
+2015-07-23 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): If
+ TYPE is watchpoint, return zero if aarch64_num_wp_regs is zero.
+ If TYPE is breakpoint, return zero if arch64_num_bp_regs is zero.
+
+2015-07-21 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity):
+ Move it to nat/aarch64-linux-hw-point.c.
+ (aarch64_linux_child_post_startup_inferior): Update.
+ * nat/aarch64-linux-hw-point.c (aarch64_linux_get_debug_reg_capacity):
+ New function.
+ * nat/aarch64-linux-hw-point.h (aarch64_linux_get_debug_reg_capacity):
+ Declare it.
+
+2015-07-21 Markus Metzger <markus.t.metzger@intel.com>
+
+ * common/btrace-common.c (btrace_data_append): Change case label.
+
+2015-07-20 Yao Qi <yao.qi@linaro.org>
+
+ * nat/aarch64-linux-hw-point.c (aarch64_handle_unaligned_watchpoint):
+ Re-indent the code.
+ * nat/aarch64-linux-hw-point.h: Use ULONGEST rather than
+ "unsigned long long".
+
+2015-07-18 Kevin Buettner <kevinb@redhat.com>
+
+ * dwarf2read.c (dwarf2_locate_sections): Allow has_section_at_zero
+ to be set for SEC_ALLOC sections too.
+
+2015-07-17 Yao Qi <yao.qi@linaro.org>
+
+ * Makefile.in (HFILES_NO_SRCDIR): Add
+ nat/aarch64-linux-hw-point.h.
+ (aarch64-linux-hw-point.o): New rule.
+ * nat/aarch64-linux-hw-point.h: New file.
+ * nat/aarch64-linux-hw-point.c: New file.
+ * aarch64-linux-nat.c: Include nat/aarch64-linux-hw-point.h.
+ (AARCH64_HBP_MAX_NUM): Move to nat/aarch64-linux-hw-point.h.
+ (AARCH64_HWP_MAX_NUM, AARCH64_HBP_ALIGNMENT): Likewise.
+ (AARCH64_HWP_ALIGNMENT): Likewise.
+ (AARCH64_HWP_MAX_LEN_PER_REG): Likewise.
+ (AARCH64_DEBUG_NUM_SLOTS, AARCH64_DEBUG_ARCH): Likewise.
+ (AARCH64_DEBUG_ARCH_V8, DR_MARK_ALL_CHANGED): Likewise.
+ (DR_MARK_N_CHANGED, DR_CLEAR_CHANGED): Likewise.
+ (DR_HAS_CHANGED, DR_N_HAS_CHANGE): Likewise.
+ (aarch64_num_bp_regs, aarch64_num_wp_regs): Likewise.
+ (struct aarch64_debug_reg_state): Likewise.
+ (struct arch_lwp_info): Likewise.
+ (aarch64_linux_set_debug_regs): Likewise.
+ (aarch64_notify_debug_reg_change): Remove static.
+ (aarch64_align_watchpoint): Likewise.
+ (DR_CONTROL_ENABLED, DR_CONTROL_LENGTH): Likewise.
+ (aarch64_watchpoint_length): Likewise.
+ (aarch64_point_encode_ctrl_reg): Likewise
+ (aarch64_point_is_aligned): Likewise.
+ (aarch64_dr_state_insert_one_point): Likewise.
+ (aarch64_dr_state_remove_one_point): Likewise.
+ (aarch64_handle_breakpoint): Likewise.
+ (aarch64_handle_aligned_watchpoint): Likewise.
+ (aarch64_handle_unaligned_watchpoint): Likewise.
+ (aarch64_handle_watchpoint): Likewise.
+ * config/aarch64/linux.mh (NAT_FILE): Add
+ aarch64-linux-hw-point.o.
+
+2015-07-17 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (aarch64_handle_breakpoint): Add argument
+ state and don't call aarch64_get_debug_reg_state. All callers
+ update.
+ (aarch64_linux_insert_hw_breakpoint): Call
+ aarch64_get_debug_reg_state earlier.
+ (aarch64_linux_remove_hw_breakpoint): Likewise.
+ (aarch64_handle_aligned_watchpoint): Add argument state and
+ don't call aarch64_get_debug_reg_state. All callers update.
+ (aarch64_handle_unaligned_watchpoint): Likewise.
+ (aarch64_handle_watchpoint): Add argument state.
+ (aarch64_linux_insert_watchpoint): Call aarch64_get_debug_reg_state
+ earlier.
+ (aarch64_linux_remove_watchpoint): Likewise.
+
+2015-07-17 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (aarch64_show_debug_reg_state): Use
+ debug_printf.
+ (aarch64_handle_unaligned_watchpoint): Likewise.
+
+2015-07-17 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (aarch64_dr_state_insert_one_point): Change
+ argument type's type to 'enum target_hw_bp_type'.
+ (aarch64_dr_state_remove_one_point): Likewise.
+ (aarch64_handle_breakpoint): Likewise.
+ (aarch64_linux_insert_hw_breakpoint): Likewise.
+ (aarch64_linux_remove_hw_breakpoint): Likewise.
+ (aarch64_handle_aligned_watchpoint): Likewise.
+
+2015-07-17 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity): Call
+ ptid_get_pid instead of get_thread_id.
+
+2015-07-17 Yao Qi <yao.qi@linaro.org>
+
+ * remote.c (get_current_thread): Initialise ptid to null_ptid.
+ (add_current_inferior_and_thread): Don't initialise ptid.
+
+2015-07-16 Pierre Langlois <pierre.langlois@arm.com>
+
+ * aarch64-tdep.c (aarch64_pseudo_read_value): Mark S register as
+ unavailable if invalid.
+
+2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Revert the previous 6 commits:
+ Create empty nat/linux-maps.[ch] and common/target-utils.[ch].
+ Move gdb_regex* to common/
+ Prepare linux_find_memory_regions_full & co. for move
+ Move linux_find_memory_regions_full & co.
+ gdbserver build-id attribute generator
+ Validate symbol file using build-id
+
+2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Validate symbol file using build-id.
+ * NEWS (Changes since GDB 7.10): Add 'set validate-build-id'
+ and 'show validate-build-id'. Add build-id attribute.
+ * solib-darwin.c (_initialize_darwin_solib): Assign validate value.
+ * solib-dsbt.c (_initialize_dsbt_solib): Ditto.
+ * solib-frv.c (_initialize_frv_solib): Ditto.
+ * solib-spu.c (set_spu_solib_ops): Ditto.
+ * solib-svr4.c: Include rsp-low.h.
+ (NOTE_GNU_BUILD_ID_NAME): New define.
+ (svr4_validate): New function.
+ (svr4_copy_library_list): Duplicate field build_id.
+ (library_list_start_library): Parse 'build-id' attribute.
+ (svr4_library_attributes): Add 'build-id' attribute.
+ (_initialize_svr4_solib): Assign validate value.
+ * solib-target.c (solib.h): Include.
+ (_initialize_solib_target): Assign validate value.
+ * solib.c (validate_build_id, show_validate_build_id): New.
+ (solib_map_sections): Use ops->validate.
+ (clear_so): Free build_id.
+ (default_solib_validate): New function.
+ (_initialize_solib): Add "validate-build-id".
+ * solib.h (default_solib_validate): New declaration.
+ * solist.h (struct so_list): New fields 'build_idsz' and 'build_id'.
+ (target_so_ops): New field 'validate'.
+
+2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ gdbserver build-id attribute generator.
+ * features/library-list-svr4.dtd (library-list-svr4): New
+ 'build-id' attribute.
+
+2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Move linux_find_memory_regions_full & co.
+ * linux-tdep.c (nat/linux-maps.h): Include.
+ (gdb_regex.h): Remove the include.
+ (enum filterflags, struct smaps_vmflags, read_mapping, decode_vmflags)
+ (mapping_is_anonymous_p, dump_mapping_p): Moved to nat/linux-maps.c.
+ (linux_find_memory_region_ftype): Moved typedef to nat/linux-maps.h.
+ (linux_find_memory_regions_full): Moved definition to nat/linux-maps.c.
+ * nat/linux-maps.c: Include ctype.h, target/target-utils.h, gdb_regex.h
+ and target/target.h.
+ (struct smaps_vmflags, read_mapping, decode_vmflags)
+ (mapping_is_anonymous_p, dump_mapping_p): Move from linux-tdep.c.
+ (linux_find_memory_regions_full): Move from linux-tdep.c.
+ * nat/linux-maps.h (read_mapping): New declaration.
+ (linux_find_memory_region_ftype, enum filterflags): Moved from
+ linux-tdep.c.
+ (linux_find_memory_regions_full): New declaration.
+ * target.c (target/target-utils.h): Include.
+ (read_alloc_pread_ftype): Moved typedef to target/target-utils.h.
+ (read_alloc, read_stralloc_func_ftype, read_stralloc): Moved
+ definitions to target/target-utils.c.
+ * target.h (target_fileio_read_stralloc): Move it to target/target.h.
+ * target/target-utils.c (read_alloc, read_stralloc): Move definitions
+ from target.c.
+ * target/target-utils.h (read_alloc_pread_ftype): New typedef.
+ (read_alloc): New declaration.
+ (read_stralloc_func_ftype): New typedef.
+ (read_stralloc): New declaration.
+ * target/target.h (target_fileio_read_stralloc): Move it from target.h.
+
+2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Prepare linux_find_memory_regions_full & co. for move.
+ * linux-tdep.c (linux_find_memory_region_ftype): Comment.
+ (linux_find_memory_regions_full): Change signature and prepare
+ for moving to linux-maps.
+ (linux_find_memory_regions_data): Rename field 'obfd' to 'data'.
+ (linux_find_memory_regions_thunk): New.
+ (linux_find_memory_regions_thunk): Use 'data' field instead of 'obfd'.
+ (linux_find_memory_regions_gdb): New.
+ (linux_find_memory_regions): Rename argument 'obfd' to 'func_data'.
+ (linux_make_mappings_corefile_notes): Use
+ linux_find_memory_regions_gdb.
+ * target.c (read_alloc_pread_ftype): New typedef.
+ (target_fileio_read_alloc_1_pread): New function.
+ (read_alloc): Refactor from target_fileio_read_alloc_1.
+ (read_stralloc_func_ftype): New typedef.
+ (target_fileio_read_alloc_1): New implementation. Use read_alloc.
+ (read_stralloc): Refactored from target_fileio_read_stralloc.
+ (target_fileio_read_stralloc): New implementation, use read_stralloc.
+
+2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * Makefile.in (HFILES_NO_SRCDIR): Change gdb_regex.h to
+ common/gdb_regex.h.
+ (COMMON_OBS): Add gdb_regex.o.
+ (gdb_regex.o): New.
+ * common/common.m4 (GDB_AC_COMMON): Add gdb_use_included_regex,
+ --without-included-regex and USE_INCLUDED_REGEX.
+ * common/gdb_regex.c: New file from utils.c functions.
+ * common/gdb_regex.h: Move it here from gdb_regex.h, update include
+ file wrapping define name.
+ * configure: Rebuilt.
+ * configure.ac (gdb_use_included_regex, --without-included-regex)
+ (USE_INCLUDED_REGEX): Move them to common/common.m4.
+ * gdb_regex.h: Move it to common/gdb_regex.h.
+ * utils.c: Remove include gdb_regex.h.
+ (do_regfree_cleanup, make_regfree_cleanup, get_regcomp_error)
+ (compile_rx_or_error): Move them to common/gdb_regex.c.
+
+2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Create empty nat/linux-maps.[ch] and common/target-utils.[ch].
+ * Makefile.in (HFILES_NO_SRCDIR); Add nat/linux-maps.h,
+ common/target-utils.h.
+ (COMMON_OBS): Add target-utils.o.
+ (linux-maps.o, target-utils.o): New.
+ * target/target-utils.c: New file.
+ * target/target-utils.h: New file.
+ * config/i386/linux.mh (NATDEPFILES): Add linux-maps.o.
+ * config/i386/linux64.mh (NATDEPFILES): Ditto.
+ * nat/linux-maps.c: New file.
+ * nat/linux-maps.h: New file.
+
+2015-07-15 Markus Metzger <markus.t.metzger@intel.com>
+ Pedro Alves <palves@redhat.com>
+
+ * nat/linux-btrace.c (perf_event_read): Change the type of DATA_HEAD.
+ (perf_event_read_all): Change the type of SIZE and DATA_HEAD.
+ (perf_event_read_bts): Change the type of SIZE and READ.
+ (linux_enable_bts): Change the type of SIZE, PAGES, DATA_SIZE,
+ and DATA_OFFSET. Move DATA_SIZE declaration. Restrict the buffer size
+ to UINT_MAX. Check for overflows when using DATA_HEAD from the perf
+ mmap page.
+ (linux_enable_pt): Change the type of PAGES and SIZE. Restrict the
+ buffer size to UINT_MAX.
+ (linux_read_bts): Change the type of BUFFER_SIZE, SIZE, DATA_HEAD, and
+ DATA_TAIL.
+ * nat/linux-btrace.h (struct perf_event_buffer)<size, data_head>
+ <last_head>: Change type.
+ * common/btrace-common.h (struct btrace_dat_pt) <size>: Change type.
+ * common/btrace-common.c (btrace_data_append): Change the type of
+ SIZE.
+ * btrace.c (parse_xml_raw): Change the type of SIZE. Change oddness
+ check.
+
+2015-07-14 Simon Marchi <simon.marchi@ericsson.com>
+
+ * gdbtypes.h (CHECK_TYPEDEF): Remove.
+ * aarch64-tdep.c (aarch64_return_in_memory): Replace CHECK_TYPEDEF
+ with check_typedef.
+ * ada-lang.c (decode_constrained_packed_array_type): Likewise.
+ (ada_array_length): Likewise.
+ (find_parallel_type_by_descriptive_type): Likewise.
+ (ada_check_typedef): Likewise.
+ * arm-tdep.c (arm_return_in_memory): Likewise.
+ * ax-gdb.c (gen_trace_static_fields): Likewise.
+ (gen_struct_ref_recursive): Likewise.
+ * c-exp.y (exp : SIZEOF '(' type ')' %prec UNARY): Likewise.
+ (variable: block COLONCOLON name): Likewise.
+ (qualified_name: TYPENAME COLONCOLON name): Likewise.
+ * c-lang.c (classify_type): Likewise.
+ * c-typeprint.c (c_print_type): Likewise.
+ (c_print_typedef): Likewise.
+ (c_type_print_base): Likewise.
+ * c-valprint.c (c_val_print): Likewise.
+ * compile/compile-c-types.c (convert_type): Likewise.
+ * compile/compile-object-load.c (get_out_value_type): Likewise.
+ * completer.c (add_struct_fields): Likewise.
+ (expression_completer): Likewise.
+ * cp-namespace.c (cp_find_type_baseclass_by_name): Likewise.
+ (cp_lookup_nested_symbol_1): Likewise.
+ (cp_lookup_nested_symbol): Likewise.
+ * cp-valprint.c (cp_print_value_fields): Likewise.
+ (cp_print_static_field): Likewise.
+ * d-valprint.c (d_val_print): Likewise.
+ * eval.c (evaluate_subexp_standard): Likewise.
+ (evaluate_subexp_for_sizeof): Likewise.
+ * f-exp.y (exp : SIZEOF '(' type ')' %prec UNARY): Likewise.
+ * f-typeprint.c (f_type_print_base): Likewise.
+ * f-valprint.c (f_val_print): Likewise.
+ * gdbtypes.c (get_discrete_bounds): Likewise.
+ (create_array_type_with_stride): Likewise.
+ (type_name_no_tag_or_error): Likewise.
+ (lookup_struct_elt_type): Likewise.
+ (get_unsigned_type_max): Likewise.
+ (internal_type_vptr_fieldno): Likewise.
+ (set_type_vptr_fieldno): Likewise.
+ (internal_type_vptr_basetype): Likewise.
+ (set_type_vptr_basetype): Likewise.
+ (get_vptr_fieldno): Likewise.
+ (is_integral_type): Likewise.
+ (is_scalar_type): Likewise.
+ (is_scalar_type_recursive): Likewise.
+ (distance_to_ancestor): Likewise.
+ (is_unique_ancestor_worker): Likewise.
+ (check_types_equal): Likewise.
+ * gnu-v2-abi.c (gnuv2_value_rtti_type): Likewise.
+
+2015-07-14 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * dwarf2read.c (find_slot_in_mapped_hash): Extend language support to
+ also test for language_d.
+ (dwarf2_compute_name): Likewise.
+ (read_func_scope): Likewise.
+ (read_structure_type): Likewise.
+ (new_symbol_full): Likewise.
+ (determine_prefix): Likewise.
+ (read_import_statement): Use dot as the separator for language_d.
+ (typename_concat): Likewise, but don't prefix the D main function.
+
+2015-07-14 Peter Bergner <bergner@vnet.ibm.com>
+
+ * nat/linux-namespaces.c (setns): Rename from this ...
+ (do_setns): ... to this. Support calling setns if it exists.
+ (mnsh_handle_setns): Call do_setns.
+
+2015-07-13 Yao Qi <yao.qi@linaro.org>
+
+ * exec.c (exec_file_attach): Add period at the end of error
+ message.
+
+2015-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * tui/tui-win.c (window_name_completer): New function.
+ (focus_completer): Call window_name_completer. All old content
+ moved into window_name_completer.
+ (winheight_completer): New function.
+ (_initialize_tui_win): Rename variable. Add completer to
+ winheight command. Update doc string on winheight.
+
+2015-07-12 Sandra Loosemore <sandra@codesourcery.com>
+
+ * nios2-linux-tdep.c (_initialize_nios2_linux_tdep): Register
+ all nios2 mach variants.
+
+2015-07-10 Kevin Buettner <kevinb@redhat.com>
+
+ * rx-tdep.c (rx_get_opcode_byte): Use target_read_code instead
+ of target_read_memory.
+
+2015-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * tui/tui-win.c (tui_set_win_height): Use a cleanup to free the
+ string copy.
+ (parse_scrolling_args): Likewise.
+
+2015-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * tui/tui-win.c (focus_completer): Don't duplicate the tui window
+ names in this function.
+
+2015-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * tui/tui-data.h (SRC_NAME): Convert to lower case.
+ (CMD_NAME): Likewise.
+ (DATA_NAME): Likewise.
+ (DISASSEM_NAME): Likewise.
+ * tui/tui-win.c (tui_set_focus): Window names are now lower case.
+ (tui_set_win_height): Likewise.
+ (parse_scrolling_args): Likewise.
+
+2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
+
+ * record-btrace.c (record_btrace_goto_begin)
+ (record_btrace_goto_end, record_btrace_goto): Move call to
+ print_stack_frame ...
+ (record_btrace_set_replay): ... here. Set stop_pc.
+ * record-full.c (record_full_goto_entry): Set stop_pc.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * NEWS: Mention support for tracepoints on aarch64-linux.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * linux-aarch64-low.c (aarch64_supports_tracepoints): New
+ function. Return 1.
+ (the_low_target): Install it.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * gdb.trace/backtrace.exp: Set registers for aarch64 target.
+ * gdb.trace/collection.exp: Likewise.
+ * gdb.trace/mi-trace-frame-collected.exp: Likewise.
+ * gdb.trace/mi-trace-unavailable.exp: Likewise.
+ * gdb.trace/report.exp: Likewise.
+ * gdb.trace/trace-break.exp: Likewise.
+ * gdb.trace/unavailable.exp: Likewise.
+ * gdb.trace/while-dyn.exp: Likewise.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * aarch64-tdep.c: Add ax.h and ax-gdb.h includes.
+ (aarch64_gen_return_address): New function.
+ (aarch64_gdbarch_init): Hook it.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * aarch64-tdep.c (aarch64_make_stub_cache): Set available_p and
+ swallow NOT_AVAILABLE_ERROR.
+ (aarch64_stub_this_id): Call frame_id_build_unavailable_stack if
+ available_p is not set.
+ (aarch64_stub_frame_unwind_stop_reason): New function.
+ (aarch64_stub_unwind): Install it.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * aarch64-tdep.c (aarch64_prologue_cache) <available_p>: New
+ field.
+ (aarch64_make_prologue_cache_1): New function, factored out from
+ aarch64_make_prologue_cache. Do not allocate cache. Set
+ available_p.
+ (aarch64_make_prologue_cache): Reimplement wrapping
+ aarch64_make_prologue_cache_1, and swallowing
+ NOT_AVAILABLE_ERROR.
+ (aarch64_prologue_frame_unwind_stop_reason): New function.
+ Return UNWIND_UNAVAILABLE if available_p is not set.
+ (aarch64_prologue_unwind): Install it.
+ (aarch64_prologue_this_id): Move prev_pc and prev_sp limit
+ checks into aarch64_prologue_frame_unwind_stop_reason. Call
+ frame_id_build_unavailable_stack if available_p is not set.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * aarch64-tdep.c (aarch64_prologue_cache) <func, prev_pc>: New
+ fields.
+ (aarch64_scan_prologue): Set prev_pc.
+ (aarch64_make_prologue_cache): Set func.
+ (aarch64_make_stub_cache): Set prev_pc.
+ (aarch64_prologue_this_id): Remove local variables id, pc and
+ func. Read prev_pc and func from cache.
+ (aarch64_stub_this_id): Read prev_pc from cache.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * aarch64-tdep.c (aarch64_make_stub_cache): Update comment. New
+ argument this_cache. Remove unused local variables reg and
+ unwound_fp. Return early if this_cache is already set. Set
+ this_cache.
+ (aarch64_stub_this_id): Update call to aarch64_make_stub_cache.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * aarch64-tdep.c (aarch64_make_prologue_cache): Update comment.
+ New argument this_cache. Return early if this_cache is already
+ set. Set this_cache.
+ (aarch64_prologue_this_id): Update call to
+ aarch64_make_prologue_cache.
+ (aarch64_prologue_prev_register): Likewise.
+ (aarch64_normal_frame_base): Likewise.
+
+2015-07-09 Simon Marchi <simon.marchi@ericsson.com>
+
+ * c-valprint.c (c_val_print): Factor out memberptr printing code
+ from c_val_print to ...
+ (c_val_print_memberptr): ... this new function.
+
+2015-07-09 Simon Marchi <simon.marchi@ericsson.com>
+
+ * c-valprint.c (c_val_print): Factor out int printing code to ...
+ (c_val_print_int): ... this new function.
+
+2015-07-09 Simon Marchi <simon.marchi@ericsson.com>
+
+ * c-valprint.c (c_val_print): Factor out struct and union
+ printing code to ...
+ (c_val_print_struct): ... this new function ...
+ (c_val_print_union): ... and this new function.
+
+2015-07-09 Simon Marchi <simon.marchi@ericsson.com>
+
+ * c-valprint.c (c_val_print): Factor out pointer printing code
+ to ...
+ (c_val_print_ptr): ... this new function.
+
+2015-07-09 Simon Marchi <simon.marchi@ericsson.com>
+
+ * c-valprint.c (c_valprint): Factor our array printing code from
+ c_val_print to ...
+ (c_val_print_array): ... this new function.
+
+2015-07-09 Simon Marchi <simon.marchi@ericsson.com>
+
+ * c-valprint.c (c_val_print): Factor out pointer printing code
+ to ...
+ (print_unpacked_pointer): ... this new function.
+
+2015-07-09 Simon Marchi <simon.marchi@ericsson.com>
+
+ * c-valprint.c (c_val_print): Remove an assignment to i and move
+ its declaration.
+
+2015-07-09 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity): Add
+ argument ptid. Update comments. Caller update.
+
+2015-07-09 Markus Metzger <markus.t.metzger@intel.com>
+
+ * btrace.c (pt_print_packet): Print stop, vmcs, tma, mtc, cyc, and
+ mnt packets.
+
+2015-07-09 Markus Metzger <markus.t.metzger@intel.com>
+
+ * btrace.c (btrace_pt_readmem_callback): Change type of PC argument.
+
+2015-07-08 Simon Marchi <simon.marchi@ericsson.com>
+
+ * progspace.c (delete_program_space): Add missing spaces.
+
+2015-07-08 Simon Marchi <simon.marchi@ericsson.com>
+
+ * inferior.c (delete_inferior_1): Rename to ...
+ (delete_inferior): ..., remove 'silent' parameter, delete
+ program space when unused and remove call to prune_program_spaces.
+ Remove the old, unused, delete_inferior.
+ (delete_inferior_silent): Remove.
+ (prune_inferiors): Change call from delete_inferior_1 to
+ delete_inferior and remove 'silent' parameter. Remove call to
+ prune_program_spaces.
+ (remove_inferior_command): Idem.
+ * inferior.h (delete_inferior_1): Rename to...
+ (delete_inferior): ..., remove 'silent' parameter and remove the
+ original delete_inferior.
+ (delete_inferior_silent): Remove.
+ * mi/mi-main.c (mi_cmd_remove_inferior): Change call from
+ delete_inferior_1 to delete_inferior and remove 'silent'
+ parameter.
+ * progspace.c (prune_program_spaces): Remove.
+ (pspace_empty_p): Rename to...
+ (program_space_empty_p): ... and make non-static.
+ (delete_program_space): New.
+ * progspace.h (prune_program_spaces): Remove declaration.
+ (program_space_empty_p): New declaration.
+ (delete_program_space): New declaration.
+ * monitor.c (monitor_close): Replace call to
+ delete_thread_silent and delete_inferior_silent with
+ discard_all_inferiors.
+
+2015-07-08 Patrick Palka <patrick@parcs.ath.cx>
+
+ * defs.h (deprecated_register_changed_hook): Remove prototype.
+ * interps.c (clear_iterpreter_hooks): Remove reference to
+ deprecated_register_changed_hook.
+ * top.c (deprecated_register_changed_hook): Remove prototype.
+ * valops.c (value_assign): Remove reference to
+ deprecated_register_changed_hook.
+ * tui/tui-hooks.c (tui_register_changed): Add parameter "frame".
+ Add comment documenting the function.
+ (tui_register_changed_observer): Define.
+ (tui_install_hooks): Remove reference to
+ deprecated_register_changed_hook. Set
+ tui_register_changed_observer.
+ (tui_remove_hooks): Remove reference to
+ deprecated_register_changed_hook. Unset
+ tui_register_changed_observer.
+
+2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ PR compile/18484
+ * compile/compile-c-types.c (insert_type): Change gdb_assert to error.
+
+2015-07-08 Robert O'Callahan <robert@ocallahan.org>
+
+ PR exp/18617
+ * ax-gdb.c (gen_conversion): Extend to 'to' bits, not 'from'.
+
+2015-07-08 Markus Metzger <markus.t.metzger@intel.com>
+
+ * MAINTAINERS (Write After Approval): Add Markus T. Metzger.
+
+2015-07-08 Markus Metzger <markus.t.metzger@intel.com>
+
+ * nat/linux-btrace.c (kernel_supports_bts, kernel_supports_pt):
+ Use safe_strerror() instead of strerror().
+
+2015-07-07 Yao Qi <yao.qi@linaro.org>
+
+ * features/arm-with-m-fpa-layout.xml: Set architecture to arm.
+ * features/arm-with-m-fpa-layout.c: Regenerated.
+ * features/arm-with-m-vfp-d16.xml: Likewise.
+ * features/arm-with-m-vfp-d16.c: Regenerated.
+ * features/arm-with-m.xml: Likewise.
+ * features/arm-with-m.c: Regenerated.
+ * features/arm-with-neon.xml: Likewise.
+ * features/arm-with-neon.c: Regenerated.
+ * features/arm-with-vfpv2.xml: Likewise.
+ * features/arm-with-vfpv2.c: Regenerated.
+ * features/arm-with-vfpv3.xml: Likewise.
+ * features/arm-with-vfpv3.c: Regenerated.
+
+2015-07-07 Yao Qi <yao.qi@linaro.org>
+
+ * aarch32-linux-nat.h (VFP_REGS_SIZE): New macro, moved from
+ arm-linux-nat.c.
+ * aarch64-linux-nat.c: Include aarch32-linux-nat.h and
+ elf/external.h.
+ (fetch_gregs_from_thread): Call aarch32_gp_regcache_supply
+ if target is 32-bit.
+ (store_gregs_to_thread): Call aarch32_gp_regcache_collect
+ if target is 32-bit.
+ (fetch_fpregs_from_thread): Call aarch32_vfp_regcache_supply
+ if target is 32-bit.
+ (store_fpregs_to_thread): Call aarch32_vfp_regcache_collect
+ if target is 32-bit.
+ (tdesc_arm_with_vfpv3, tdesc_arm_with_neon): Declare.
+ (aarch64_linux_read_description): Return the right target
+ description.
+ * arm-linux-nat.c (VFP_REGS_SIZE): Moved to aarch32-linux-nat.h.
+ * config/aarch64/linux.mh (NATDEPFILES): Add aarch32-linux-nat.o.
+ * configure.tgt (aarch64*-*-linux*): Add arm-tdep.o and
+ arm-linux-tdep.o.
+
+2015-07-07 Yao Qi <yao.qi@linaro.org>
+
+ * aarch32-linux-nat.c: New file.
+ * aarch32-linux-nat.h: New file.
+ * arm-linux-nat.c: Include aarch32-linux-nat.h.
+ (fetch_regs): Move code to aarch32-linux-nat.c. Call
+ aarch32_gp_regcache_supply.
+ (store_regs): Move code to aarch32-linux-nat.c. Call
+ aarch32_gp_regcache_collect.
+ (fetch_vfp_regs): Move code to aarch32-linux-nat.c. Call
+ aarch32_vfp_regcache_supply.
+ (store_vfp_regs): Move code to aarch32-linux-nat.c. Call
+ aarch32_vfp_regcache_collect.
+ * config/arm/linux.mh (NATDEPFILES): Add aarch32-linux-nat.o.
+
+2015-07-07 Yao Qi <yao.qi@linaro.org>
+
+ * arm-linux-nat.c (store_fpregister): Remove.
+ (store_register): Likewise.
+ (fetch_fpregister): Likewise.
+ (fetch_register): Likewise.
+ (arm_linux_store_inferior_registers): Call store_regs and
+ store_fpregs instead.
+ (arm_linux_fetch_inferior_registers): Call fetch_fpregs and
+ fetch_regs instead.
+
+2015-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * doc/gdb.texinfo (TUI): Restructure documentation on TUI layout
+ and focus commands.
+
+2015-07-06 Joel Brobecker <brobecker@adacore.com>
+
+ * NEWS: Create a new section for the next release branch.
+ Rename the section of the current branch, now that it has
+ been cut.
+
+2015-07-06 Joel Brobecker <brobecker@adacore.com>
+
+ GDB 7.10 branch created (66c4b3e8a628a207bc6aafef6af0c4128195f56e):
+ * version.in: Bump version to 7.10.50.DATE-cvs.
+
+2015-07-06 Luis Machado <lgustavo@codesourcery.com>
+
+ * breakpoint.c (remove_breakpoint_1): Don't handle permanent
+ breakpoints in a special way.
+ (remove_breakpoint): Likewise.
+ (mark_breakpoints_out): Likewise.
+
+2015-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * doc/gdb.texinfo (TUI): Add comma after @xref.
+
+2015-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * tui/tui-win.c (tui_set_focus): Use structure member 'generic'
+ instead of casting the structure type.
+
+2015-07-06 Simon Marchi <simon.marchi@ericsson.com>
+
+ * valops.c (search_struct_field): Remove OFFSET parameter.
+ (value_cast_structs): Adjust calls to search_struct_field.
+ (value_struct_elt): Same.
+ (find_overload_match): Same.
+
+2015-07-06 Simon Marchi <simon.marchi@ericsson.com>
+
+ * value.c (value_fetch_lazy): Update comment, change return
+ value to void.
+ * value.h (value_fetch_lazy): Change return value to void.
+
+2015-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * tui/tui-data.c (tui_partial_win_by_name): Window name is const.
+ (tui_win_name): Make parameter and result const.
+ * tui/tui-data.h (tui_win_name): Make parameter and result const.
+
+2015-07-06 Patrick Palka <patrick@parcs.ath.cx>
+
+ * i386-tdep.c (i386_mpx_info_bounds): Don't call error, instead
+ use printf_unfiltered.
+ (set_mpx_cmd): Add missing trailing space to command string
+ literal.
+ (_initialize_i386_tdep): Give the "mpx" prefix command its
+ correct name.
+
+2015-07-02 Kevin Buettner <kevinb@redhat.com>
+
+ * rx-tdep.c (RX_USP_REGNUM, RX_BPC_REGNUM): New constants.
+ (enum rx_frame_type): New.
+ (struct rx_prologue): Add new field `frame_type'.
+ (rx_analyze_prologue): Add `frame_type' parameter. Cache this
+ parameter in the prologue struct. Add code for recording
+ locations of PC and PSW for fast interrupt and exception frames.
+ (rx_skip_prologue): Adjust call to rx_analyze_prologue.
+ (rx_analyze_frame_prologue): Add `frame_type' parameter.
+ (rx_frame_type): New function.
+ (rx_frame_base): Fetch frame type and pass it to rx_analyze_prologue.
+ (rx_frame_this_id): Rename parameter `this_prologue_cache' to
+ `this_cache'.
+ (rx_frame_prev_register): Rename parameter `this_prologue_cache' to
+ `this_cache'. Add cases for RX_FRAME_TYPE_EXCEPTION and
+ RX_FRAME_TYPE_FAST_INTERRUPT.
+ (normal_frame_p, exception_frame_p, rx_frame_sniffer_common)
+ (rx_frame_sniffer, rx_exception_sniffer): New functions.
+ (rx_frame_unwind): Use rx_frame_sniffer instead of
+ default_frame_sniffer.
+ (rx_frame_unwind): New unwinder.
+ (rx_gdbarch_init): Register new unwinder.
+
+2015-07-02 Kevin Buettner <kevinb@redhat.com>
+
+ * rx-tdep.c (RX_BPSW_REGNUM, RX_FPSW_REGNUM): New constants.
+ (struct gdbarch_tdep): Add fields rx_psw_type and rx_fpsw_type.
+ (rx_register_type): Add cases for RX_PSW_REGNUM, RX_BPSW_REGNUM,
+ and RX_FPSW_REGNUM.
+ (rx_gdbarch_init): Initialize PSW, BPSW, and FPSW flags types.
+
+2015-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix GCC false warning.
+ * s390-linux-tdep.c (s390_handle_arg): Initialize VAL.
+
+2015-07-02 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Fix
+ typo in the debugging message.
+
+2015-07-02 Markus Metzger <markus.t.metzger@intel.com>
+
+ * btrace.c: Include gdbcmd.h, cli/cli-utils.h, and ctype.h.
+ (maint_btrace_cmdlist, maint_btrace_set_cmdlist)
+ (maint_btrace_show_cmdlist, maint_btrace_pt_set_cmdlist)
+ (maint_btrace_pt_show_cmdlist, maint_btrace_pt_skip_pad)
+ (btrace_maint_clear): New.
+ (btrace_fetch, btrace_clear): Call btrace_maint_clear.
+ (pt_print_packet, btrace_maint_decode_pt)
+ (btrace_maint_update_pt_packets, btrace_maint_update_packets)
+ (btrace_maint_print_packets, get_uint, get_context_size, no_chunk)
+ (maint_btrace_packet_history_cmd)
+ (maint_btrace_clear_packet_history_cmd, maint_btrace_clear_cmd)
+ (maint_btrace_cmd, maint_btrace_set_cmd, maint_btrace_show_cmd)
+ (maint_btrace_pt_set_cmd, maint_btrace_pt_show_cmd)
+ (maint_info_btrace_cmd, _initialize_btrace): New.
+ * btrace.h (btrace_pt_packet, btrace_pt_packet_s)
+ (btrace_maint_packet_history, btrace_maint_info): New.
+ (btrace_thread_info) <maint>: New.
+ * NEWS: Announce it.
+
+2015-07-02 Markus Metzger <markus.t.metzger@intel.com>
+
+ * btrace.c (btrace_fetch): Append the new trace data.
+ (btrace_clear): Clear the stored trace data.
+ * btrace.h (btrace_thread_info) <data>: New.
+ * common/btrace-common.h (btrace_data_clear)
+ (btrace_data_append): New.
+ * common/btrace-common.c (btrace_data_clear)
+ (btrace_data_append): New.
+
+2015-07-02 Markus Metzger <markus.t.metzger@intel.com>
+
+ * nat/linux-btrace.c (linux_enable_bts): Check for
+ PERF_ATTR_SIZE_VER5.
+ Check for data_offset and data_size fields. Use them.
+
+2015-07-02 Markus Metzger <markus.t.metzger@intel.com>
+
+ * NEWS: Announce new commands "record btrace pt" and "record pt".
+ Announce new options "set|show record btrace pt buffer-size".
+ * btrace.c: Include "rsp-low.h".
+ Include "inttypes.h".
+ (btrace_add_pc): Add forward declaration.
+ (pt_reclassify_insn, ftrace_add_pt, btrace_pt_readmem_callback)
+ (pt_translate_cpu_vendor, btrace_finalize_ftrace_pt)
+ (btrace_compute_ftrace_pt): New.
+ (btrace_compute_ftrace): Support BTRACE_FORMAT_PT.
+ (check_xml_btrace_version): Update version check.
+ (parse_xml_raw, parse_xml_btrace_pt_config_cpu)
+ (parse_xml_btrace_pt_raw, parse_xml_btrace_pt)
+ (btrace_pt_config_cpu_attributes, btrace_pt_config_children)
+ (btrace_pt_children): New.
+ (btrace_children): Add support for "pt".
+ (parse_xml_btrace_conf_pt, btrace_conf_pt_attributes): New.
+ (btrace_conf_children): Add support for "pt".
+ * btrace.h: Include "intel-pt.h".
+ (btrace_pt_error): New.
+ * common/btrace-common.c (btrace_format_string, btrace_data_fini)
+ (btrace_data_empty): Support BTRACE_FORMAT_PT.
+ * common/btrace-common.h (btrace_format): Add BTRACE_FORMAT_PT.
+ (struct btrace_config_pt): New.
+ (struct btrace_config)<pt>: New.
+ (struct btrace_data_pt_config, struct btrace_data_pt): New.
+ (struct btrace_data)<pt>: New.
+ * features/btrace-conf.dtd (btrace-conf)<pt>: New.
+ (pt): New.
+ * features/btrace.dtd (btrace)<pt>: New.
+ (pt, pt-config, cpu): New.
+ * nat/linux-btrace.c (perf_event_read, perf_event_read_all)
+ (perf_event_pt_event_type, kernel_supports_pt)
+ (linux_supports_pt): New.
+ (linux_supports_btrace): Support BTRACE_FORMAT_PT.
+ (linux_enable_bts): Free tinfo on error.
+ (linux_enable_pt): New.
+ (linux_enable_btrace): Support BTRACE_FORMAT_PT.
+ (linux_disable_pt): New.
+ (linux_disable_btrace): Support BTRACE_FORMAT_PT.
+ (linux_fill_btrace_pt_config, linux_read_pt): New.
+ (linux_read_btrace): Support BTRACE_FORMAT_PT.
+ * nat/linux-btrace.h (struct btrace_tinfo_pt): New.
+ (struct btrace_target_info)<pt>: New.
+ * record-btrace.c (set_record_btrace_pt_cmdlist)
+ (show_record_btrace_pt_cmdlist): New.
+ (record_btrace_print_pt_conf): New.
+ (record_btrace_print_conf): Support BTRACE_FORMAT_PT.
+ (btrace_ui_out_decode_error): Support BTRACE_FORMAT_PT.
+ (cmd_record_btrace_pt_start): New.
+ (cmd_record_btrace_start): Support BTRACE_FORMAT_PT.
+ (cmd_set_record_btrace_pt, cmd_show_record_btrace_pt): New.
+ (_initialize_record_btrace): Add new commands.
+ * remote.c (PACKET_Qbtrace_pt, PACKET_Qbtrace_conf_pt_size): New.
+ (remote_protocol_features): Add "Qbtrace:pt".
+ Add "Qbtrace-conf:pt:size".
+ (remote_supports_btrace): Support BTRACE_FORMAT_PT.
+ (btrace_sync_conf): Support PACKET_Qbtrace_conf_pt_size.
+ (remote_enable_btrace): Support BTRACE_FORMAT_PT.
+ (_initialize_remote): Add new commands.
+
+2015-07-02 Markus Metzger <markus.t.metzger@intel.com>
+
+ * configure.ac: check for libipt
+ * configure: Regenerate.
+ * config.in: Regenerate.
+ * Makefile.in (LIBIPT): New.
+ (CLIBS): Add $LIBIPT.
+ * NEWS: document new configure options
+
+2015-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * compile/compile-object-load.c (compile_object_load): Replace debug
+ message "lookup undefined ELF symbol" by 3 more specific messages.
+
+2015-07-01 Kevin Buettner <kevinb@redhat.com>
+
+ * rl78-tdep.c (struct gdbarch_tdep): Add new field, rl78_psw_type.
+ (rl78_register_type): Add case for RL78_PSW_REGNUM.
+ (rl78_gdbarch_init): Initialize rl78_psw_type.
+
+2015-07-01 Patrick Palka <patrick@parcs.ath.cx>
+
+ * tui/tui-hooks.c (tui_refresh_frame_and_register_information):
+ Update commentary. Always refresh the registers when frame
+ information has changed.
+ * tui/tui-stack.c (tui_show_frame_info): Update commentary.
+ Change return type to int. Return 1 if frame information has
+ changed, 0 otherwise.
+ (tui_before_prompt): Update commentary.
+ * tui/tui-stack.h (tui_show_frame_info): Change return type to
+ int.
+
+2015-06-30 Patrick Palka <patrick@parcs.ath.cx>
+
+ PR tui/13378
+ * frame.c (select_frame): Remove reference to
+ deprecated_selected_frame_level_changed_hook.
+ * frame.h (deprecated_selected_frame_level_changed_hook): Remove
+ declaration.
+ * stack.c (deprecated_selected_frame_level_changed_hook):
+ Likewise.
+ * tui/tui-hooks.c (tui_selected_frame_level_changed_hook):
+ Rename to ...
+ (tui_refresh_frame_and_register_information): ... this. Bail
+ out if there is no stack. Don't update register information
+ unless registers_too_p is true.
+ (tui_print_frame_info_listing_hook): Rename to ...
+ (tui_dummy_print_frame_info_listing_hook): ... this.
+ (tui_before_prompt): New function.
+ (tui_normal_stop): New function.
+ (tui_before_prompt_observer): New observer.
+ (tui_normal_stop_observer): New observer.
+ (tui_install_hooks): Set
+ deprecated_print_frame_info_listing_hook to
+ tui_dummy_print_frame_info_listing_hook. Register
+ tui_before_prompt_observer to call tui_before_prompt and
+ tui_normal_stop_observer to call tui_normal_stop. Remove
+ reference to deprecated_selected_frame_level_changed_hook.
+ (tui_remove_hooks): Detach and unset tui_before_prompt_observer
+ and tui_normal_stop_observer. Remove reference to
+ deprecated_selected_frame_level_changed_hook.
+
+2015-06-30 Patrick Palka <patrick@parcs.ath.cx>
+
+ PR tui/13378
+ * tui/tui-stack.c (tui_set_locator_info): Change prototype to
+ return an int instead of void. Return whether the locator
+ window has changed.
+ (tui_show_frame_info): If the locator info has not changed, then
+ bail out early to avoid refreshing the windows.
+
+2015-06-30 Patrick Palka <patrick@parcs.ath.cx>
+
+ * tui/tui-stack.c (tui_set_locator_info): Explicitly pass
+ LOCATOR_WIN to tui_alloc_content.
+
+2015-06-30 Yao Qi <yao.qi@linaro.org>
+
+ PR tdep/18605
+ * arm-tdep.c (arm_get_next_pc_raw): Break for media
+ instructions.
+
+2015-06-29 Kevin Buettner <kevinb@redhat.com>
+
+ * rx-tdep.c (RX_PSW_REGNUM): New enum constant.
+ (rx_dwarf_reg_to_regnum): New function.
+ (rx_gdbarch_init): Register rx_dwarf_reg_to_regnum. Use dwarf2
+ unwinding.
+
+2015-06-29 Pedro Alves <palves@redhat.com>
+
+ PR threads/18127
+ * infcall.c (run_inferior_call): On infcall success, if the thread
+ was marked stopped before, reset it back to stopped.
+ * infrun.c (resume): Don't suppress the set_running calls when
+ doing an infcall.
+ (normal_stop): Only discard the finish_thread_state cleanup if the
+ infcall succeeded.
+
+2015-06-29 Pierre Langlois <pierre.langlois@arm.com>
+
+ * MAINTAINERS (Write After Approval): Update my email address.
+
+2015-06-26 Keith Seitz <keiths@redhat.com>
+ Doug Evans <dje@google.com>
+
+ PR 16253
+ * block.c (block_lookup_symbol): For non-function blocks,
+ continue to search for a symbol with an exact domain match
+ Otherwise, return any previously found "best domain" symbol.
+ (block_lookup_symbol_primary): Likewise.
+
+2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
+
+ * NEWS: Mention the new option "history remove-duplicates".
+ * top.c (history_remove_duplicates): New static variable.
+ (show_history_remove_duplicates): New static function.
+ (gdb_add_history): Conditionally remove duplicate history
+ entries.
+ (init_main): Add "history remove-duplicates" option.
+
+2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
+
+ * tui/tui-win.c (focus_completer): New static function.
+ (_initialize_tui_win): Set the completion function of the
+ "focus" command to focus_completer.
+
+2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linespec.c (minsym_found): Reset sal.PC for COMPUNIT_LOCATIONS_VALID
+ and language_asm..
+ * symtab.c (find_function_start_sal): Likewise.
+
+2015-06-25 Gary Benson <gbenson@redhat.com>
+
+ * solib.c (solib_find_1): Set local variable sysroot to NULL if
+ it is the empty string after trailing slashes have been stripped.
+
+2015-06-25 Gary Benson <gbenson@redhat.com>
+
+ * exec.c (exec_file_locate_attach): Remove gdb_sysroot NULL check.
+ * infrun.c (follow_exec): Likewise.
+ * remote.c (remote_filesystem_is_local): Likewise.
+ * solib.c (solib_find_1): Likewise.
+
+2015-06-24 Keith Seitz <keiths@redhat.com>
+
+ * build-id.c (build_id_to_debug_bfd): Add cleanup to free
+ return value from lrealpath.
+
+2015-06-24 Mike Frysinger <vapier@gentoo.org>
+
+ * remote-sim.c (gdbsim_open): Move sysroot update to the top.
+
+2015-06-24 Mike Frysinger <vapier@gentoo.org>
+
+ * remote-sim.c: Include gdb_bfd.h.
+ (gdbsim_open): Declare new local sysroot pointing to gdb_sysroot.
+ Skip TARGET_SYSROOT_PREFIX in gdb_sysroot when it is active.
+
+2015-06-24 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-tdep.c (aarch64_linux_init_abi): Don't call
+ set_gdbarch_get_siginfo_type.
+ * amd64-linux-tdep.c (amd64_linux_init_abi_common): Likewise.
+ * arm-linux-tdep.c (arm_linux_init_abi): Likewise.
+ * i386-linux-tdep.c (i386_linux_init_abi): Likewise.
+ * m68klinux-tdep.c (m68k_linux_init_abi): Likewise.
+ * ppc-linux-tdep.c (ppc_linux_init_abi): Likewise.
+ * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
+ * tilegx-linux-tdep.c (tilegx_linux_init_abi): Likewise.
+ * linux-tdep.c (linux_get_siginfo_type): Change it to static.
+ (linux_init_abi): Call set_gdbarch_get_siginfo_type.
+ * linux-tdep.h (linux_get_siginfo_type): Remove the declaration.
+
+2015-06-24 Gary Benson <gbenson@redhat.com>
+
+ * common/buffer.c (stdint.h): Do not include.
+ * common/print-utils.c (stdint.h): Likewise.
+ * compile/compile-c-symbols.c (gdb_assert.h): Likewise.
+ * compile/compile-c-types.c (gdb_assert.h): Likewise.
+ * ft32-tdep.c (gdb_assert.h): Likewise.
+ * guile/scm-utils.c (stdint.h): Likewise.
+ * i386-linux-tdep.c (stdint.h): Likewise.
+ * i386-tdep.c (stdint.h): Likewise.
+ * nat/linux-btrace.c (stdint.h): Likewise.
+ * nat/linux-btrace.h (stdint.h): Likewise.
+ * nat/linux-ptrace.c (stdint.h): Likewise.
+ * nat/mips-linux-watch.h (stdint.h): Likewise.
+ * ppc-linux-nat.c (stdint.h): Likewise.
+ * python/python-internal.h (stdint.h): Likewise.
+ * stub-termcap.c (stdlib.h): Likewise.
+ * target/target.h (stdint.h): Likewise.
+ * xtensa-linux-nat.c (stdint.h): Likewise.
+
+2015-06-23 Patrick Palka <patrick@parcs.ath.cx>
+
+ * top.c (init_history): Look at errno after calling strtol to
+ properly map large GDBHISTSIZE values to infinity.
+
+2015-06-23 Doug Evans <dje@google.com>
+
+ * inferior.h (struct inferior_suspend_state): Delete, unused.
+ All references deleted.
+
+2015-06-23 Mike Frysinger <vapier@gentoo.org>
+
+ * microblaze-tdep.c (microblaze_push_dummy_code): Delete.
+ (microblaze_push_dummy_call): Likewise.
+ (microblaze_gdbarch_init): Delete calls to set_gdbarch_push_dummy_code
+ and set_gdbarch_push_dummy_call.
+
+2015-06-23 Yao Qi <yao.qi@linaro.org>
+
+ * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers):
+ Check whether have_ptrace_getregset is TRIBOOL_TRUE explicitly.
+ (amd64_linux_store_inferior_registers): Likewise.
+ * arm-linux-nat.c (fetch_fpregister): Likewise.
+ (fetch_fpregs, store_fpregister): Likewise.
+ (store_fpregister, store_fpregs): Likewise.
+ (fetch_register, fetch_regs): Likewise.
+ (store_register, store_regs): Likewise.
+ (fetch_vfp_regs, store_vfp_regs): Likewise.
+ (arm_linux_read_description): Check have_ptrace_getregset is
+ TRIBOOL_UNKNOWN. Set have_ptrace_getregset to TRIBOOL_TRUE
+ or TRIBOOL_FALSE.
+ * i386-linux-nat.c (fetch_xstateregs): Check
+ have_ptrace_getregset is not TRIBOOL_TRUE.
+ (store_xstateregs): Likewise.
+ * linux-nat.c (have_ptrace_getregset): Change its type to
+ enum tribool.
+ * linux-nat.h (tribool): New enum.
+ * x86-linux-nat.c (x86_linux_read_description): Use enum tribool.
+ Check whether have_ptrace_getregset is TRIBOOL_TRUE.
+
2015-06-19 Doug Evans <dje@google.com>
* NEWS: Mention Sun's version of stabs is no longer supported.
2015-03-18 Tristan Gingold <gingold@adacore.com>
- * amd64-windows-tdep.c (amd64_windows_find_unwind_info): Move
- redirection code to ...
- (amd64_windows_frame_decode_insns): ... Here. Fix in prologue
- checks. Fix SAVE_NONVOL operations. Add debug code and comments.
+ * amd64-windows-tdep.c (amd64_windows_find_unwind_info): Move
+ redirection code to ...
+ (amd64_windows_frame_decode_insns): ... Here. Fix in prologue
+ checks. Fix SAVE_NONVOL operations. Add debug code and comments.
2015-03-18 Gary Benson <gbenson@redhat.com>
* config.in: Regenerate.
* configure: Regenerate.
* fbsd-nat.c [!HAVE_KINFO_GETVMMAP] (fbsd_read_mapping): Don't
- define.
+ define.
(fbsd_find_memory_regions): Use kinfo_getvmmap to
enumerate memory regions if present.