HPMERGE:
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:
parent
8bdec905f1
commit
c634a08ff8
5 changed files with 25 additions and 18 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue