aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.c
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1997-04-19 11:53:58 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1997-04-19 11:53:58 +0000
commit64e6335a657599a9bca4704cafa0c507dd30e475 (patch)
treed9f72a314c089448d8b74273d80742c97b44a83d /gdb/serial.c
parent0daae7e21b61390b12d8bae8fae60ff9e8bb38ef (diff)
downloadgdb-64e6335a657599a9bca4704cafa0c507dd30e475.zip
gdb-64e6335a657599a9bca4704cafa0c507dd30e475.tar.gz
gdb-64e6335a657599a9bca4704cafa0c507dd30e475.tar.bz2
* serial.c (serial_log_command): Fix fputs_unfiltered calls.
Diffstat (limited to 'gdb/serial.c')
-rw-r--r--gdb/serial.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/serial.c b/gdb/serial.c
index e9e682e..496e308 100644
--- a/gdb/serial.c
+++ b/gdb/serial.c
@@ -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. */