aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-11-09 01:23:30 +0000
committerJason Molenda <jmolenda@apple.com>1999-11-09 01:23:30 +0000
commit11cf87416416e13eff634a70b4954fe6a3912720 (patch)
treea6dc7a21bb3d45b89c3f95e4b5862ec9d2fab83b /gdb/serial.c
parent98007ce7b0dea06f0c04d833d39b5a9c9773a07a (diff)
downloadfsf-binutils-gdb-11cf87416416e13eff634a70b4954fe6a3912720.zip
fsf-binutils-gdb-11cf87416416e13eff634a70b4954fe6a3912720.tar.gz
fsf-binutils-gdb-11cf87416416e13eff634a70b4954fe6a3912720.tar.bz2
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 2d73226..e33e2ef 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;
}