+2016-10-26 Pedro Alves <palves@redhat.com>
+
+ * remote.c (remote_resume_with_hc): New function, factored out
+ from ...
+ (remote_resume): ... this. Always try vCont first.
+ (remote_vcont_resume): Rename to ...
+ (remote_resume_with_vcont): ... this. Bail out if execution
+ direction is reverse.
+
+2016-10-25 Pedro Alves <palves@redhat.com>
+
+ * dwarf2expr.h (struct dwarf_expr_context) <~dwarf_expr_context>:
+ Make virtual.
+
+2016-10-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR build/20712
+ * defs.h: Remove obsolete comment
+ (atof): Remove.
+ * procfs.c (do_destroy_procinfo_cleanup): Add cast.
+ (sysset_t_alloc): Likewise.
+ (proc_set_traced_sysentry): Likewise.
+ (proc_set_traced_sysexit): Likewise.
+ [!PIOCLSTATUS && NEW_PROC_API] (do_closedir_cleanup): Likewise.
+ (proc_get_LDT_entry): Initiate cleanups before returns.
+ (procfs_wait): Use GDB_SIGNAL_0.
+ (procfs_corefile_thread_callback): Add cast.
+ * sol-thread.c (td_log_ftype, td_ta_new_ftype, td_ta_delete_ftype)
+ (td_init_ftype, td_ta_get_ph_ftype, td_ta_get_nthreads_ftype)
+ (td_ta_tsd_iter_ftype, td_ta_thr_iter_ftype)
+ (td_thr_validate_ftype, td_thr_tsd_ftype, td_thr_get_info_ftype)
+ (td_thr_getfpregs_ftype, td_thr_getxregsize_ftype)
+ (td_thr_getxregs_ftype, td_thr_sigsetmask_ftype)
+ (td_thr_setprio_ftype, td_thr_setsigpending_ftype)
+ (td_thr_setfpregs_ftype, td_thr_setxregs_ftype)
+ (td_ta_map_id2thr_ftype, td_ta_map_lwp2thr_ftype)
+ (td_thr_getgregs_ftype, td_thr_setgregs_ftype): New typedefs.
+ (p_td_log, p_td_ta_new, p_td_ta_delete, p_td_init, p_td_ta_get_ph)
+ (p_td_ta_get_nthreads, p_td_ta_tsd_iter, p_td_ta_thr_iter)
+ (p_td_thr_validate, p_td_thr_tsd, p_td_thr_get_info)
+ (p_td_thr_getfpregs, p_td_thr_getxregsize, p_td_thr_getxregs)
+ (p_td_thr_sigsetmask, p_td_thr_setprio, p_td_thr_setsigpending)
+ (p_td_thr_setfpregs, p_td_thr_setxregs, p_td_ta_map_id2thr)
+ (p_td_ta_map_lwp2thr, p_td_thr_getgregs, p_td_thr_setgregs): Use them.
+ (ps_pdread): Add cast.
+ (ps_ptread): Likewise.
+ (resolve): Likewise.
+ * top.c (gdb_safe_append_history): Print pid_t as long.
+
+2016-10-25 Pedro Alves <palves@redhat.com>
+
+ * common/common-defs.h (__STDC_FORMAT_MACROS): Define.
+
+2016-10-25 Pedro Alves <palves@redhat.com>
+
+ * common/new-op.c: Add comment about -fsanitize=address.
+
+2016-10-25 Pedro Alves <palves@redhat.com>
+
+ * common/common-defs.h (__STDC_CONSTANT_MACROS)
+ (__STDC_LIMIT_MACROS): Define.
+
+2016-10-25 Yao Qi <yao.qi@linaro.org>
+
+ PR gdb/20716
+ * common/new-op.c (__has_feature): New macro.
+ Don't override operator new if asan is used.
+
+2016-10-24 Luis Machado <lgustavo@codesourcery.com>
+
+ * exec.c (exec_file_locate_attach): Prevent NULL pointer dereference
+ when duplicating a string.
+
+2016-10-24 Luis Machado <lgustavo@codesourcery.com>
+
+ * exec.c (exception_print_same): Fix string comparison to use
+ statically-allocated ones.
+
+2016-10-21 Tom Tromey <tom@tromey.com>
+
+ * dwarf2expr.h (class dwarf_expr_context)
+ <get_frame_base, get_frame_cfa, get_tls_address, dwarf_call,
+ push_dwarf_block_entry_value, get_addr_index, get_object_address>:
+ Now pure virtual.
+ * dwarf2-frame.c (class dwarf_expr_executor)
+ <get_frame_base, get_frame_cfa, get_tls_address, dwarf_call,
+ push_dwarf_block_entry_value, get_addr_index, get_object_address>:
+ New methods.
+ <invalid>: New method.
+
+2016-10-21 Tom Tromey <tom@tromey.com>
+
+ * minsyms.h (minimal_symbol_reader::record_full): "copy_name" now
+ a bool.
+ (record, record_with_info): Update.
+ * minsyms.c (record): Fix indentation.
+ (record_full): Fix indentation. Update for type change.
+ * elfread.c (record_minimal_symbol): "copy_name" now a bool.
+ (elf_symtab_read): "copy_names" now a bool.
+ (elf_rel_plt_read, elf_read_minimal_symbols): Update.
+
+2016-10-21 Tom Tromey <tom@tromey.com>
+
+ * main.c: Include <vector>.
+ (cmdarg_s): Remove typedef. Don't define VEC.
+ (captured_main_1): Use vector, not VEC. Remove cleanups.
+
+2016-10-21 Tom Tromey <tom@tromey.com>
+
+ * dwarf2loc.c (struct dwarf_expr_context_funcs): Don't declare.
+ (dwarf_expr_read_addr_from_reg, dwarf_expr_get_reg_value)
+ (dwarf_expr_read_mem, dwarf_expr_frame_base): Rename; turn into
+ methods.
+ (get_frame_pc_for_per_cu_dwarf_call): New function.
+ (dwarf_expr_frame_cfa, dwarf_expr_frame_pc)
+ (dwarf_expr_tls_address): Rename; turn into methods.
+ (per_cu_dwarf_call): Remove arguments. Use
+ get_frame_pc_for_per_cu_dwarf_call.
+ (dwarf_evaluate_loc_desc): New class.
+ (dwarf_expr_dwarf_call, dwarf_expr_context)
+ (dwarf_expr_push_dwarf_reg_entry_value)
+ (dwarf_expr_get_addr_index, dwarf_expr_get_obj_addr): Rename; turn
+ into methods.
+ (dwarf_expr_ctx_funcs): Remove.
+ (dwarf2_evaluate_loc_desc_full): Update.
+ (dwarf2_locexpr_baton_eval): Update.
+ (symbol_needs_eval_context): New class.
+ (symbol_needs_read_addr_from_reg, symbol_needs_get_reg_value)
+ (symbol_needs_read_mem, symbol_needs_frame_base)
+ (symbol_needs_frame_cfa, symbol_needs_tls_address)
+ (symbol_needs_dwarf_call, needs_dwarf_reg_entry_value): Rename;
+ turn into methods.
+ (needs_get_addr_index, needs_get_obj_addr): Remove; turn into
+ methods.
+ (symbol_needs_ctx_funcs): Remove.
+ (dwarf2_loc_desc_get_symbol_read_needs): Update.
+ * dwarf2expr.h (struct dwarf_expr_context_funcs): Remove; turn
+ contents into methods.
+ (struct dwarf_expr_context) <baton, funcs>: Remove.
+ <read_addr_from_reg, get_reg_value, read_mem, get_frame_base,
+ get_frame_cfa, get_frame_pc, get_tls_address, dwarf_call,
+ impl_get_base_type, push_dwarf_block_entry_value, get_addr_index,
+ get_object_address>: Declare new methods.
+ (ctx_no_get_frame_base, ctx_no_get_frame_cfa)
+ (ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call)
+ (ctx_no_get_base_type, ctx_no_push_dwarf_reg_entry_value)
+ (ctx_no_get_addr_index): Don't declare.
+ * dwarf2expr.c (get_base_type): Use impl_get_base_type.
+ (execute_stack_op): Update.
+ (ctx_no_get_frame_base, ctx_no_get_frame_cfa)
+ (ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call)
+ (ctx_no_get_base_type, ctx_no_push_dwarf_reg_entry_value)
+ (ctx_no_get_addr_index): Remove; now methods on
+ dwarf_expr_context.
+ * dwarf2-frame.c (read_addr_from_reg): Take a frame_info, not a
+ baton.
+ (class dwarf_expr_executor): New class.
+ (get_reg_value, read_mem): Rename, turn into methods.
+ (execute_stack_op): Use dwarf_expr_executor.
+
+2016-10-21 Tom Tromey <tom@tromey.com>
+
+ * dwarf2loc.c (per_cu_dwarf_call)
+ (dwarf_expr_push_dwarf_reg_entry_value)
+ (dwarf2_evaluate_loc_desc_full, dwarf2_locexpr_baton_eval)
+ (needs_dwarf_reg_entry_value)
+ (dwarf2_loc_desc_get_symbol_read_needs): Update.
+ * dwarf2expr.h (dwarf_expr_context) <push_address, eval, fetch,
+ fetch_address, fetch_in_stack_memory, address_type, grow_stack,
+ push, stack_empty_p, add_piece, get_base_type, execute_stack_op,
+ pop>: New method declarations.
+ (dwarf_expr_push_address, dwarf_expr_eval, dwarf_expr_fetch)
+ (dwarf_expr_fetch_address, dwarf_expr_fetch_in_stack_memory):
+ Don't declare.
+ * dwarf2expr.c (address_type, grow_stack, push, push_address)
+ (pop, fetch, fetch_address, fetch_in_stack_memory)
+ (stack_empty_p, add_piece, eval, get_base_type)
+ (execute_stack_op): Rename. Turn into methods.
+ * dwarf2-frame.c (execute_stack_op): Update.
+