Temporary fix for missing definitions for initialize_console_io and restore_console_io.
This commit is contained in:
parent
7486a4834e
commit
86c67c1cf9
|
@ -93,7 +93,8 @@ void gdb(void);
|
||||||
|
|
||||||
void spinsim_exit(int32_t exitcode)
|
void spinsim_exit(int32_t exitcode)
|
||||||
{
|
{
|
||||||
restore_console_io();
|
// dbetz: not defined for Windows and a nop for anything else
|
||||||
|
// restore_console_io();
|
||||||
exit(exitcode);
|
exit(exitcode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -889,14 +890,15 @@ int main(int argc, char **argv)
|
||||||
if (!fname && !gdbmode && !eeprom) usage();
|
if (!fname && !gdbmode && !eeprom) usage();
|
||||||
|
|
||||||
RebootProp();
|
RebootProp();
|
||||||
initialize_console_io();
|
// dbetz: not defined for Windows and a nop for anything else
|
||||||
|
// initialize_console_io();
|
||||||
if (gdbmode)
|
if (gdbmode)
|
||||||
gdb();
|
gdb();
|
||||||
else if (debugmode)
|
else if (debugmode)
|
||||||
Debug();
|
Debug();
|
||||||
else
|
else
|
||||||
RunProp(maxloops);
|
RunProp(maxloops);
|
||||||
restore_console_io();
|
// restore_console_io();
|
||||||
if (eeprom) EEPromClose();
|
if (eeprom) EEPromClose();
|
||||||
if (profile) PrintStats();
|
if (profile) PrintStats();
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue