nclude/gdb:
commitd3746a205a3934695d9a707bc5c205b237ca4704
authorJoern Rennecke <joern.rennecke@arc.com>
Wed, 15 Oct 2003 12:28:50 +0000 (15 12:28 +0000)
committerJoern Rennecke <joern.rennecke@arc.com>
Wed, 15 Oct 2003 12:28:50 +0000 (15 12:28 +0000)
treee637c227cd162051e2d0ce66d93be2ba0861530f
parentf86b6ed715f9650f463f357ecd04b53d5ce7daeb
nclude/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.
include/gdb/ChangeLog
include/gdb/callback.h