This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/sim ChangeLog cris/cris-sim.h cris/sim-if. ...
- From: hp at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 2 Oct 2006 03:21:28 -0000
- Subject: src/sim ChangeLog cris/cris-sim.h cris/sim-if. ...
CVSROOT: /cvs/src
Module name: src
Changes by: hp@sourceware.org 2006-10-02 03:21:28
Modified files:
sim : ChangeLog
sim/cris : cris-sim.h sim-if.c traps.c
Log message:
* 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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ChangeLog.diff?cvsroot=src&r1=1.83&r2=1.84
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/cris/cris-sim.h.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/cris/sim-if.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/cris/traps.c.diff?cvsroot=src&r1=1.9&r2=1.10