aboutsummaryrefslogtreecommitdiff
path: root/sim/sh/syscall.h
AgeCommit message (Collapse)AuthorFilesLines
2021-04-18sim: sh: switch syscalls to common nltvalsMike Frysinger1-36/+0
Rather than hand duplicate the syscall table, switch to the common nltvals framework. We have to tweak the constant names, but we get everything else for free. I made sure the constants have the same values before & after too :).
2003-10-15include/gdb:Joern Rennecke1-0/+2
* 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.
2001-01-30* interp.c (sim_create_inferior): Record program arguments forAlexandre Oliva1-2/+3
later inspection by the trap handler. (count_argc): New function. (prog_argv): Declare static. (sim_write): Declare. (trap): Implement argc, argnlen and argn system calls. Do not abort on unknown system calls--simply return -1. * syscall.h (SYS_argc, SYS_argnlen, SYS_argn): Define.
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+33
1999-04-16Initial creation of sourceware repositoryStan Shebs1-33/+0
1995-09-19Mon Sep 18 18:42:27 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+33
* interp.c (trap): Remove useless code. Fri Sep 15 19:30:05 1995 steve chamberlain <sac@slash.cygnus.com> * syscall.h: Copy from newlib.