From 4a5be5ee6838648fb92f7c835507a61789cd4ba5 Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Thu, 3 Jul 2014 14:55:36 -0400 Subject: [PATCH] Assign 'targerr' instead of 'targ' to gdb_stdtargerr. --- gdb/ChangeLog | 5 +++++ gdb/cli/cli-logging.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * cli/cli-logging.c (pop_output_files): Assign targerr to + gdb_stdtargerr. + 2014-07-03 Andrew Burgess * 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; -- 2.30.2