* callback.h (struct host_callback_struct): New members ftruncate
and truncate.
gdb:
sim/common:
* callback.c (os_ftruncate, os_truncate): New functions.
(default_callback): Initialize ftruncate and truncate members.
sim/sh:
* syscall.h (SYS_truncate, SYS_ftruncate): Define.
* interp.c (trap): Add support for SYS_ftruncate and SYS_truncate.
|
||
|---|---|---|
| .. | ||
| acconfig.h | ||
| ChangeLog | ||
| config.in | ||
| configure | ||
| configure.in | ||
| gencode.c | ||
| interp.c | ||
| Makefile.in | ||
| syscall.h | ||
| tconfig.in | ||