diff options
author | M R Swami Reddy <MR.Swami.Reddy@nsc.com> | 2008-04-08 08:44:51 +0000 |
---|---|---|
committer | M R Swami Reddy <MR.Swami.Reddy@nsc.com> | 2008-04-08 08:44:51 +0000 |
commit | 2a3591b0e073a7ca03259d317d1044124048fab1 (patch) | |
tree | c143c45273a7fa0b7464a939d5193cfbd5e520fc /sim/common/nltvals.def | |
parent | ae8aafe1c2ecc144e375026da63d8387f342cb62 (diff) | |
download | gdb-2a3591b0e073a7ca03259d317d1044124048fab1.zip gdb-2a3591b0e073a7ca03259d317d1044124048fab1.tar.gz gdb-2a3591b0e073a7ca03259d317d1044124048fab1.tar.bz2 |
gennltvals.sh: Add cr16 target sys macros.
nltvals.def: Rebuild.
Diffstat (limited to 'sim/common/nltvals.def')
-rw-r--r-- | sim/common/nltvals.def | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sim/common/nltvals.def b/sim/common/nltvals.def index 9139dc4..ba01962 100644 --- a/sim/common/nltvals.def +++ b/sim/common/nltvals.def @@ -418,3 +418,39 @@ /* end v850 sys target macros */ #endif #endif +#ifdef NL_TARGET_cr16 +#ifdef sys_defs + /* from syscall.h */ + /* begin cr16 sys target macros */ + { "SYS_ARG", 24 }, + { "SYS_chdir", 12 }, + { "SYS_chmod", 15 }, + { "SYS_chown", 16 }, + { "SYS_creat", 8 }, + { "SYS_execv", 11 }, + { "SYS_execve", 59 }, + /*{ "SYS_exit", 1 }, REVISIT*/ + { "SYS_fork", 2 }, + { "SYS_fstat", 22 }, + { "SYS_getpid", 20 }, + { "SYS_isatty", 21 }, + { "SYS_kill", 60 }, + { "SYS_link", 9 }, + { "SYS_mknod", 14 }, + { "SYS_pipe", 42 }, + { "SYS_open", 0x401 }, + { "SYS_close", 0x402 }, + { "SYS_read", 0x403 }, + { "SYS_write", 0x404 }, + { "SYS_lseek", 0x405 }, + { "SYS_rename", 0x406 }, + { "SYS_unlink", 0x407 }, + { "SYS_exit", 0x410 }, + { "SYS_stat", 38 }, + { "SYS_time", 0x300 }, + { "SYS_utime", 201 }, + { "SYS_wait", 202 }, + { "SYS_wait4", 7 }, +/* end cr16 sys target macros */ +#endif +#endif |