[binutils-gdb] struct mi_interp: Remove unused fields

Pedro Alves palves@sourceware.org
Thu Feb 2 23:08:00 GMT 2017


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

commit ec4cb20ba971232450f3420d3c7c0c8bbecc1ace
Author: Pedro Alves <palves@redhat.com>
Date:   Thu Feb 2 23:08:12 2017 +0000

    struct mi_interp: Remove unused fields
    
    gdb/ChangeLog:
    2017-02-02  Pedro Alves  <palves@redhat.com>
    
    	* mi/mi-common.h (struct mi_interp): Delete the mi2_interp,
    	mi1_interp and mi_interp fields.

Diff:
---
 gdb/ChangeLog      | 5 +++++
 gdb/mi/mi-common.h | 5 -----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fbbcc07..95dfd00 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
 2017-02-02  Pedro Alves  <palves@redhat.com>
 
+	* mi/mi-common.h (struct mi_interp): Delete the mi2_interp,
+	mi1_interp and mi_interp fields.
+
+2017-02-02  Pedro Alves  <palves@redhat.com>
+
 	* cli/cli-interp.c (struct saved_output_files, saved_output):
 	Moved from cli/cli-logging.c.
 	(cli_set_logging): New function.
diff --git a/gdb/mi/mi-common.h b/gdb/mi/mi-common.h
index e82b4a3..9ee38b0 100644
--- a/gdb/mi/mi-common.h
+++ b/gdb/mi/mi-common.h
@@ -71,11 +71,6 @@ struct mi_interp
 
   /* MI's CLI builder (wraps OUT).  */
   struct ui_out *cli_uiout;
-
-  /* This is the interpreter for the mi... */
-  struct interp *mi2_interp;
-  struct interp *mi1_interp;
-  struct interp *mi_interp;
 };
 
 #endif



More information about the Gdb-cvs mailing list