]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove two unused members from mi_interp
authorTom Tromey <tromey@adacore.com>
Thu, 11 Aug 2022 16:24:48 +0000 (10:24 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 31 Aug 2022 17:03:40 +0000 (11:03 -0600)
These members of mi_interp aren't used and can be removed.

gdb/mi/mi-interp.c
gdb/mi/mi-interp.h

index ed097cf5d5f31bb3f3355995e9410940e9089c42..dbf71185ea795416daf8068d2296ce55fc7e7e93 100644 (file)
@@ -1297,7 +1297,6 @@ mi_interp::set_logging (ui_file_up logfile, bool logging_redirect,
        }
 
       mi->raw_stdout = logging_redirect ? logfile_p : tee;
-      mi->raw_stdlog = debug_redirect ? logfile_p : tee;
     }
   else
     {
index adf6eaffef4e2025e6f7e4a8170fdb6b292bcf1f..d89439f54c5adca064367c9ba15cb5c4082fb434 100644 (file)
@@ -52,14 +52,10 @@ public:
   /* Raw console output.  */
   struct ui_file *raw_stdout;
 
-  /* Raw logfile output.  */
-  struct ui_file *raw_stdlog;
-
-  /* Save the original value of raw_stdout and raw_stdlog here when logging, and
-     the file which we need to delete, so we can restore correctly when
+  /* Save the original value of raw_stdout here when logging, and the
+     file which we need to delete, so we can restore correctly when
      done.  */
   struct ui_file *saved_raw_stdout;
-  struct ui_file *saved_raw_stdlog;
   struct ui_file *saved_raw_file_to_delete;