* cris/sim-main.h (struct _sim_cpu): New members last_syscall,
authorHans-Peter Nilsson <hp@axis.com>
Thu, 17 Nov 2005 16:14:53 +0000 (16:14 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Thu, 17 Nov 2005 16:14:53 +0000 (16:14 +0000)
commited1f044ac6423184b2e2b8f805ddc4f76ea1256c
tree89918a464f6ebd0e6ca81ec2b38cf9387f053fa5
parent5457266c93b2d713d95a4879446015aac02b270c
* cris/sim-main.h (struct _sim_cpu): New members last_syscall,
last_open_fd, last_open_flags.
* cris/traps.c: Don't include targ-vals.h.
(TARGET_O_ACCMODE): Define.
(cris_break_13_handler): Set new _sim_cpu members.
<case TARGET_SYS_fcntl>: Support special case of F_GETFL.
Rearrange code as switch.  Emit "unimplemented" abort for
unimplemented fcntl calls.
sim/ChangeLog
sim/cris/sim-main.h
sim/cris/traps.c