summaryrefslogtreecommitdiff
path: root/gdb/serial.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-11-09 01:23:30 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-11-09 01:23:30 +0000
commit4f8354a4b24fa3b22f09bd72c192edfe11d0b9c9 (patch)
tree4deb02d0a6d263144918286d6c85f13ad424f77f /gdb/serial.c
parentd3d25b47f514232bc58078371111b1c446149f8a (diff)
downloadgdb-4f8354a4b24fa3b22f09bd72c192edfe11d0b9c9.tar.gz
import gdb-1999-11-08 snapshot
Diffstat (limited to 'gdb/serial.c')
-rw-r--r--gdb/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/serial.c b/gdb/serial.c
index 2d73226761c..e33e2ef72d2 100644
--- a/gdb/serial.c
+++ b/gdb/serial.c
@@ -288,7 +288,7 @@ do_serial_close (serial_t scb, int really_close)
serial_current_type = 0;
/* XXX - What if serial_logfp == gdb_stdout or gdb_stderr? */
- gdb_fclose (&serial_logfp);
+ gdb_file_delete (serial_logfp);
serial_logfp = NULL;
}