+2016-11-08 Pedro Alves <palves@redhat.com>
+
+ * python/py-arch.c (archpy_disassemble): Use ui_file_as_string and
+ std::string.
+ * python/py-breakpoint.c (bppy_get_commands): Use
+ ui_file_as_string and std::string.
+ * python/py-frame.c (frapy_str): Likewise.
+ * python/py-type.c (typy_str): Likewise.
+ * python/py-unwind.c (unwind_infopy_str): Likewise.
+ * python/py-value.c (valpy_str): Likewise.
+
+2016-11-08 Pedro Alves <palves@redhat.com>
+
+ * printcmd.c (eval_command): Use ui_file_as_string and
+ std::string.
+
+2016-11-08 Pedro Alves <palves@redhat.com>
+
+ * top.c (quit_confirm): Use ui_file_as_string and std::string.
+
+2016-11-08 Pedro Alves <palves@redhat.com>
+
+ * gdbcmd.h (execute_command_to_string): Now returns std::string.
+ (lookup_struct_elt_type): Adjust to use std::string.
+ * top.c (execute_command_to_string): Use ui_file_as_string and
+ return std::string.
+ * guile/guile.c (gdbscm_execute_gdb_command): Adjust to use
+ std::string.
+ * python/python.c (execute_gdb_command): Adjust to use
+ std::string.
+
+2016-11-08 Pedro Alves <palves@redhat.com>
+
+ * guile/scm-breakpoint.c (gdbscm_breakpoint_commands): Use
+ ui_file_as_string and adjust to use std::string.
+ * guile/scm-disasm.c (gdbscm_arch_disassemble): Likewise.
+ * guile/scm-frame.c (frscm_print_frame_smob): Likewise.
+ * guile/scm-type.c (tyscm_type_name): Use ui_file_as_string and
+ adjust to use std::string. Throw exception directly instead of
+ returning it in EXCP output parameter.
+ (tyscm_print_type_smob, gdbscm_type_print_name): Adjust to
+ tyscm_type_name interface change.
+ * guile/scm-value.c (vlscm_print_value_smob, gdbscm_value_print):
+ Use ui_file_as_string and std::string.
+
+2016-11-08 Pedro Alves <palves@redhat.com>
+
+ * arm-tdep.c (_initialize_arm_tdep): Use ui_file_as_string and
+ std::string.
+
+2016-11-08 Pedro Alves <palves@redhat.com>
+
+ * utils.c (error_stream): Use ui_file_as_string and std::string.
+
+2016-11-08 Pedro Alves <palves@redhat.com>
+
+ * ui-out.c (ui_out_field_stream): Use ui_file_as_string.
+
+2016-11-08 Pedro Alves <palves@redhat.com>
+
+ * ada-valprint.c (ada_print_floating): Use ui_file_as_string and
+ std::string.
+
+2016-11-08 Pedro Alves <palves@redhat.com>
+
+ * xtensa-tdep.c (xtensa_verify_config): Use ui_file_as_string and
+ std::string.
+
+2016-11-08 Pedro Alves <palves@redhat.com>
+
+ * dwarf2read.c (dwarf2_compute_name): Use ui_file_as_string and
+ std::string.
+
+2016-11-08 Pedro Alves <palves@redhat.com>
+
+ * mi/mi-main.c (print_variable_or_computed): Constify 'expression'
+ parameter.
+ (mi_cmd_trace_frame_collected): Call encode_actions instead of
+ encode_actions_and_make_cleanup. Adjust to use std::vector.
+ * tracepoint.c (memrange_cmp): Delete.
+ (memrange_comp): New.
+ (memrange_sortmerge): Take a memrange vector as parameter instead
+ of a collection_list. Use std::sort instead of qsort.
+ (add_register): Now a method of collection_list. Adjust to m_
+ prefix of data fields.
+ (add_memrange): Now a method of collection_list. Adjust to m_
+ prefix of data fields. Adjust to use std::vector.
+ (collect_symbol): Now a method of collection_list. Adjust to m_
+ prefix of data fields.
+ (do_collect_symbol): Adjust. Call add_wholly_collected instead of
+ accessing the vector directly.
+ (collection_list::add_wholly_collected): New.
+ (add_local_symbols): Now a method of collection_list.
+ (add_static_trace_data): Now a method of collection_list. Adjust
+ to use bool.
+ (clear_collection_list, do_clear_collection_list): Delete.
+ (init_collection_list): Delete.
+ (collection_list::collection_list): New.
+ (collection_list::~collection_list): New.
+ (stringify_collection_list): Rename to ...
+ (collection_list::stringify): ... this and adjust to being a
+ method of collection_list. Adjust to use of std::vector.
+ (append_exp): Now a method of collection_list. Use
+ ui_file_as_string. Adjust to std::vector.
+ (collection_list::finish): New.
+ (encode_actions_1): Adjust.
+ (encode_actions_and_make_cleanup): Rename to ...
+ (encode_actions)... this. No longer returns a cleanup. No longer
+ call init_collection_list nor install do_clear_collection_list
+ cleanups. Call collection_list::finish instead of
+ memrange_sortmerge directly.
+ (encode_actions_rsp): Adjust to call encode_actions instead of
+ encode_actions_and_make_cleanup. Adjust to method renames.
+ (add_aexpr): Now a method of collection_list.
+ * tracepoint.h: Include <vector> and <string>.
+ (struct memrange): Add constructors.
+ (struct collection_list): Now a class.
+ (class collection_list) <collection_list, ~collection_list,
+ add_wholly_collected, append_exp, add_aexpr, add_register,
+ add_memrange, collect_symbol, add_local_symbols,
+ add_static_trace_data, finish, stringify, wholly_collected, and
+ computed>: New methods.
+ <regs_mask>: Rename to ...
+ <m_regs_mask>: ... this.
+ <listsize, next_memrange, list>: Delete fields.
+ <m_memranges>: New field.
+ <aexpr_listsize, next_aexpr_elt, aexpr_list>: Delete fields.
+ <m_aexprs>: New field.
+ <strace_data>: Rename to ...
+ <m_strace_data>: ... this. Now a bool.
+ <wholly_collected>: Rename to ...
+ <m_wholly_collected>: ... this. Now a std::vector<std::string>.
+ <computed>: Rename to ...
+ <m_computed>: ... this. Now a std::vector<std::string>.
+ (encode_actions_and_make_cleanup): Delete declaration.
+ (encode_actions): New declaration.
+
+2016-11-08 Pedro Alves <palves@redhat.com>
+
+ * ui-file.c (do_ui_file_as_string, ui_file_as_string): New
+ functions.
+ * ui-file.h: Include <string>.
+ (ui_file_as_string): New declaration.
+
2016-11-08 Pedro Alves <palves@redhat.com>
* ada-lang.c (ada_read_renaming_var_value): Use expression_up.