diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2006-10-02 03:21:28 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2006-10-02 03:21:28 +0000 |
commit | 466b1d33082997a5a2f267897b435364cde0131c (patch) | |
tree | 73899397915659fc9f158b4ae45d0d6c52810a58 /sim/cris/cpuv10.c | |
parent | 1654a6f72803b321cfe3d7ac28ea1abed5d26fd9 (diff) | |
download | gdb-466b1d33082997a5a2f267897b435364cde0131c.zip gdb-466b1d33082997a5a2f267897b435364cde0131c.tar.gz gdb-466b1d33082997a5a2f267897b435364cde0131c.tar.bz2 |
* 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.
Diffstat (limited to 'sim/cris/cpuv10.c')
0 files changed, 0 insertions, 0 deletions