From: Tom Tromey Date: Thu, 11 Aug 2022 16:24:48 +0000 (-0600) Subject: Remove two unused members from mi_interp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a09f120568d433872267887ff844b2278b9c09b;p=binutils-gdb.git Remove two unused members from mi_interp These members of mi_interp aren't used and can be removed. --- diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c index ed097cf5d5f..dbf71185ea7 100644 --- a/gdb/mi/mi-interp.c +++ b/gdb/mi/mi-interp.c @@ -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 { diff --git a/gdb/mi/mi-interp.h b/gdb/mi/mi-interp.h index adf6eaffef4..d89439f54c5 100644 --- a/gdb/mi/mi-interp.h +++ b/gdb/mi/mi-interp.h @@ -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;