aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-08-30 07:05:19 +0000
committerMike Frysinger <vapier@gentoo.org>2012-08-30 07:05:19 +0000
commit3f170f377b492cdcefb94f2d4d6dab704584d6b3 (patch)
treee9a4ef152588cfcc2f5f5161729cd3c79ff66128 /sim
parent5a06d7c470e4dfd5f66ba9b6a93d9a77d4910e07 (diff)
downloadgdb-3f170f377b492cdcefb94f2d4d6dab704584d6b3.zip
gdb-3f170f377b492cdcefb94f2d4d6dab704584d6b3.tar.gz
gdb-3f170f377b492cdcefb94f2d4d6dab704584d6b3.tar.bz2
sim: cr16: update syscall list
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog5
-rw-r--r--sim/common/gennltvals.sh2
-rw-r--r--sim/common/nltvals.def52
3 files changed, 34 insertions, 25 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 75afcc1..6498668 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-28 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
+
+ * gennltvals.sh: Use libgloss/syscall.h for cr16.
+ * nltvals.def: Regenerate.
+
2012-06-16 Joel Brobecker <brobecker@adacore.com>
* acinclude.m4 (SIM_AC_COMMON): Define PACKAGE.
diff --git a/sim/common/gennltvals.sh b/sim/common/gennltvals.sh
index 9036cf3..f251d71 100644
--- a/sim/common/gennltvals.sh
+++ b/sim/common/gennltvals.sh
@@ -41,7 +41,7 @@ $shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
# OBSOLETE $shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
# OBSOLETE "syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}"
-dir=libgloss target=cr16
+dir=libgloss/cr16/sys target=cr16
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
"syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}"
diff --git a/sim/common/nltvals.def b/sim/common/nltvals.def
index bc858b8..9e12cd2 100644
--- a/sim/common/nltvals.def
+++ b/sim/common/nltvals.def
@@ -218,30 +218,34 @@
#ifdef sys_defs
/* from syscall.h */
/* begin cr16 sys target macros */
- { "SYS_argc", 22 },
- { "SYS_argn", 24 },
- { "SYS_argnlen", 23 },
- { "SYS_argv", 13 },
- { "SYS_argvlen", 12 },
- { "SYS_chdir", 14 },
- { "SYS_chmod", 16 },
- { "SYS_close", 3 },
- { "SYS_exit", 1 },
- { "SYS_fstat", 10 },
- { "SYS_getpid", 8 },
- { "SYS_gettimeofday", 19 },
- { "SYS_kill", 9 },
- { "SYS_link", 21 },
- { "SYS_lseek", 6 },
- { "SYS_open", 2 },
- { "SYS_read", 4 },
- { "SYS_reconfig", 25 },
- { "SYS_stat", 15 },
- { "SYS_time", 18 },
- { "SYS_times", 20 },
- { "SYS_unlink", 7 },
- { "SYS_utime", 17 },
- { "SYS_write", 5 },
+ { "SYS_ARG", 24 },
+ { "SYS_chdir", 12 },
+ { "SYS_chmod", 15 },
+ { "SYS_chown", 16 },
+ { "SYS_close", 0x402 },
+ { "SYS_create", 8 },
+ { "SYS_execv", 11 },
+ { "SYS_execve", 59 },
+ { "SYS_exit", 0x410 },
+ { "SYS_fork", 2 },
+ { "SYS_fstat", 22 },
+ { "SYS_getpid", 20 },
+ { "SYS_isatty", 21 },
+ { "SYS_kill", 60 },
+ { "SYS_link", 9 },
+ { "SYS_lseek", 0x405 },
+ { "SYS_mknod", 14 },
+ { "SYS_open", 0x401 },
+ { "SYS_pipe", 42 },
+ { "SYS_read", 0x403 },
+ { "SYS_rename", 0x406 },
+ { "SYS_stat", 38 },
+ { "SYS_time", 0x300 },
+ { "SYS_unlink", 0x407 },
+ { "SYS_utime", 201 },
+ { "SYS_wait", 202 },
+ { "SYS_wait4", 7 },
+ { "SYS_write", 0x404 },
/* end cr16 sys target macros */
#endif
#endif