aboutsummaryrefslogtreecommitdiff
path: root/sim/sh/syscall.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1995-09-19 01:47:35 +0000
committerSteve Chamberlain <sac@cygnus>1995-09-19 01:47:35 +0000
commite9aea0b33ea95f55a7eaeb2b2baba4c19963e70a (patch)
tree9357c89592b41f7b182a54e3b661ca08abc987a1 /sim/sh/syscall.h
parentb3625fe62c5dd321fb775f0c5a36b3fc91a62cea (diff)
downloadgdb-e9aea0b33ea95f55a7eaeb2b2baba4c19963e70a.zip
gdb-e9aea0b33ea95f55a7eaeb2b2baba4c19963e70a.tar.gz
gdb-e9aea0b33ea95f55a7eaeb2b2baba4c19963e70a.tar.bz2
Mon Sep 18 18:42:27 1995 steve chamberlain <sac@slash.cygnus.com>
* interp.c (trap): Remove useless code. Fri Sep 15 19:30:05 1995 steve chamberlain <sac@slash.cygnus.com> * syscall.h: Copy from newlib.
Diffstat (limited to 'sim/sh/syscall.h')
-rw-r--r--sim/sh/syscall.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/sim/sh/syscall.h b/sim/sh/syscall.h
new file mode 100644
index 0000000..2c15447
--- /dev/null
+++ b/sim/sh/syscall.h
@@ -0,0 +1,33 @@
+
+/* !!! DANGER !!!
+ This was copied from newlib. */
+
+
+#define SYS_exit 1
+#define SYS_fork 2
+#define SYS_read 3
+#define SYS_write 4
+#define SYS_open 5
+#define SYS_close 6
+#define SYS_wait4 7
+#define SYS_creat 8
+#define SYS_link 9
+#define SYS_unlink 10
+#define SYS_execv 11
+#define SYS_chdir 12
+#define SYS_mknod 14
+#define SYS_chmod 15
+#define SYS_chown 16
+#define SYS_lseek 19
+#define SYS_getpid 20
+#define SYS_isatty 21
+#define SYS_fstat 22
+#define SYS_time 23
+#define SYS_ARG 24
+#define SYS_stat 38
+#define SYS_pipe 42
+#define SYS_execve 59
+#define SYS_utime 201 /* not really a system call */
+#define SYS_wait 202 /* nor is this */
+
+