summaryrefslogtreecommitdiff
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
parent8d112f9ecbe59b0eee3ec636a86891a6a82e4d9b (diff)
downloadbinutils-gdb-4a5be5ee6838648fb92f7c835507a61789cd4ba5.tar.gz
Assign 'targerr' instead of 'targ' to gdb_stdtargerr.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/cli/cli-logging.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 45d39423324..f4221108ef7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
+
+ * cli/cli-logging.c (pop_output_files): Assign targerr to
+ gdb_stdtargerr.
+
2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
* MAINTAINERS (Write After Approval): Update my email address.
diff --git a/gdb/cli/cli-logging.c b/gdb/cli/cli-logging.c
index ca2d76eda33..aae003953b4 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;