Assign 'targerr' instead of 'targ' to gdb_stdtargerr.
authorMarc Khouzam <marc.khouzam@ericsson.com>
Thu, 3 Jul 2014 18:55:36 +0000 (14:55 -0400)
committerMarc Khouzam <marc.khouzam@ericsson.com>
Thu, 3 Jul 2014 18:57:33 +0000 (14:57 -0400)
gdb/ChangeLog
gdb/cli/cli-logging.c

index 45d3942332495fe586a16f77c5af1f55a21034f2..f4221108ef70d49577285c0fb782630a16a6dd7c 100644 (file)
@@ -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.
index ca2d76eda33cfb77caf02133bb1b611470778caa..aae003953b44c08ceca2637cbaed0da82dd098de 100644 (file)
@@ -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;