+2016-11-22 Yao Qi <yao.qi@linaro.org>
+
+ * spu-tdep.c (spu_software_single_step): Call get_regcache_arch
+ instead of get_frame_arch. Call regcache_read_pc instead of
+ get_frame_pc. Call regcache_raw_get_unsigned instead of
+ get_frame_register_unsigned.
+
+2016-11-22 Yao Qi <yao.qi@linaro.org>
+
+ * tic6x-tdep.c (tic6x_condition_true): Replace frame with
+ regcache. Call regcache_raw_get_signed instead of
+ get_frame_register_signed.
+ (tic6x_get_next_pc): Likewise. Caller updated.
+
+2016-11-22 Yao Qi <yao.qi@linaro.org>
+
+ * rs6000-aix-tdep.c (branch_dest): Replace parameter frame with
+ regcache. Call get_regcache_arch instead of get_frame_arch.
+ Call regcache_raw_get_unsigned instead of
+ get_frame_register_unsigned.
+ (rs6000_software_single_step): Likewise.
+ * rs6000-tdep.c (ppc_deal_with_atomic_sequence): Call
+ get_regcache_arch instead of get_frame_arch. Call
+ regcache_read_pc instead of get_frame_pc.
+
+2016-11-22 Yao Qi <yao.qi@linaro.org>
+
+ * s390-linux-tdep.c (s390_software_single_step): Call
+ get_regcache_arch instead of get_frame_arch. Call
+ regcache_read_pc instead of get_frame_pc.
+
+2016-11-22 Yao Qi <yao.qi@linaro.org>
+
+ * sparc-tdep.c (sparc_analyze_control_transfer): Replace parameter
+ frame with regcache. Call get_current_frame.
+ (sparc_software_single_step): Call get_regcache_arch instead of
+ get_frame_arch. Call regcache_raw_get_unsigned instead of
+ get_frame_register_unsigned.
+
+2016-11-22 Yao Qi <yao.qi@linaro.org>
+
+ * nios2-tdep.c (nios2_get_next_pc): Replace parameter frame
+ with regcache. Call regcache_raw_get_signed instead of
+ get_frame_register_unsigned.
+ (nios2_software_single_step): Call get_regcache_arch
+ instead of get_frame_arch.
+
+2016-11-22 Yao Qi <yao.qi@linaro.org>
+
+ * moxie-tdep.c (moxie_software_single_step): Call
+ get_regcache_arch instead of get_frame_arch. Call
+ regcache_read_pc instead of get_frame_pc.
+
+2016-11-22 Yao Qi <yao.qi@linaro.org>
+
+ * mips-tdep.c (mips32_bc1_pc): Replace parameter frame with
+ regcache. Call regcache_raw_get_unsigned instead of
+ get_frame_register_unsigned.
+ (mips32_next_pc): Likewise.
+ (micromips_bc1_pc): Likewise.
+ (micromips_next_pc): Likewise.
+ (extended_mips16_next_pc): Likewise.
+ (mips16_next_pc): Likewise.
+ (mips_next_pc): Likewise.
+ (mips_software_single_step): Call get_regcache_arch instead
+ of get_frame_arch.
+
+2016-11-22 Yao Qi <yao.qi@linaro.org>
+
+ * cris-tdep.c (find_step_target): Replace parameter frame
+ with regcache. Call get_regcache_arch instead of
+ get_frame_arch. Call regcache_raw_get_unsigned instead of
+ get_frame_register_unsigned.
+ (cris_software_single_step): Call get_regcache_arch instead
+ of get_frame_arch.
+
+2016-11-22 Yao Qi <yao.qi@linaro.org>
+
+ * alpha-tdep.c (alpha_deal_with_atomic_sequence): Call
+ get_regcache_arch instead of get_frame_arch. Call
+ regcache_read_pc instead of get_frame_pc.
+ (alpha_next_pc): Replace parameter frame with regcache.
+ Call regcache_raw_get_unsigned instead of
+ get_frame_register_unsigned.
+
+2016-11-22 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-tdep.c (aarch64_software_single_step): Call
+ get_regcache_arch instead of get_frame_arch. Call
+ regcache_read_pc instead of get_frame_pc.
+
+2016-11-22 Yao Qi <yao.qi@linaro.org>
+
+ * regcache.c (regcache_raw_get_signed): New function.
+ * regcache.h (regcache_raw_get_signed): Declare.
+
+2016-11-22 Yao Qi <yao.qi@linaro.org>
+
+ * value.c (value_from_component): Use VALUE_NEXT_FRAME_ID
+ instead of VALUE_FROM_ID.
+
+2016-11-21 Simon Marchi <simon.marchi@ericsson.com>
+
+ * Makefile.in (%o: $(srcdir)/mi/%.c): Add missing POSTCOMPILE
+ step.
+
+2016-11-21 Yao Qi <yao.qi@linaro.org>
+
+ * guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer):
+ Don't call value_from_contents_and_address and
+ set_value_address. Call value_from_component.
+ * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer):
+ Likewise.
+ * value.c (value_from_component): New function.
+ * value.h (value_from_component): Likewise.
+ * valarith.c (value_subscripted_rvalue): Call
+ value_from_component.
+
+2016-11-19 Joel Brobecker <brobecker@adacore.com>
+
+ * contrib/ari/gdb_ari.sh: Add detection of printf_vma and
+ sprintf_vma.
+
+2016-11-18 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in (%.o: $(srcdir)/gdbtk/generic/%.c): Fix typo.
+
+2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ (PYTHON_CFLAGS): Move up.
+ (%.o: $(srcdir)/arch/%.c): New rule.
+ (%.o: $(srcdir)/cli/%.c): New rule.
+ (%.o: $(srcdir)/common/%.c): New rule.
+ (%.o: $(srcdir)/compile/%.c): New rule.
+ (%.o: $(srcdir)/gdbtk/generic/%.c): New rule.
+ (%.o: $(srcdir)/guile/%.c): New rule.
+ (%.o: $(srcdir)/mi/%.c): New rule.
+ (%.o: $(srcdir)/nat/%.c): New rule.
+ (%.o: $(srcdir)/python/%.c): New rule.
+ (%.o: $(srcdir)/target/%.c): New rule.
+ (%.o: $(srcdir)/tui/%.c): New rule.
+ (cli-cmds.o): Remove.
+ (cli-decode.o): Likewise.
+ (cli-dump.o): Likewise.
+ (cli-interp.o): Likewise.
+ (cli-logging.o): Likewise.
+ (cli-script.o): Likewise.
+ (cli-setshow.o): Likewise.
+ (cli-utils.o): Likewise.
+ (compile.o): Likewise.
+ (compile-c-types.o): Likewise.
+ (compile-c-symbols.o): Likewise.
+ (compile-object-load.o): Likewise.
+ (compile-object-run.o): Likewise.
+ (compile-loc2c.o): Likewise.
+ (compile-c-support.o): Likewise.
+ (gdbtk.o): Likewise.
+ (gdbtk-bp.o): Likewise.
+ (gdbtk-cmds.o): Likewise.
+ (gdbtk-hooks.o): Likewise.
+ (gdbtk-interp.o): Likewise.
+ (gdbtk-main.o): Likewise.
+ (gdbtk-register.o): Likewise.
+ (gdbtk-stack.o): Likewise.
+ (gdbtk-varobj.o): Likewise.
+ (gdbtk-wrapper.o): Likewise.
+ (mi-cmd-break.o): Likewise.
+ (mi-cmd-catch.o): Likewise.
+ (mi-cmd-disas.o): Likewise.
+ (mi-cmd-env.o): Likewise.
+ (mi-cmd-file.o): Likewise.
+ (mi-cmd-info.o): Likewise.
+ (mi-cmds.o): Likewise.
+ (mi-cmd-stack.o): Likewise.
+ (mi-cmd-target.o): Likewise.
+ (mi-cmd-var.o): Likewise.
+ (mi-console.o): Likewise.
+ (mi-getopt.o): Likewise.
+ (mi-interp.o): Likewise.
+ (mi-main.o): Likewise.
+ (mi-out.o): Likewise.
+ (mi-parse.o): Likewise.
+ (mi-symbol-cmds.o): Likewise.
+ (mi-common.o): Likewise.
+ (signals.o): Likewise.
+ (common-utils.o): Likewise.
+ (gdb_vecs.o): Likewise.
+ (xml-utils.o): Likewise.
+ (ptid.o): Likewise.
+ (buffer.o): Likewise.
+ (filestuff.o): Likewise.
+ (format.o): Likewise.
+ (vec.o): Likewise.
+ (print-utils.o): Likewise.
+ (rsp-low.o): Likewise.
+ (errors.o): Likewise.
+ (common-debug.o): Likewise.
+ (cleanups.o): Likewise.
+ (common-exceptions.o
+ (posix-strerror.o): Likewise.
+ (mingw-strerror.o): Likewise.
+ (btrace-common.o): Likewise.
+ (fileio.o): Likewise.
+ (common-regcache.o): Likewise.
+ (signals-state-save-restore.o): Likewise.
+ (new-op.o): Likewise.
+ (waitstatus.o): Likewise.
+ (arm.o): Likewise.
+ (arm-linux.o): Likewise.
+ (arm-get-next-pcs.o): Likewise.
+ (x86-dregs.o): Likewise.
+ (linux-btrace.o): Likewise.
+ (linux-osdata.o): Likewise.
+ (linux-procfs.o): Likewise.
+ (linux-ptrace.o): Likewise.
+ (linux-waitpid.o): Likewise.
+ (mips-linux-watch.o): Likewise.
+ (ppc-linux.o): Likewise.
+ (linux-personality.o): Likewise.
+ (x86-linux.o): Likewise.
+ (x86-linux-dregs.o): Likewise.
+ (amd64-linux-siginfo.o): Likewise.
+ (linux-namespaces.o): Likewise.
+ (aarch64-linux-hw-point.o): Likewise.
+ (aarch64-linux.o): Likewise.
+ (aarch64-insn.o): Likewise.
+ (tui.o): Likewise.
+ (tui-command.o): Likewise.
+ (tui-data.o): Likewise.
+ (tui-disasm.o): Likewise.
+ (tui-file.o): Likewise.
+ (tui-hooks.o): Likewise.
+ (tui-interp.o): Likewise.
+ (tui-io.o): Likewise.
+ (tui-layout.o): Likewise.
+ (tui-out.o): Likewise.
+ (tui-regs.o): Likewise.
+ (tui-source.o): Likewise.
+ (tui-stack.o): Likewise.
+ (tui-win.o): Likewise.
+ (tui-windata.o): Likewise.
+ (tui-wingeneral.o): Likewise.
+ (tui-winsource.o): Likewise.
+ (guile.o): Likewise.
+ (scm-arch.o): Likewise.
+ (scm-auto-load.o): Likewise.
+ (scm-block.o): Likewise.
+ (scm-breakpoint.o): Likewise.
+ (scm-cmd.o): Likewise.
+ (scm-disasm.o): Likewise.
+ (scm-exception.o): Likewise.
+ (scm-frame.o): Likewise.
+ (scm-gsmob.o): Likewise.
+ (scm-iterator.o): Likewise.
+ (scm-lazy-string.o): Likewise.
+ (scm-math.o): Likewise.
+ (scm-objfile.o): Likewise.
+ (scm-param.o): Likewise.
+ (scm-ports.o): Likewise.
+ (scm-pretty-print.o): Likewise.
+ (scm-progspace.o): Likewise.
+ (scm-safe-call.o): Likewise.
+ (scm-string.o): Likewise.
+ (scm-symbol.o): Likewise.
+ (scm-symtab.o): Likewise.
+ (scm-type.o): Likewise.
+ (scm-utils.o): Likewise.
+ (scm-value.o): Likewise.
+ (python.o): Likewise.
+ (py-arch.o): Likewise.
+ (py-auto-load.o): Likewise.
+ (py-block.o): Likewise.
+ (py-bpevent.o): Likewise.
+ (py-breakpoint.o): Likewise.
+ (py-cmd.o): Likewise.
+ (py-continueevent.o): Likewise.
+ (py-xmethods.o): Likewise.
+ (py-event.o): Likewise.
+ (py-evtregistry.o): Likewise.
+ (py-evts.o): Likewise.
+ (py-exitedevent.o): Likewise.
+ (py-finishbreakpoint.o): Likewise.
+ (py-frame.o): Likewise.
+ (py-framefilter.o): Likewise.
+ (py-function.o): Likewise.
+ (py-gdb-readline.o): Likewise.
+ (py-inferior.o): Likewise.
+ (py-infevents.o): Likewise.
+ (py-infthread.o): Likewise.
+ (py-lazy-string.o): Likewise.
+ (py-linetable.o): Likewise.
+ (py-newobjfileevent.o): Likewise.
+ (py-objfile.o): Likewise.
+ (py-param.o): Likewise.
+ (py-prettyprint.o): Likewise.
+ (py-progspace.o): Likewise.
+ (py-signalevent.o): Likewise.
+ (py-stopevent.o): Likewise.
+ (py-symbol.o): Likewise.
+ (py-symtab.o): Likewise.
+ (py-threadevent.o): Likewise.
+ (py-type.o): Likewise.
+ (py-unwind.o): Likewise.
+ (py-utils.o): Likewise.
+ (py-value.o): Likewise.
+ (py-varobj.o): Likewise.
+
+2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in (.c.o): Replace rule with ...
+ (%.o: %.c): ... this one.
+ (.po.gmo): Replace rule with ...
+ (%.gmo: %.po): ... this one.
+ (.po.pox): Replace rule with ...
+ (%.pox: %.po): ... this one.
+ (.y.c): Replace rule with ...
+ (%.c: %.y): ... this one.
+ (.l.c): Replace rule with ...
+ (%.c: %.l): ... this one.
+ (.SUFFIXES): Remove all instances.
+
+2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
+ prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
+ make.
+ * configure.ac: Remove checks for the make program.
+ * configure: Re-generate.
+
+2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * NEWS: Mention requirement of GNU make.
+
+2016-11-17 Pedro Alves <palves@redhat.com>
+
+ * c-exp.y (c_print_token): Use parser_fprintf instead of fprintf.
+
+2016-11-17 Pedro Alves <palves@redhat.com>
+
+ * ctf.c [USE_WIN32API] (mkdir): Delete.
+
+2016-11-16 Pedro Alves <palves@redhat.com>
+
+ * ada-lang.c (ada_value_primitive_packed_val): Use unique_ptr and
+ new gdb_byte[] instead of malloc and cleanups.
+
+2016-11-17 Pedro Alves <palves@redhat.com>
+
+ * tracepoint.c (collection_list::add_memrange): Add gdbarch
+ parameter. Use paddress instead of printf_vma. Adjust recursive
+ calls.
+ (collection_list::stringify): Use paddress and phex_nz instead of
+ sprintf_vma. Adjust add_memrange call.
+ * tracepoint.h (collection_list::add_memrange): Add gdbarch
+ parameter.
+
+2016-11-16 Kevin Buettner <kevinb@redhat.com>
+
+ * frame.c (get_prev_frame): Stash frame id for current frame
+ prior to computing frame id for previous frame.
+
+2016-11-16 Kevin Buettner <kevinb@redhat.com>
+
+ * python/py-unwind.c (pending_framepy_read_register): Use
+ value_of_register() instead of get_frame_register_value().
+
+2016-11-16 Kevin Buettner <kevinb@redhat.com>
+
+ * value.h (VALUE_FRAME_ID): Rename to VALUE_NEXT_FRAME_ID. Update
+ comment. Create new VALUE_FRAME_ID which is defined in terms of
+ VALUE_NEXT_FRAME_ID.
+ (deprecated_value_frame_id_hack): Rename to
+ deprecated_value_next_frame_id_hack.
+ * dwarf2loc.c, findvar.c, frame-unwind.c, sentinel-frame.c,
+ valarith.c, valops.c, value.c: Adjust nearly all occurences of
+ VALUE_FRAME_ID to VALUE_NEXT_FRAME_ID. Add comments for those
+ which did not change.
+ * value.c (struct value): Rename frame_id field to next_frame_id.
+ Update comment.
+ (deprecated_value_frame_id_hack): Rename to
+ deprecated_value_next_frame_id_hack.
+ (value_fetch_lazy): Call frame_unwind_register_value()
+ instead of get_frame_register_value().
+ * frame.c (get_prev_frame_id_by_id): New function.
+ * frame.h (get_prev_frame_id_by_id): Declare.
+ * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Make
+ VALUE_NEXT_FRAME_ID refer to the next frame.
+ * findvar.c (value_of_register_lazy): Likewise.
+ (default_value_from_register): Likewise.
+ (value_from_register): Likewise.
+ * frame_unwind.c (frame_unwind_got_optimized): Likewise.
+ * sentinel-frame.c (sentinel_frame_prev_register): Likewise.
+ * value.h (VALUE_FRAME_ID): Update comment describing this macro.
+
+2016-11-16 Kevin Buettner <kevinb@redhat.com>
+
+ * frame.h (enum frame_id_stack_status): Add FID_STACK_SENTINEL.
+ (struct frame_id): Increase number of bits required for storing
+ stack status to 3 from 2.
+ (sentinel_frame_id): New declaration.
+ (get_next_frame_sentinel_okay): Declare.
+ (frame_find_by_id_sentinel_okay): Declare.
+ * frame.c (current_frame): Rename this static global to...
+ (sentinel_frame): ...this static global, which has also been
+ moved an earlier location in the file.
+ (fprint_frame_id): Add case for sentinel frame id.
+ (get_frame_id): Return early for sentinel frame.
+ (sentinel_frame_id): Define.
+ (frame_find_by_id): Add case for sentinel_frame_id.
+ (create_sentinel_frame): Use sentinel_frame_id for this_id.value
+ instead of null_frame_id.
+ (get_current_frame): Add local declaration for `current_frame'.
+ Remove local declaration for `sentinel_frame.'
+ (get_next_frame_sentinel_okay): New function.
+ (reinit_frame_cache): Use `sentinel_frame' in place of
+ `current_frame'.
+
+2016-11-15 Pedro Alves <palves@redhat.com>
+
+ * gnulib/update-gnulib.sh (GNULIB_COMMIT_SHA1): Set to
+ 38237baf99386101934cd93278023aa4ae523ec0.
+ * gnulib/configure, gnulib/config.in: Regenerate.
+ * gnulib/import/Makefile.am: Regenerate.
+ * gnulib/import/Makefile.in: Regenerate.
+ * gnulib/import/canonicalize-lgpl.c: Update.
+ * gnulib/import/extra/snippet/c++defs.h: Update.
+ * gnulib/import/m4/stdint.m4: Update.
+ * gnulib/import/m4/stdlib_h.m4: Update.
+ * gnulib/import/math.in.h: Update.
+ * gnulib/import/stdlib.in.h: Update.
+ * gnulib/import/sys_time.in.h: Update.
+
+2016-11-15 Pedro Alves <palves@redhat.com>
+
+ * common/common-defs.h: Update comment.
+ * common/gdb_unique_ptr.h: Update header comment and copyright
+ year.
+ (gdb::unique_ptr, gdb::move): Delete.
+
+2016-11-15 Pedro Alves <palves@redhat.com>
+
+ * ada-lang.c (create_excep_cond_exprs): Use std::move instead of
+ gdb::move.
+ * break-catch-throw.c (handle_gnu_v3_exceptions): Use
+ std::unique_ptr instead of gdb::unique_ptr.
+ * breakpoint.c (watch_command_1): Use std::move instead of
+ gdb::move.
+ * cli/cli-dump.c (dump_memory_to_file, restore_binary_file): Use
+ std::unique_ptr instead of gdb::unique_ptr.
+ * dtrace-probe.c (dtrace_process_dof_probe): Use std::move instead
+ of gdb::move.
+ * elfread.c (elf_read_minimal_symbols): Use std::unique_ptr
+ instead of gdb::unique_ptr.
+ * mi/mi-main.c (mi_cmd_data_read_memory): Use std::unique_ptr
+ instead of gdb::unique_ptr.
+ * parse.c (parse_expression_for_completion): Use std::move instead
+ of gdb::move.
+ * printcmd.c (display_command): std::move instead of gdb::move.
+
+2016-11-14 Markus Metzger <markus.t.metzger@intel.com>
+
+ * nat/linux-btrace.c (perf_event_read): Allow data_head < size.
+ * nat/linux-btrace.c (perf_event_read_all): Do not adjust size.
+
+2016-11-12 Tom Tromey <tom@tromey.com>
+
+ * rust-exp.y (super_name): Use std::vector.
+ (lex_number): Use std::string.
+ (convert_params_to_types): Return std::vector.
+ (convert_ast_to_type, convert_name): Update.
+ * rust-lang.c (rust_get_disr_info): Use unique_xmalloc_ptr.
+
+2016-11-12 Tom Tromey <tom@tromey.com>
+
+ * rust-lang.c (rust_get_disr_info): Use std::string in one more
+ spot.
+
+2016-11-11 Yao Qi <yao.qi@linaro.org>
+
+ * spu-tdep.c (spu_software_single_step): Don't call
+ get_frame_register_bytes, call get_frame_register_unsigned
+ instead.
+
+2016-11-11 Yao Qi <yao.qi@linaro.org>
+
+ * cp-valprint.c (cp_print_value): Remove local base_valaddr.
+ * extension-priv.h (struct extension_language_ops)
+ <apply_val_pretty_printer>: Remove the second parameter.
+ Remove const from "struct value *". Callers updated.
+ * extension.c (apply_ext_lang_val_pretty_printer): Update
+ comments. Remove parameter valaddr. Remove const from
+ "struct value *".
+ * extension.h (apply_ext_lang_val_pretty_printer): Update
+ declaration.
+ * guile/guile-internal.h (gdbscm_apply_val_pretty_printer):
+ Update declaration.
+ * guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer):
+ Remove parameter valaddr. Remove const from "struct value *".
+ * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer):
+ Likewise.
+ * python/python-internal.h (gdbpy_apply_val_pretty_printer):
+ Update declaration.
+
+2016-11-11 Yao Qi <yao.qi@linaro.org>
+
+ * c-lang.h (cp_print_value_fields): Update declaration.
+ * cp-valprint.c (cp_print_value): Update declaration.
+ (cp_print_value_fields): Remove parameter valaddr. Callers
+ updated.
+ (cp_print_value): Likewise.
+
+2016-11-09 Tom Tromey <tom@tromey.com>
+
+ * varobj.h (varobj_get_display_hint): Change return type.
+ * varobj.c (varobj_get_display_hint): Return unique_xmalloc_ptr.
+ (varobj_value_get_print_value): Update.
+ * python/python.c (gdbpy_before_prompt_hook, gdbpy_print_stack)
+ (gdbpy_apply_type_printers): Update.
+ * python/python-internal.h (unicode_to_target_string)
+ (python_string_to_target_string, python_string_to_host_string)
+ (gdbpy_obj_to_string, gdbpy_exception_to_string)
+ (gdbpy_get_display_hint): Change return types.
+ * python/py-varobj.c (py_varobj_iter_next): Update.
+ * python/py-value.c (valpy_getitem, convert_value_from_python):
+ Update.
+ * python/py-utils.c (unicode_to_encoded_string)
+ (unicode_to_target_string, python_string_to_target_string)
+ (python_string_to_host_string, gdbpy_obj_to_string)
+ (gdbpy_exception_to_string): Return unique_xmalloc_ptr.
+ * python/py-unwind.c (pyuw_parse_register_id): Update.
+ * python/py-type.c (typy_getitem): Update.
+ * python/py-prettyprint.c (gdbpy_get_display_hint)
+ (print_stack_unless_memory_error, print_children)
+ (gdbpy_apply_val_pretty_printer): Update.
+ * python/py-param.c (set_parameter_value): Update.
+ (get_doc_string, call_doc_function): Return unique_xmalloc_ptr.
+ (get_set_value, get_show_value, compute_enum_values, parmpy_init):
+ Update.
+ * python/py-infthread.c (thpy_set_name): Update.
+ * python/py-function.c (fnpy_call, fnpy_init): Update.
+ * python/py-framefilter.c (extract_sym): Change "name" to
+ unique_xmalloc_ptr.
+ (enumerate_args, enumerate_locals): Update.
+ (py_print_frame): Use unique_xmalloc_ptr.
+ * python/py-frame.c (frapy_read_var): Update. Remove cleanup.
+ * python/py-cmd.c (cmdpy_function, cmdpy_completer, cmdpy_init):
+ Update.
+ * python/py-breakpoint.c (bppy_set_condition): Use
+ unique_xmalloc_ptr.
+ (bppy_init): Likewise. Remove cleanup.
+ (local_setattro): Update.
+ * mi/mi-cmd-var.c (print_varobj, mi_cmd_var_list_children)
+ (varobj_update_one): Update.
+
+2016-11-09 Pedro Alves <palves@redhat.com>
+
+ * ax-gdb.c (agent_eval_command_one): Use std::move instead of
+ gdb::move.
+ * ax.h (agent_expr_up): Use std::unique_ptr instead of
+ gdb::unique_ptr.
+ * breakpoint.c (parse_cond_to_aexpr): Use std::move instead of
+ gdb::move.
+ * tracepoint.c (collection_list::collect_symbol): Likewise.
+ (collection_list::~collection_list): Delete.
+ (encode_actions_1): Use std::move instead of gdb::move.
+ (collection_list::add_aexpr): Use std::move instead of
+ unique_ptr::release.
+ * tracepoint.h (collection_list) <~collection_list>: Delete
+ declaration.
+ <m_aexprs>: Now a vector of agent_ptr_up.
+
+2016-11-09 Pedro Alves <palves@redhat.com>
+
+ * main.c (struct cmdarg): Add constructor.
+ (captured_main_1): Use vector::emplace_back.
+ * tracepoint.c (collection_list::add_memrange): Likewise.
+
+2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * tui/tui-winsource.c (tui_alloc_source_buffer): Remove
+ failed-xmalloc handling.
+
+2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * tui/tui-winsource.c (tui_alloc_source_buffer): Subtract
+ highlight box's overhead when calculating the content height.
+
+2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * tui/tui-disasm.c (tui_set_disassem_content): Fix calculation of
+ the longest disassembly line's length.
+
+2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * tui/tui-disasm.c (tui_set_disassem_content): Fix line buffer
+ overrun due to unchecked strcpy.
+
+2016-11-09 Tristan Gingold <gingold@adacore.com>
+
+ * darwin-nat.c (find_inferior_task_it): Fix indentation.
+ (find_inferior_notify_it): Remove.
+ (find_inferior_pid_it): New function.
+ (darwin_find_inferior_by_notify): Remove.
+ (darwin_find_inferior_by_pid): New function.
+ (darwin_find_new_inferior): New function.
+ (darwin_check_message_ndr): New function from
+ darwin_decode_exception_message.
+ (darwin_decode_exception_message): Call darwin_check_message_ndr.
+ Handle SIGTRAP addressed to an unknown task (when a task spawned).
+ (darwin_decode_notify_message): New function.
+ (darwin_decode_message): Handle unknown task.
+ (darwin_deallocate_threads): New function from darwin_mourn_inferior.
+ (darwin_mourn_inferior): Use darwin_deallocate_threads and
+ darwin_deallocate_exception_ports.
+ (darwin_deallocate_exception_ports): New function from
+ darwin_mourn_inferior.
+ (darwin_setup_exceptions): New function from darwin_attach_pid.
+ (darwin_setup_request_notification): Likewise.
+ (darwin_attach_pid): Call darwin_setup_request_notification and
+ darwin_setup_request_notification.
+
+2016-11-08 Tom Tromey <tom@tromey.com>
+
+ * python/py-framefilter.c (py_print_frame): Use
+ get_addr_from_python. Check for errors when getting line number.
+
+2016-11-08 Yao Qi <yao.qi@linaro.org>
+
+ * ada-lang.h (ada_val_print): Remove second parameter. Remove
+ const from "struct value *".
+ * ada-valprint.c (print_field_values): Remove const from
+ "struct value *".
+ (val_print_packed_array_elements): Likewise.
+ (print_variant_part): Likewise.
+ (ada_val_print_string): Likewise.
+ (ada_val_print_gnat_array): Likewise.
+ (ada_val_print_ptr): Likewise.
+ (ada_val_print_num): Likewise.
+ (ada_val_print_enum): Likewise.
+ (ada_val_print_flt): Likewise.
+ (ada_val_print_union): Likewise.
+ (ada_val_print_struct_union): Likewise.
+ (ada_val_print_ref): Likewise.
+ (ada_val_print_1): Remove second parameter. Remove const from
+ "struct value *".
+ (ada_val_print): Likewise.
+ * c-lang.h (c_val_print): Likewise.
+ * c-valprint.c (c_val_print_array): Remove const from
+ "struct value *".
+ (c_val_print_ptr): Likewise.
+ (c_val_print_struct): Likewise.
+ (c_val_print_union): Likewise.
+ (c_val_print_int): Likewise.
+ (c_val_print_memberptr): Likewise.
+ (c_val_print): Remove second parameter. Remove const from
+ "struct value *". All callers updated.
+ * cp-valprint.c (cp_print_value): Remove const from
+ "struct value *".
+ (cp_print_value_fields): Likewise.
+ (c_val_print_value): Likewise.
+ * d-lang.h (d_val_print): Remove second parameter. Remove const
+ from "struct value *".
+ * d-valprint.c (dynamic_array_type): Likewise.
+ (d_val_print): Likewise.
+ * f-lang.h (f_val_print): Likewise.
+ * f-valprint.c (f_val_print): Likewise.
+ * go-lang.h (go_val_print): Likewise.
+ * go-valprint.c (print_go_string): Likewise.
+ (go_val_print): Likewise.
+ * language.c (unk_lang_val_print): Likewise.
+ * language.h (struct language_defn) <la_val_print>: Likewise.
+ Update comments.
+ (LA_VAL_PRINT): Remove.
+ * m2-lang.h (m2_val_print): Remove const from
+ "struct value *".
+ * m2-valprint.c (m2_print_array_contents): Likewise.
+ (m2_val_print): Likewise.
+ * p-lang.h (pascal_val_print): Remove second parameter. Remove
+ const from "struct value *".
+ (pascal_object_print_value_fields): Likewise.
+ * p-valprint.c (pascal_val_print): Likewise.
+ (pascal_object_print_value_fields): Likewise.
+ (pascal_object_print_value): Likewise.
+ * rust-lang.c (rust_get_disr_info): Likewise.
+ (val_print_struct): Likewise.
+ (rust_val_print): Likewise.
+ * valprint.c (generic_val_print_array): Likewise.
+ (generic_val_print_ptr): Likewise.
+ (generic_val_print_memberptr): Likewise.
+ (generic_val_print_ref): Likewise.
+ (generic_val_print_enum): Likewise.
+ (generic_val_print_flags): Likewise.
+ (generic_val_print_func): 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.
+ (generic_val_print): Likewise.
+ (val_print): Likewise.
+ (common_val_print): Likewise.
+ (val_print_type_code_flags): Likewise.
+ (val_print_scalar_formatted): Likewise.
+ (val_print_array_elements): Likewise.
+ * valprint.h (val_print_array_elements): Update declaration.
+ (val_print_scalar_formatted): Likewise.
+ (generic_val_print): Likewise.
+ * value.h (val_print): Likewise.
+
+2016-11-08 Yao Qi <yao.qi@linaro.org>
+
+ * mt-tdep.c (mt_registers_info): Call
+ get_frame_register_value instead of
+ deprecated_frame_register_read.
+ * sh64-tdep.c (sh64_do_register): Likewise.
+
2016-11-08 Pedro Alves <palves@redhat.com>
* ax.h (agent_expr_p): Delete.
2016-10-29 Manish Goregaokar <manish@mozilla.com>
- * rust-exp.y: Parse `sizeof(exp)` as `UNOP_SIZEOF`
+ * rust-exp.y: Parse `sizeof(exp)` as `UNOP_SIZEOF`.
2016-10-28 Manish Goregaokar <manish@mozilla.com>
- * rust-lang.c (rust_union_is_untagged): Add function to
- check if a union is an untagged unioni
- (rust_val_print): Handle printing of untagged union values
- (rust_print_type): Handle printing of untagged union types
- (rust_evaluate_subexp): Handle evaluating field
- access on untagged unions
+ * rust-lang.c (rust_union_is_untagged): Add function to check if a
+ union is an untagged union.
+ (rust_val_print): Handle printing of untagged union values.
+ (rust_print_type): Handle printing of untagged union types.
+ (rust_evaluate_subexp): Handle evaluating field access on untagged
+ unions.
2016-10-27 Manish Goregaokar <manish@mozilla.com>
- * rust-lang.c (rust_get_disr_info): Treat univariant enums
- without discriminants as encoded enums with a real field
- * rust-lang.c (rust_evaluate_subexp): Handle field access
- on encoded struct-like enums
+ * rust-lang.c (rust_get_disr_info): Treat univariant enums without
+ discriminants as encoded enums with a real field.
+ * rust-lang.c (rust_evaluate_subexp): Handle field access on
+ encoded struct-like enums.
2016-11-03 Yao Qi <yao.qi@linaro.org>
2016-07-06 Manish Goregaokar <manish@mozilla.com>
- * rust-lang.c (rust_subscript): Allow subscripting pointers
+ * rust-lang.c (rust_subscript): Allow subscripting pointers.
2016-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>