aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorMarc Khouzam <marc.khouzam@ericsson.com>2014-07-03 14:55:36 -0400
committerMarc Khouzam <marc.khouzam@ericsson.com>2014-07-03 14:57:33 -0400
commit4a5be5ee6838648fb92f7c835507a61789cd4ba5 (patch)
treed12d585b2905f9cfef787ae221f98ec82f8c3c6d /gdb/cli
parent8d112f9ecbe59b0eee3ec636a86891a6a82e4d9b (diff)
downloadgdb-4a5be5ee6838648fb92f7c835507a61789cd4ba5.zip
gdb-4a5be5ee6838648fb92f7c835507a61789cd4ba5.tar.gz
gdb-4a5be5ee6838648fb92f7c835507a61789cd4ba5.tar.bz2
Assign 'targerr' instead of 'targ' to gdb_stdtargerr.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-logging.c b/gdb/cli/cli-logging.c
index ca2d76e..aae0039 100644
--- a/gdb/cli/cli-logging.c
+++ b/gdb/cli/cli-logging.c
@@ -171,7 +171,7 @@ pop_output_files (void)
gdb_stderr = saved_output.err;
gdb_stdlog = saved_output.log;
gdb_stdtarg = saved_output.targ;
- gdb_stdtargerr = saved_output.targ;
+ gdb_stdtargerr = saved_output.targerr;
}
saved_output.out = NULL;