OSDN Git Service

* cris/cris-sim.h (enum cris_unknown_syscall_action_type)
authorhp <hp>
Mon, 2 Oct 2006 03:21:28 +0000 (03:21 +0000)
committerhp <hp>
Mon, 2 Oct 2006 03:21:28 +0000 (03:21 +0000)
commit69e25f8b3fd449cce0dbd312901caaf87c989e47
treef55f7492ec58e4a7ff9d644d74e28382fde4d207
parentda9dd240cd7df87618a82f1be871144cc2bfaa27
* cris/cris-sim.h (enum cris_unknown_syscall_action_type)
(cris_unknown_syscall_action): Declare.
* cris/sim-if.c (cris_unknown_syscall_action): Define.
(cris_options): Add cris-unknown-syscall option.
(cris_option_handler): Correct comment about and error message for
invalid --cris-cycles argument.  Handle --cris-unknown-syscall.
* cris/traps.c: Include stdarg.h
(cris_unknown_syscall): New function.
(cris_break_13_handler): Instead of sim_io_eprintf and
sim_engine_halt, call cris_unknown_syscall to handle more or less
unknown syscalls.  Adjust code as necessary to handle return
value.
sim/ChangeLog
sim/cris/cris-sim.h
sim/cris/sim-if.c
sim/cris/traps.c