+2015-03-03 Pedro Alves <palves@redhat.com>
+
+ * inf-ptrace.c (inf_ptrace_resume): Remove spurious whitespace.
+ Use ptid_get_pid to get the overall process id when resuming all
+ threads.
+
+2015-03-03 Pedro Alves <palves@redhat.com>
+
+ * i386-linux-nat.c (i386_linux_resume): Get the ptrace PID out of
+ the lwp field of ptid. Pass the full ptid to get_thread_regcache.
+ * inf-ptrace.c (get_ptrace_pid): New function.
+ (inf_ptrace_resume): Use it.
+ * linux-nat.c (linux_resume_one_lwp): Pass the LWP's ptid ummodified
+ to the lower layer.
+
+2015-03-03 Markus Metzger <markus.t.metzger@intel.com>
+
+ * nat/linux-btrace.c: Include sys/utsname.h.
+ (linux_determine_kernel_ptr_bits): New.
+ (linux_enable_bts): Call linux_determine_kernel_ptr_bits.
+ * x86-linux-nat.c (x86_linux_enable_btrace): Do not overwrite non-zero
+ ptr_bits.
+
+2015-03-03 Markus Metzger <markus.t.metzger@intel.com>
+
+ * btrace.c (ftrace_update_function): Treat return as tailcall for
+ "_dl_runtime_resolve".
+
+2015-03-03 Markus Metzger <markus.t.metzger@intel.com>
+
+ * btrace.h (btrace_function) <lbegin, lend>: Remove.
+ * btrace.c (ftrace_debug): Do not print the line range.
+ (ftrace_skip_file, ftrace_update_lines): Remove.
+ (ftrace_new_function): Remove lbegin and lend initialization.
+ (btrace_compute_ftrace_bts): Remove call to ftrace_update_lines.
+ * record-btrace.c (btrace_compute_src_line_range): New.
+ (btrace_call_history_src_line): Call btrace_compute_src_line_range.
+
+2015-03-02 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (follow_exec): Delete all threads of the process except
+ the event thread. Extended comments.
+
+2015-03-02 Joel Brobecker <brobecker@adacore.com>
+
+ * contrib/ari/gdb_ari.sh: Reinstate checks for "true" and "false".
+
+2015-03-02 Joel Brobecker <brobecker@adacore.com>
+
+ * utils.h: Remove <stdbool.h> #include.
+ (producer_is_gcc): Change return type to "int".
+ * utils.c (producer_is_gcc): Change return type to int.
+ Return 1 instead of true, and 0 instead of false.
+ Adjust function documentation accordingly.
+
+2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * s390-linux-nat.c (have_regset_vxrs): New static variable.
+ (s390_linux_fetch_inferior_registers): Handle vector registers, if
+ present.
+ (s390_linux_store_inferior_registers): Likewise.
+ (s390_get_hwcap): Remove function. Embed its logic...
+ (s390_read_description): ...here. Yield a target description with
+ vector registers if applicable.
+ * s390-linux-tdep.c: Include "features/s390-vx-linux64.c",
+ "features/s390-tevx-linux64.c", "features/s390x-vx-linux64.c", and
+ "features/s390x-tevx-linux64.c".
+ (struct gdbarch_tdep) <v0_full_regnum>: New field.
+ (s390_dwarf_regmap): Add vector registers. Remove bogus entries
+ for "GNU/Linux-specific registers".
+ (s390_dwarf_reg_r0l): New enum value.
+ (s390_dwarf_reg_to_regnum): Support vector registers.
+ (s390_adjust_frame_regnum): Adjust pseudo DWARF register numbers
+ of GPR lower halves.
+ (regnum_is_vxr_full): New function.
+ (s390_register_name): New function.
+ (s390_pseudo_register_name): Handle v0-v15, which are composed of
+ f0-f15 and v0l-v15l.
+ (s390_pseudo_register_type): Likewise.
+ (s390_pseudo_register_read): Likewise.
+ (s390_pseudo_register_write): Likewise.
+ (s390_value_from_register): Account for the fact that values are
+ placed left-justified in vector registers.
+ (s390_pseudo_register_reggroup_p): Add pseudo registers v0-v15 to
+ the vector reggroup and omit them from the general reggroup.
+ (s390_regmap_vxrs_low, s390_regmap_vxrs_high): New register maps.
+ (s390_vxrs_low_regset, s390_vxrs_high_regset): New regsets.
+ (s390_iterate_over_regset_sections): Add iterations for the two
+ new vector regsets.
+ (s390_core_read_description): Yield a target description with
+ vector registers if applicable.
+ (s390_gdbarch_init): Handle target descriptions with vector
+ registers. Add "register_name" gdbarch method.
+ (_initialize_s390_tdep): Call new tdesc initialization functions.
+ * s390-linux-tdep.h (HWCAP_S390_VX): New macro.
+ (S390_V0_LOWER_REGNUM, S390_V1_LOWER_REGNUM, S390_V2_LOWER_REGNUM)
+ (S390_V3_LOWER_REGNUM, S390_V4_LOWER_REGNUM, S390_V5_LOWER_REGNUM)
+ (S390_V6_LOWER_REGNUM, S390_V7_LOWER_REGNUM, S390_V8_LOWER_REGNUM)
+ (S390_V9_LOWER_REGNUM, S390_V10_LOWER_REGNUM)
+ (S390_V11_LOWER_REGNUM, S390_V12_LOWER_REGNUM)
+ (S390_V13_LOWER_REGNUM, S390_V14_LOWER_REGNUM)
+ (S390_V15_LOWER_REGNUM, S390_V16_REGNUM, S390_V17_REGNUM)
+ (S390_V18_REGNUM, S390_V19_REGNUM, S390_V20_REGNUM)
+ (S390_V21_REGNUM, S390_V22_REGNUM, S390_V23_REGNUM)
+ (S390_V24_REGNUM, S390_V25_REGNUM, S390_V26_REGNUM)
+ (S390_V27_REGNUM, S390_V28_REGNUM, S390_V29_REGNUM)
+ (S390_V30_REGNUM, S390_V31_REGNUM): New macros.
+ (S390_NUM_REGS): Adjust value.
+ (s390_vxrs_low_regset, s390_vxrs_high_regset): Declare.
+ (tdesc_s390_vx_linux64, tdesc_s390_tevx_linux64)
+ (tdesc_s390x_vx_linux64, tdesc_s390x_tevx_linux64): Likewise.
+ * NEWS: Announce S/390 vector register support.
+
+2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * features/s390-tevx-linux64.xml: New file.
+ * features/s390-vx-linux64.xml: New file.
+ * features/s390-vx.xml: New file.
+ * features/s390x-tevx-linux64.xml: New file.
+ * features/s390x-vx-linux64.xml: New file.
+ * features/Makefile (WHICH): Add s390-vx-linux64,
+ s390x-vx-linux64, s390-tevx-linux64, and s390x-tevx-linux64.
+ (s390-vx-linux64-expedite, s390-tevx-linux64-expedite)
+ (s390x-vx-linux64-expedite, s390x-tevx-linux64-expedite): New
+ macros.
+ * features/s390-tevx-linux64.c: New generated file.
+ * features/s390-vx-linux64.c: Likewise.
+ * features/s390x-tevx-linux64.c: Likewise.
+ * features/s390x-vx-linux64.c: Likewise.
+ * regformats/s390-tevx-linux64.dat: Likewise.
+ * regformats/s390-vx-linux64.dat: Likewise.
+ * regformats/s390x-tevx-linux64.dat: Likewise.
+ * regformats/s390x-vx-linux64.dat: Likewise.
+
+2015-02-28 Doug Evans <xdje42@gmail.com>
+
+ * symtab.h (struct symtab) <next>: Fix comment.
+
+2015-02-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * python/python.c (python_GdbModuleDef): Rename GdbMethods to
+ python_GdbMethods.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * dtrace-probe.c (dtrace_probe_ops): Make extern.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * common/common-exceptions.h (exception_none): Declare.
+ * common/common-exceptions.c (exception_none): Moved from
+ exceptions.c.
+ (exceptions_state_mc_init): Use exception_none.
+ * exceptions.c (exception_none): Move to
+ common/common-exceptions.c.
+ * exceptions.h (exception_none): Move to
+ common/common-exceptions.h.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * main.c (catch_command_errors, catch_command_errors_const):
+ Remove 'mask' argument. Adjust.
+ (captured_main): Adjust callers.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * python/python-internal.h: Include "extension-priv.h".
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.h (enum print_stop_action): Move further up in the
+ file.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * gdbarch.sh: Include regcache.h.
+ * gdbarch.h: Regenerate.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * arm-tdep.c (decode_insn) <arm_handle_insn, thumb_handle_insn>:
+ Remove duplicate const.
+ * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Remove
+ duplicate const.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * cp-valprint.c (vtbl_ptr_name): Use EXPORTED_CONST.
+ * guile/guile.c (extension_language_guile): Use EXPORTED_CONST.
+ * features/feature_to_c.sh: Tag the generated xml_builtin array
+ with extern const in C++ mode.
+
+2015-02-27 Tom Tromey <tromey@redhat.com>
+
+ * minidebug.c (struct lzma_stream): Rename to ...
+ (struct gdb_lzma_stream): ... this.
+ (lzma_open, lzma_pread, lzma_close, lzma_stat): Adjust.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * mi/mi-cmd-stack.c (mi_apply_ext_lang_frame_filter): New
+ function.
+ (mi_cmd_stack_list_locals, mi_cmd_stack_list_args)
+ (mi_cmd_stack_list_variables): Use it.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * x86-linux-nat.c (u_debugreg_offset): New function.
+ (x86_linux_dr_get, x86_linux_dr_set): Use it.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * nat/x86-dregs.h (enum target_hw_bp_type): Remove forward
+ declaration.
+ Include break-common.h.
+
+2015-02-27 Tom Tromey <tromey@redhat.com>
+ Pedro Alves <palves@redhat.com>
+
+ * arm-tdep.c (set_fp_model_sfunc, arm_set_abi): Use 'int' for
+ local used to iterate over enums.
+ * completer.c (signal_completer): Likewise.
+ * i386-tdep.c (i386_stap_parse_special_token): Likewise.
+ * rs6000-tdep.c (powerpc_set_vector_abi): Likewise.
+ * tui/tui-data.c (tui_next_win, tui_prev_win): Likewise.
+ * tui/tui-layout.c (next_layout, prev_layout): Likewise.
+ * tui/tui-win.c (tui_refresh_all_win, tui_rehighlight_all)
+ (tui_resize_all, tui_set_focus_command, tui_all_windows_info): Likewise.
+ * tui-wingeneral.c (tui_refresh_all): Likewise.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * target.h: Include "infrun.h".
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * gdb_proc_service.h: Wrap with EXTERN_C_PUSH/EXTERN_C_POP.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * common/agent.h (IPA_SYM_EXPORTED_NAME): New.
+ (IPA_SYM): Use it.
+ * common/common-defs.h (EXTERN_C_PUSH, EXTERN_C_POP): New macros.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * cli-out.c (_rl_erase_entire_line): Move declaration out of
+ cli_mld_erase_entire_line, and make it extern "C".
+ * common/common-defs.h (EXTERN_C): New.
+ * completer.c (_rl_completion_prefix_display_length)
+ (_rl_print_completions_horizontally, QSFUNC): Move declarations
+ out of gdb_display_match_list_1.
+ (_rl_qsort_string_compare): Move declaration out of
+ gdb_display_match_list_1, and make it extern "C".
+ * defs.h (re_comp): Use EXTERN_C.
+ * maint.c (_mcleanup): Move declaration out of mcleanup_wrapper,
+ and make it extern "C".
+ (monstartup): Move declaration out of maintenance_set_profile_cmd,
+ and make it extern "C".
+ (main): Move declaration out of maintenance_set_profile_cmd.
+ * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason_string): Use
+ EXTERN_C.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * python/python.c (GdbMethods): Rename to ...
+ (python_GdbMethods): ... this and make extern.
+ (GdbModuleDef): Rename to ...
+ (python_GdbModuleDef): ... this and make extern.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * record-btrace.c (set_record_btrace_cmdlist)
+ (show_record_btrace_cmdlist): Remove redefinitions.
+
+2015-02-27 Tom Tromey <tromey@redhat.com>
+ Pedro Alves <palves@redhat.com>
+
+ * dwarf2-frame.c (enum cfa_how_kind, struct
+ dwarf2_frame_state_reg_info): Move out of struct
+ dwarf2_frame_state.
+ * dwarf2read.c (struct tu_stats): Move out of struct
+ dwarf2_per_objfile.
+ (struct file_entry): Move out of struct line_header.
+ (struct nextfield, struct nextfnfield, struct fnfieldlist, struct
+ typedef_field_list): Move out of struct field_info.
+ * gdbtypes.h (enum dynamic_prop_kind, union dynamic_prop_data):
+ Move out of struct dynamic_prop.
+ (union type_owner, union field_location, struct field, struct
+ range_bounds, union type_specific): Move out of struct main_type.
+ (struct fn_fieldlist, struct fn_field, struct typedef_field)
+ (VOFFSET_STATIC): Move out of struct cplus_struct_type.
+ (struct call_site_target, union call_site_parameter_u, struct
+ call_site_parameter): Move out of struct call_site.
+ * m32c-tdep.c (enum m32c_prologue_kind): Move out of struct
+ m32c_prologue.
+ (enum srcdest_kind): Move out of struct srcdest.
+ * main.c (enum cmdarg_kind): Move out of struct cmdarg.
+ * prologue-value.h (enum prologue_value_kind): Move out of struct
+ prologue_value.
+ * s390-linux-tdep.c (enum s390_abi_kind): Move out of struct
+ gdbarch_tdep.
+ * stabsread.c (struct nextfield, struct next_fnfieldlist): Move
+ out of struct field_info.
+ * symfile.h (struct other_sections): Move out of struct
+ section_addr_info.
+ * symtab.c (struct symbol_cache_slot): Move out struct
+ block_symbol_cache.
+ * target-descriptions.c (enum tdesc_type_kind): Move out of
+ typedef struct tdesc_type.
+ * tui/tui-data.h (enum tui_line_or_address_kind): Move out of
+ struct tui_line_or_address.
+ * value.c (enum internalvar_kind, union internalvar_data): Move
+ out of struct internalvar.
+ * xtensa-tdep.h (struct ctype_cache): Move out of struct
+ gdbarch_tdep.
+
+2015-02-27 Tom Tromey <tromey@redhat.com>
+ Pedro Alves <palves@redhat.com>
+
+ Rename symbols whose names are reserved C++ keywords throughout.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * Makefile.in (COMPILER): New, get it from autoconf.
+ (COMPILE.pre, CC_LD): Use COMPILER.
+ (CXX): Get from autoconf instead.
+ (CXX_FOR_TARGET): Default to g++ instead of gcc.
+ * acinclude.m4: Include build-with-cxx.m4.
+ * build-with-cxx.m4: New file.
+ * configure.ac: Call AC_PROG_CXX and GDB_AC_BUILD_WITH_CXX.
+ Disable -Werror by default if building in C++ mode.
+ (build_warnings): Add -Wno-sign-compare, -Wno-write-strings and
+ -Wno-narrowing in C++ mode. Only enable -Wpointer-sign in C mode.
+ Run supported-warning-flags tests with the C++ compiler.
+ Save/restore CXXFLAGS too.
+ * configure: Regenerate.
+
+2015-02-27 Pedro Alves <palves@redhat.com>
+
+ * libiberty.m4: New file.
+ * acinclude.m4: Include libiberty.m4.
+ * configure.ac: Call libiberty_INIT.
+ * config.in, configure: Regenerate.
+
+2015-02-27 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * s390-linux-tdep.c (s390_gcc_target_options): Not just handle
+ 31-bit targets, but 64-bit targets as well.
+ (s390_gnu_triplet_regexp): New function.
+ (s390_gdbarch_init): Set the gcc_target_options gdbarch method for
+ 64-bit targets as well. Set the gnu_triplet_regexp gdbarch
+ method.
+
+2015-02-27 Jon TURNEY <jon.turney@dronecode.org.uk> (tiny patch)
+
+ * windows-nat.c (CONTEXT_DEBUGGER): Remove.
+ (CONTEXT_DEBUGGER_DR): Add CONTEXT_SEGMENTS. Incorporate flags
+ from CONTEXT_DEBUGGER.
+
+2015-02-26 Doug Evans <dje@google.com>
+
+ * gdbtypes.c (internal_type_vptr_fieldno): Add missing call to
+ CHECK_TYPEDEF.
+ (set_type_vptr_fieldno): Ditto.
+ (internal_type_vptr_basetype, set_type_vptr_basetype): Ditto.
+ * gnu-v3-abi.c (gnuv3_dynamic_class): Ditto.
+
+2015-02-26 Pedro Alves <palves@redhat.com>
+
+ * auto-load.h (file_is_auto_load_safe): Add ATTRIBUTE_PRINTF.
+ * complaints.c (vcomplaint): Pass argument FMT directly to
+ printf-like functions instead of complaint->fmt.
+ * ctf.c (ctf_save_write_metadata): Add ATTRIBUTE_PRINTF.
+ * darwin-nat.c (inferior_debug): Add ATTRIBUTE_PRINTF.
+ * compile/compile-loc2c.c (pushf, unary, binary): Add
+ ATTRIBUTE_PRINTF.
+ (do_compile_dwarf_expr_to_c): Pass string literal as format string
+ to pushf.
+ (BINARY): Pass string literal as format string to 'binary'.
+ * compile/compile-object-load.c (link_callbacks_einfo): Add
+ ATTRIBUTE_PRINTF.
+ * guile/guile-internal.h (gdbscm_printf): Add ATTRIBUTE_PRINTF.
+
+2015-02-26 Pedro Alves <palves@redhat.com>
+
+ * windows-termcap.c: Rename to ...
+ * stub-termcap.c: ... this. Adjust header line.
+ * Makefile.in (SFILES): Refer to stub-termcap.c instead of
+ windows-termcap.c.
+ * configure: Regenerate.
+ * configure.ac: Refer to stub-termcap.o instead of
+ windows-termcap.o.
+ * gdb_curses.h: Mention stub-termcap.c instead of
+ windows-termcap.c.
+
+2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * compile/compile-c-symbols.c (convert_one_symbol, convert_symbol_bmsym)
+ (gcc_symbol_address): Call gnu_ifunc_resolve_addr.
+
+2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * gdb/infcmd.c (print_return_value): use type_to_string to print type.
+
+2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * elfread.c (elf_read_minimal_symbols): Use bfd_alloc for
+ bfd_canonicalize_symtab.
+
+2015-02-25 John Baldwin <jhb@FreeBSD.org>
+
+ * amd64fbsd-nat.c: Include sys/user.h.
+ (_initialize_amd64fbsd_nat): Use the KERN_PROC_SIGTRAMP sysctl
+ instead of KERN_PS_STRINGS to locate the signal trampoline.
+ * i386fbsd-nat.c: Include sys/user.h.
+ (_initialize_i386fbsd_nat): Use the KERN_PROC_SIGTRAMP sysctl
+ instead of KERN_PS_STRINGS to locate the signal trampoline.
+ * amd64fbsd-tdep.c (amd64fbsd_sigtramp_code): New.
+ (amd64fbsd_sigtramp_p): New.
+ (amd64fbsd_sigtramp_start_addr, amd64fbsd_sigtramp_end_addr): No
+ longer set default values.
+ (amd64fbsd_init_abi): Set "sigtramp_p" to "amd64fbsd_sigtramp_p".
+ * i386fbsd-tdep.c (i386fbsd_sigtramp_start)
+ (i386fbsd_sigtramp_middle, i386fbsd_sigtramp_end)
+ (i386fbsd_freebsd4_sigtramp_start)
+ (i386fbsd_freebsd4_sigtramp_middle)
+ (i386fbsd_freebsd4_sigtramp_end, i386fbsd_osigtramp_start)
+ (i386fbsd_osigtramp_middle, i386fbsd_osigtramp_end): New.
+ (i386fbsd_sigtramp_p): New.
+ (i386fbsd_sigtramp_start_addr, i386fbsd_sigtramp_end_addr): No
+ longer set default values.
+ (i386fbsd_init_abi): Set "sigtramp_p" to "i386fbsd_sigtramp_p".
+
+2015-02-25 John Baldwin <jhb@freebsd.org>
+
+ * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use
+ get_frame_register instead of frame_unwind_register_unsigned.
+
+2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ PR build/18033
+ * compile/compile-c-support.c (c_compute_program): Change // comment.
+ * compile/compile-object-load.c (setup_sections): Change // comment.
+
+2015-02-26 Joel Brobecker <brobecker@adacore.com>
+
+ PR build/18033:
+ * iq2000-tdep.c (iq2000_frame_cache): Delete C++-style comment.
+
+2015-02-23 Pedro Alves <palves@redhat.com>
+
+ * remote.c (skip_to_semicolon): New function.
+ (remote_parse_stop_reply) <T stop reply>: Use it. Don't
+ special case the stop reasons that look like hex numbers
+ upfront. Instead handle real register numbers after matching
+ all the known stop reasons.
+
+2015-02-21 Doug Evans <dje@google.com>
+
+ PR c++/17976, symtab/17821
+ * cp-namespace.c (cp_search_static_and_baseclasses): New parameter
+ is_in_anonymous. All callers updated.
+ (find_symbol_in_baseclass): Ditto.
+ (cp_lookup_nested_symbol_1): Ditto. Don't search all static blocks
+ for symbols in an anonymous namespace.
+ * dwarf2read.c (namespace_name): Don't call dwarf2_name, fetch
+ DW_AT_name directly.
+ (dwarf2_name): Convert missing namespace name to
+ CP_ANONYMOUS_NAMESPACE_STR.
+
+2015-02-20 Pedro Alves <palves@redhat.com>
+
+ * linux-nat.c (linux_handle_extended_wait): Call
+ thread_db_notice_clone whenever a new clone LWP is detected.
+ (linux_stop_and_wait_all_lwps, linux_unstop_all_lwps): New
+ functions.
+ * linux-nat.h (thread_db_attach_lwp): Delete declaration.
+ (thread_db_notice_clone, linux_stop_and_wait_all_lwps)
+ (linux_unstop_all_lwps): Declare.
+ * linux-thread-db.c (struct thread_get_info_inout): Delete.
+ (thread_get_info_callback): Delete.
+ (thread_from_lwp): Use td_thr_get_info and record_thread.
+ (thread_db_attach_lwp): Delete.
+ (thread_db_notice_clone): New function.
+ (try_thread_db_load_1): If /proc is mounted and shows the
+ process'es task list, walk over all LWPs and call thread_from_lwp
+ instead of relying on td_ta_thr_iter.
+ (attach_thread): Don't call check_thread_signals here. Split the
+ tail part of the function (which adds the thread to the core GDB
+ thread list) to ...
+ (record_thread): ... this function. Call check_thread_signals
+ here.
+ (thread_db_wait): Don't call thread_db_find_new_threads_1. Always
+ call thread_from_lwp.
+ (thread_db_update_thread_list): Rename to ...
+ (thread_db_update_thread_list_org): ... this.
+ (thread_db_update_thread_list): New function.
+ (thread_db_find_thread_from_tid): Delete.
+ (thread_db_get_ada_task_ptid): Simplify.
+ * nat/linux-procfs.c: Include <sys/stat.h>.
+ (linux_proc_task_list_dir_exists): New function.
+ * nat/linux-procfs.h (linux_proc_task_list_dir_exists): Declare.
+
+2015-02-20 Pedro Alves <palves@redhat.com>
+
+ * linux-nat.c (lin_lwp_attach_lwp): No longer special case the
+ main LWP. Handle the case of waitpid returning 0 if we're already
+ attached to the LWP. Don't set the LWP's last_resume_kind to
+ resume_stop if we already knew about the LWP.
+ (linux_nat_filter_event): Add debug logs.
+
+2015-02-20 Pedro Alves <palves@redhat.com>
+
+ * target.h (forward_target_decr_pc_after_break): Delete
+ declaration.
+
+2015-02-20 Pedro Alves <palves@redhat.com>
+
+ PR threads/18006
+ * linux-thread-db.c (thread_get_info_callback): Return early if
+ the thread's lwp id is -1.
+
+2015-02-20 Joel Brobecker <brobecker@adacore.com>
+
+ GDB 7.9 released.
+
+2015-02-19 Steve Ellcey <sellcey@imgtec.com>
+
+ * dtrace-probe.c (dtrace_process_dof_probe): Initialize arg.expr.
+ (dtrace_get_probes) Change type of variable 'dof'.
+
+2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ PR breakpoints/16812
+ * linux-nat.c (linux_nat_filter_event): Report SIGTRAP,SIGILL,SIGSEGV.
+ * nat/linux-ptrace.c (linux_wstatus_maybe_breakpoint): Add.
+ * nat/linux-ptrace.h: Add linux_wstatus_maybe_breakpoint.
+
+2015-02-19 David Taylor <dtaylor@emc.com>
+
+ * common/ax.def (setv): Fix consumed entry in setv DEFOP.
+
+2015-02-18 Patrick Palka <patrick@parcs.ath.cx>
+
+ * tui/tui-io.c (tui_handle_resize_during_io): Remove this
+ function.
+ (tui_putc): Don't call tui_handle_resize_during_io.
+ (tui_getc): Likewise.
+ (tui_mld_getc): Likewise.
+ * tui/tui-win.c: Include event-loop.h and tui/tui-io.h.
+ (tui_sigwinch_token): New static variable.
+ (tui_initialize_win): Adjust documentation. Set
+ tui_sigwinch_token.
+ (tui_async_resize_screen): New asynchronous callback.
+ (tui_sigwinch_handler): Adjust documentation. Asynchronously
+ invoke tui_async_resize_screen.
+
+2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * configure: Regenerated.
+ * configure.ac: Use GDB_AC_TRANSFORM.
+ * Makefile.in (aclocal_m4_deps): Added transform.m4.
+ * acinclude.m4: sinclude transform.m4.
+ * transform.m4: New file.
+ (GDB_AC_TRANSFORM): New macro.
+
+2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * NEWS: Announce the support for DTrace SDT probes.
+
+2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * amd64-linux-tdep.c: Include "parser-defs.h" and "user-regs.h".
+ (amd64_dtrace_parse_probe_argument): New function.
+ (amd64_dtrace_probe_is_enabled): Likewise.
+ (amd64_dtrace_enable_probe): Likewise.
+ (amd64_dtrace_disable_probe): Likewise.
+ (amd64_linux_init_abi): Register the
+ `gdbarch_dtrace_probe_argument', `gdbarch_dtrace_enable_probe',
+ `gdbarch_dtrace_disable_probe' and
+ `gdbarch_dtrace_probe_is_enabled' hooks.
+ (amd64_dtrace_disabled_probe_sequence_1): New constant.
+ (amd64_dtrace_disabled_probe_sequence_2): Likewise.
+ (amd64_dtrace_enable_probe_sequence): Likewise.
+ (amd64_dtrace_disable_probe_sequence): Likewise.
+
+2015-01-17 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * breakpoint.c (BREAK_ARGS_HELP): Help string updated to mention
+ the -probe-dtrace new vpossible value for PROBE_MODIFIER.
+ * configure.ac (CONFIG_OBS): dtrace-probe.o added if BFD can
+ handle ELF files.
+ * Makefile.in (SFILES): dtrace-probe.c added.
+ * configure: Regenerate.
+ * dtrace-probe.c: New file.
+ (SHT_SUNW_dof): New constant.
+ (dtrace_probe_type): New enum.
+ (dtrace_probe_arg): New struct.
+ (dtrace_probe_arg_s): New typedef.
+ (struct dtrace_probe_enabler): New struct.
+ (dtrace_probe_enabler_s): New typedef.
+ (dtrace_probe): New struct.
+ (dtrace_probe_is_linespec): New function.
+ (dtrace_dof_sect_type): New enum.
+ (dtrace_dof_dofh_ident): Likewise.
+ (dtrace_dof_encoding): Likewise.
+ (DTRACE_DOF_ENCODE_LSB): Likewise.
+ (DTRACE_DOF_ENCODE_MSB): Likewise.
+ (dtrace_dof_hdr): New struct.
+ (dtrace_dof_sect): Likewise.
+ (dtrace_dof_provider): Likewise.
+ (dtrace_dof_probe): Likewise.
+ (DOF_UINT): New macro.
+ (DTRACE_DOF_PTR): Likewise.
+ (DTRACE_DOF_SECT): Likewise.
+ (dtrace_process_dof_probe): New function.
+ (dtrace_process_dof): Likewise.
+ (dtrace_build_arg_exprs): Likewise.
+ (dtrace_get_arg): Likewise.
+ (dtrace_get_probes): Likewise.
+ (dtrace_get_probe_argument_count): Likewise.
+ (dtrace_can_evaluate_probe_arguments): Likewise.
+ (dtrace_evaluate_probe_argument): Likewise.
+ (dtrace_compile_to_ax): Likewise.
+ (dtrace_probe_destroy): Likewise.
+ (dtrace_gen_info_probes_table_header): Likewise.
+ (dtrace_gen_info_probes_table_values): Likewise.
+ (dtrace_probe_is_enabled): Likewise.
+ (dtrace_probe_ops): New variable.
+ (info_probes_dtrace_command): New function.
+ (_initialize_dtrace_probe): Likewise.
+ (dtrace_type_name): Likewise.
+
+2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * gdbarch.sh (dtrace_parse_probe_argument): New.
+ (dtrace_probe_is_enabled): Likewise.
+ (dtrace_enable_probe): Likewise.
+ (dtrace_disable_probe): Likewise.
+ * gdbarch.c: Regenerate.
+ * gdbarch.h: Regenerate.
+
+2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * stap-probe.c (stap_probe_ops): Add NULLs in the static
+ stap_probe_ops for `enable_probe' and `disable_probe'.
+ * probe.c (enable_probes_command): New function.
+ (disable_probes_command): Likewise.
+ (_initialize_probe): Define the cli commands `enable probe' and
+ `disable probe'.
+ (parse_probe_linespec): New function.
+ (info_probes_for_ops): Use parse_probe_linespec.
+ * probe.h (probe_ops): New hooks `enable_probe' and
+ `disable_probe'.
+
+2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * probe.c (compute_probe_arg): Moved from stap-probe.c
+ (compile_probe_arg): Likewise.
+ (probe_funcs): Likewise.
+ * stap-probe.c (compute_probe_arg): Moved to probe.c.
+ (compile_probe_arg): Likewise.
+ (probe_funcs): Likewise.
+
+2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * probe.c (print_ui_out_not_applicables): New function.
+ (exists_probe_with_pops): Likewise.
+ (info_probes_for_ops): Do not include column headers for probe
+ types for which no probe has been actually found on any object.
+ Also invoke `print_ui_out_not_applicables' in order to match the
+ column rows with the header when probes of several types are
+ listed.
+ Print the "Type" column.
+ * probe.h (probe_ops): Added a new probe operation `type_name'.
+ * stap-probe.c (stap_probe_ops): Add `stap_type_name'.
+ (stap_type_name): New function.
+
+2015-02-17 Patrick Palka <patrick@parcs.ath.cx>
+
+ * tui/tui-io.c (tui_getc): Don't call key_is_command_char.
+ (key_is_command_char): Delete.
+
+2015-02-17 Pedro Alves <palves@redhat.com>
+
+ * tui/tui.c (tui_enable): Resize windows before anything
+ might show a window.
+
+2015-02-17 Max Ostapenko <m.ostapenko@partner.samsung.com>
+
+ PR gdb/17984
+ * aarch64-linux-nat.c: Don't include features/aarch64.c anymore.
+ (aarch64_linux_read_description): Remove initialize_tdesc_aarch64
+ call.
+ * aarch64-tdep.h (tdesc_aarch64): Declare.
+
+2015-02-12 Mark Wielaard <mjw@redhat.com>
+
+ * contrib/ari/gdb_ari.sh: Remove checks for "true" and "false".
+
+2015-02-13 Doug Evans <dje@google.com>
+
+ * cp-namespace.c (cp_basic_lookup_symbol): Rename parameter
+ anonymous_namespace to is_in_anonymous for consistency with the rest
+ of the file.
+ (cp_lookup_bare_symbol): Fix typo in comment.
+ (cp_search_static_and_baseclasses): Ditto.
+ (search_symbol_list): Use vertical space in comment better.
+ (reset_directive_searched): Ditto. Fix typo.
+ (cp_lookup_nested_symbol_1): Clarify contents of NESTED_NAME parameter.
+
+2015-02-13 Yao Qi <yao.qi@arm.com>
+
+ * MAINTAINERS: Update my email address.
+
+2015-02-12 Doug Evans <dje@google.com>
+
+ * symtab.c (completion_list_add_name): Fix memory leak.
+
+2015-02-12 Doug Evans <dje@google.com>
+
+ * completer.c (complete_line): Remove incorrect comment.
+
+2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * python/py-framefilter.c (py_print_single_arg, enumerate_locals)
+ (py_print_frame): Use RETURN_MASK_ERROR.
+
+2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * python/py-framefilter.c (py_print_frame): Mention RETURN_QUIT in
+ function comment. Wrap all function that can throw in cleanups.
+ (gdbpy_apply_frame_filter): Wrap all function that can throw in
+ cleanups.
+
+2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * python/py-framefilter.c (py_print_frame): Substitute goto error.
+ Remove the error label.
+
+2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * python/py-framefilter.c (py_print_frame): Put conditional code paths
+ with goto first, indent the former else codepath left. Put variable
+ 'elided' to a new inner block.
+
+2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * python/py-framefilter.c (py_print_frame): Whitespacing fixes.
+
+2015-02-11 Pedro Alves <palves@redhat.com>
+
+ * xcoffread.c (within_function): Delete.
+
+2015-02-11 Tom Tromey <tromey@redhat.com>
+ Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (base_breakpoint_ops): Delete.
+ * dwarf2loc.c (dwarf_expr_ctx_funcs): Make extern.
+ * elfread.c (elf_sym_fns_gdb_index, elf_sym_fns_lazy_psyms): Make extern.
+ * guile/guile.c (guile_extension_script_ops, guile_extension_ops): Make extern.
+ * ppcnbsd-tdep.c (ppcnbsd2_sigtramp): Make extern.
+ * python/py-arch.c (arch_object_type): Make extern.
+ * python/py-block.c (block_syms_iterator_object_type): Make extern.
+ * python/py-bpevent.c (breakpoint_event_object_type): Make extern.
+ * python/py-cmd.c (cmdpy_object_type): Make extern.
+ * python/py-continueevent.c (continue_event_object_type)
+ * python/py-event.h (GDBPY_NEW_EVENT_TYPE): Remove 'qual'
+ parameter. Update all callers.
+ * python/py-evtregistry.c (eventregistry_object_type): Make extern.
+ * python/py-exitedevent.c (exited_event_object_type): Make extern.
+ * python/py-finishbreakpoint.c (finish_breakpoint_object_type): Make extern.
+ * python/py-function.c (fnpy_object_type): Make extern.
+ * python/py-inferior.c (inferior_object_type, membuf_object_type): Make extern.
+ * python/py-infevents.c (call_pre_event_object_type)
+ (inferior_call_post_event_object_type).
+ (memory_changed_event_object_type): Make extern.
+ * python/py-infthread.c (thread_object_type): Make extern.
+ * python/py-lazy-string.c (lazy_string_object_type): Make extern.
+ * python/py-linetable.c (linetable_entry_object_type)
+ (linetable_object_type, ltpy_iterator_object_type): Make extern.
+ * python/py-newobjfileevent.c (new_objfile_event_object_type)
+ (clear_objfiles_event_object_type): Make extern.
+ * python/py-objfile.c (objfile_object_type): Make extern.
+ * python/py-param.c (parmpy_object_type): Make extern.
+ * python/py-progspace.c (pspace_object_type): Make extern.
+ * python/py-signalevent.c (signal_event_object_type): Make extern.
+ * python/py-symtab.c (symtab_object_type, sal_object_type): Make extern.
+ * python/py-type.c (type_object_type, field_object_type)
+ (type_iterator_object_type): Make extern.
+ * python/python.c (python_extension_script_ops)
+ (python_extension_ops): Make extern.
+ * stap-probe.c (stap_probe_ops): Make extern.
+
+2015-02-11 Pedro Alves <pedro@codesourcery.com>
+
+ * infrun.c (adjust_pc_after_break): Don't adjust the PC just
+ because the event thread is not the current thread.
+
+2015-02-11 Doug Evans <xdje42@gmail.com>
+
+ * gdbtypes.c (internal_type_self_type): If TYPE_SPECIFIC_FIELD hasn't
+ been initialized yet, return NULL.
+
+2015-02-11 Doug Evans <dje@google.com>
+
+ * symfile.h (new_symfile_objfile): Delete.
+ * symfile.c (finish_new_objfile): Renamed from new_symfile_objfile.
+ All callers updated.
+
+2015-02-11 Patrick Palka <patrick@parcs.ath.cx>
+
+ * tui/tui-io.c (tui_handle_resize_during_io): Call
+ tui_update_gdb_sizes() after resizing the screen.
+ * tui/tui.c (tui_enable): Resize the terminal before
+ calling tui_update_gdb_sizes().
+
+2015-02-11 Patrick Palka <patrick@parcs.ath.cx>
+
+ * tui/tui-io.c (tui_getc): Move cursor to the end of the command
+ line before printing a newline.
+
+2015-02-11 Mark Wielaard <mjw@redhat.com>
+
+ * utils.c (producer_is_gcc): Return true or false.
+
+2015-02-10 Mark Wielaard <mjw@redhat.com>
+
+ * utils.h (producer_is_gcc): Change return type to bool. Add major
+ argument.
+ * utils.c (producer_is_gcc): Likewise.
+ (producer_is_gcc_ge_4): Adjust producer_is_gcc call.
+ * dwarf2read.c (check_producer): Likewise.
+
+2015-02-10 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (displaced_step_fixup): Switch to the event thread
+ before calling gdbarch_displaced_step_fixup.
+
+2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * MAINTAINERS (Write After Approval): Add Antoine Tremblay.
+
+2015-02-10 Simon Marchi <simon.marchi@ericsson.com>
+
+ * ada-varobj.c (ada_name_of_child): Constify parent.
+ (ada_path_expr_of_child): Same.
+ (ada_value_of_child): Same.
+ (ada_type_of_child): Same.
+ * c-varobj.c (c_is_path_expr_parent): Same.
+ (c_describe_child): Same.
+ (c_name_of_child): Same.
+ (c_value_of_child): Same.
+ (c_type_of_child): Same.
+ (cplus_number_of_children): Same.
+ (cplus_describe_child): Constify var.
+ (cplus_name_of_child): Constify parent.
+ (cplus_value_of_child): Same.
+ (cplus_type_of_child): Same.
+ * jv-varobj.c (java_name_of_child): Same.
+ (java_value_of_child): Same.
+ (java_type_of_child): Same.
+ * varobj.c (value_of_child): Same.
+ (varobj_default_is_path_expr_parent): Constify var, parent and return
+ value.
+ (varobj_get_path_expr): Constify var, modify path_expr through
+ mutable_var.
+ (install_new_value): Constify parent.
+ (value_of_child): Constify parent.
+ * varobj.h (struct varobj): Constify parent.
+ (struct lang_varobj_ops): Constify name_of_child, value_of_child and
+ type_of_child.
+ (varobj_get_path_expr): Constify var.
+ (varobj_get_path_expr_parent): Constify var and return value.
+
+2015-02-10 Luis Machado <lgustavo@codesourcery.com>
+
+ * arm-tdep.c (arm_prologue_unwind_stop_reason): New function.
+ (arm_prologue_this_id): Move PC and SP limit checks to
+ arm_prologue_unwind_stop_reason.
+ (arm_prologue_unwind) <stop_reason> : Set to
+ arm_prologue_unwind_stop_reason.
+
+2015-02-09 Mark Wielaard <mjw@redhat.com>
+
+ * dwarf2read.c (set_cu_language): Recognize DW_LANG_Fortran03 and
+ DW_LANG_Fortran08 as language_fortran.
+
+2015-02-09 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ PR remote/17946
+ * gdb/remote.c (remote_parse_stop_reply): Fix wrong comparison
+ of pointer against char.
+
+2015-02-09 Mark Wielaard <mjw@redhat.com>
+
+ * c-typeprint.c (cp_type_print_method_args): Handle '_Atomic'.
+ (c_type_print_modifier): Likewise.
+ * dwarf2read.c (read_tag_atomic_type): New function.
+ (read_type_die_1): Handle DW_TAG_atomic_type.
+ * gdbtypes.c (make_atomic_type): New function.
+ (recursive_dump_type): Handle TYPE_ATOMIC.
+ * gdbtypes.h (enum type_flag_values): Renumber.
+ (enum type_instance_flag_value): Add TYPE_INSTANCE_FLAG_ATOMIC.
+ (TYPE_ATOMIC): New macro.
+ (make_atomic_type): Declare.
+
+2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
+
+ * btrace.c (ftrace_find_call): Skip gaps.
+ (ftrace_new_function): Initialize level.
+ (ftrace_new_call, ftrace_new_tailcall, ftrace_new_return)
+ (ftrace_new_switch): Update
+ level computation.
+ (ftrace_new_gap): New.
+ (ftrace_update_function): Create new function after gap.
+ (btrace_compute_ftrace_bts): Create gap on error.
+ (btrace_stitch_bts): Update parameters. Clear trace if it
+ becomes empty.
+ (btrace_stitch_trace): Update parameters. Update callers.
+ (btrace_clear): Reset the number of gaps.
+ (btrace_insn_get): Return NULL if the iterator points to a gap.
+ (btrace_insn_number): Return zero if the iterator points to a gap.
+ (btrace_insn_end): Allow gaps at the end.
+ (btrace_insn_next, btrace_insn_prev, btrace_insn_cmp): Handle gaps.
+ (btrace_find_insn_by_number): Assert that the found iterator does
+ not point to a gap.
+ (btrace_call_next, btrace_call_prev): Assert that the last function
+ is not a gap.
+ * btrace.h (btrace_bts_error): New.
+ (btrace_function): Update comment.
+ (btrace_function) <insn, insn_offset, number>: Update comment.
+ (btrace_function) <errcode>: New.
+ (btrace_thread_info) <ngaps>: New.
+ (btrace_thread_info) <replay>: Update comment.
+ (btrace_insn_get): Update comment.
+ * record-btrace.c (btrace_ui_out_decode_error): New.
+ (record_btrace_info): Print number of gaps.
+ (btrace_insn_history, btrace_call_history): Call
+ btrace_ui_out_decode_error for gaps.
+ (record_btrace_step_thread, record_btrace_start_replaying): Skip gaps.
+
2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
* common/btrace-common.h (btrace_cpu_vendor, btrace_cpu): New.