sim: iq2000: add fallback for exit syscall
Make sure this syscall always exits regardless of the exit code.
This commit is contained in:
@@ -77,6 +77,9 @@ do_syscall (SIM_CPU *current_cpu, PCADDR pc)
|
||||
/* Fail. */
|
||||
puts ("fail");
|
||||
exit (1);
|
||||
default:
|
||||
puts ("unknown exit");
|
||||
exit (2);
|
||||
}
|
||||
|
||||
case TARGET_NEWLIB_SYS_write:
|
||||
|
||||
Reference in New Issue
Block a user