aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-08-11 10:24:48 -0600
committerTom Tromey <tromey@adacore.com>2022-08-31 11:03:40 -0600
commit5a09f120568d433872267887ff844b2278b9c09b (patch)
tree77950223ee5026b8a4858eda5e81f78c91c81afe /gdb/mi
parent334c30c253b8cf27833948386340f83340741a82 (diff)
downloadgdb-5a09f120568d433872267887ff844b2278b9c09b.zip
gdb-5a09f120568d433872267887ff844b2278b9c09b.tar.gz
gdb-5a09f120568d433872267887ff844b2278b9c09b.tar.bz2
Remove two unused members from mi_interp
These members of mi_interp aren't used and can be removed.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-interp.c1
-rw-r--r--gdb/mi/mi-interp.h8
2 files changed, 2 insertions, 7 deletions
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index ed097cf..dbf7118 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 adf6eaf..d89439f 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;