include/gdb:
authorJoern Rennecke <joern.rennecke@embecosm.com>
Wed, 15 Oct 2003 12:30:47 +0000 (12:30 +0000)
committerJoern Rennecke <joern.rennecke@embecosm.com>
Wed, 15 Oct 2003 12:30:47 +0000 (12:30 +0000)
commit8822d0016c0c592c921a3a4e96d2e8533c79545f
tree990fecea2f39fa10115680ad71e7dfca642d51bd
parentcdc9c0bc96781bae099051b052ccfd66ea685ba5
include/gdb:
        * 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.
sim/common/ChangeLog
sim/common/callback.c
sim/sh/ChangeLog
sim/sh/interp.c
sim/sh/syscall.h