* serial.c (serial_log_command): Fix fputs_unfiltered calls.
authorPeter Schauer <Peter.Schauer@mytum.de>
Sat, 19 Apr 1997 11:53:58 +0000 (11:53 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Sat, 19 Apr 1997 11:53:58 +0000 (11:53 +0000)
gdb/ChangeLog
gdb/serial.c

index d96171b..6c217cf 100644 (file)
@@ -1,5 +1,7 @@
 Sat Apr 19 01:49:37 1997  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
 
+       * serial.c (serial_log_command):  Fix fputs_unfiltered calls.
+
        * config/powerpc/tm-ppc-aix4.h, config/rs6000/tm-rs6000-aix4.h
        (DONT_RELOCATE_SYMFILE_OBJFILE):  Removed.
        * xcoffsolib.h (struct vmap):  Add new members tvma, toffs and dvma,
index e9e682e..496e308 100644 (file)
@@ -1,5 +1,5 @@
 /* Generic serial interface routines
-   Copyright 1992, 1993, 1996 Free Software Foundation, Inc.
+   Copyright 1992, 1993, 1996, 1997 Free Software Foundation, Inc.
 
 This file is part of GDB.
 
@@ -116,8 +116,8 @@ serial_log_command (cmd)
 
   serial_current_type = 'c';
 
-  fputs_unfiltered (serial_logfp, "\nc ");
-  fputs_unfiltered (serial_logfp, cmd);
+  fputs_unfiltered ("\nc ", serial_logfp);
+  fputs_unfiltered (cmd, serial_logfp);
 
   /* Make sure that the log file is as up-to-date as possible,
      in case we are getting ready to dump core or something. */