Pass gdb_stderr instead of stderr.
In serial.c, fix call to gdb_fclose() - pass gdb_file** not gdb_file*
This commit is contained in:
Andrew Cagney 1999-01-18 01:24:06 +00:00
parent 8bdec905f1
commit c634a08ff8
5 changed files with 25 additions and 18 deletions

View file

@ -309,7 +309,7 @@ serial_close (scb, really_close)
serial_current_type = 0;
/* XXX - What if serial_logfp == gdb_stdout or gdb_stderr? */
gdb_fclose (serial_logfp);
gdb_fclose (&serial_logfp);
serial_logfp = NULL;
}