Use ui_file_as_string in gdb/compile/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 78557768238173acdf0c79839cd2fbd7999667e8..b07e744b0b76cc3f91070f28647bbb7817dc1676 100644 (file)
@@ -1,3 +1,89 @@
+2016-11-08  Pedro Alves  <palves@redhat.com>
+
+       * c-lang.h (c_compute_program): Now returns std::string.
+       * compile/compile-internal.h (class compile_file_names): New
+       class.
+       * compile/compile-object-load.c (compile_object_load): Replace
+       object_file and source_file parameters with a compile_file_names
+       parameter.  Adjust.
+       * compile-object-load.h: Include "compile-internal.h".
+       (compile_object_load): Replace object_file and source_file
+       parameters with a compile_file_names parameter.
+       * compile/compile-c-support.c (c_compute_program): Now returns a
+       std::string.  Use ui_file_as_string.
+       * compile/compile.c (get_new_file_names): Remove parameters and
+       return a compile_file_names instead.
+       (compile_to_object): Now returns a compile_file_names.  Use
+       ui_file_as_string.
+       (eval_compile_command): Use compile_file_names.
+       * language.h (struct language_defn) <la_compute_program>: Now
+       returns std::string.
+
+2016-11-08  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-setshow.c (do_show_command): Adjust to use
+       ui_file_as_string and std::string.
+
+2016-11-08  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (escape_buffer): Use ui_file_as_string and return
+       std::string.
+       (putpkt_binary, read_frame): Adjust to use std::string.
+
+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.
This page took 0.025011 seconds and 4 git commands to generate.