forked from Imagelibrary/binutils-gdb
* symfile.c: If O_BINARY isn't defined, set it to 0, call openp for
binary files oring in the right bit.
* main.c, source.c, state.c, symmisc.c: use macros defined in
fopen-{bin|both} when fopening files.
* remote-hms.c, remote-sim.c: lint
This commit is contained in:
@@ -622,14 +622,13 @@ static void
|
||||
hms_close (quitting)
|
||||
int quitting;
|
||||
{
|
||||
|
||||
/* Clear any break points */
|
||||
hms_clear_breakpoints ();
|
||||
|
||||
/* Put this port back into REMOTE mode */
|
||||
sleep (1); /* Let any output make it all the way back */
|
||||
serial_write ("R\r", 2);
|
||||
serial_close ();
|
||||
if (is_open) {
|
||||
serial_write ("R\r", 2);
|
||||
serial_close ();
|
||||
}
|
||||
is_open = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user