mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 05:12:33 +08:00
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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user