[binutils-gdb] Rename ui_out_data to mi_ui_out_data

Simon Marchi simark@sourceware.org
Sun Nov 27 03:09:00 GMT 2016


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0abe66b59fda0689c32fe9d96b3690b4d49a3027

commit 0abe66b59fda0689c32fe9d96b3690b4d49a3027
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date:   Sat Nov 26 22:04:49 2016 -0500

    Rename ui_out_data to mi_ui_out_data
    
    Just a little cleanup, so the name is more consistent with the naming of
    the equivalent structures of cli and tui.  It goes away in subsequent
    patches anyway, but it might help follow the changes in those patches...
    
    gdb/ChangeLog:
    
    	* mi/mi-out.c (ui_out_data): Rename to ...
    	(mi_ui_out_data): ... this.

Diff:
---
 gdb/ChangeLog   | 5 +++++
 gdb/mi/mi-out.c | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 218fc1d..5514730 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
 2016-11-26  Simon Marchi  <simon.marchi@polymtl.ca>
 
+	* mi/mi-out.c (ui_out_data): Rename to ...
+	(mi_ui_out_data): ... this.
+
+2016-11-26  Simon Marchi  <simon.marchi@polymtl.ca>
+
 	* ui-out.c (_initialize_ui_out): Remove.
 	(ui_out_set_flags): Remove.
 	(ui_out_clear_flags): Remove.
diff --git a/gdb/mi/mi-out.c b/gdb/mi/mi-out.c
index 491caf5..0f48426 100644
--- a/gdb/mi/mi-out.c
+++ b/gdb/mi/mi-out.c
@@ -27,14 +27,14 @@
 typedef struct ui_file *ui_filep;
 DEF_VEC_P (ui_filep);
 
-struct ui_out_data
+struct mi_ui_out_data
   {
     int suppress_field_separator;
     int suppress_output;
     int mi_version;
     VEC (ui_filep) *streams;
   };
-typedef struct ui_out_data mi_out_data;
+typedef struct mi_ui_out_data mi_out_data;
 
 /* These are the MI output functions */



More information about the Gdb-cvs mailing list