diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-05-26 18:20:13 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-05-26 18:20:13 +0000 |
commit | 3ddcae71bb5390c67dcd033fdd0267b9f7aa38ad (patch) | |
tree | e1ada560e4d1adcc5dcf03d21c221917bb7028bf /sim/common | |
parent | 3223143295b5bb65ac7179ff1915b4546213dbd0 (diff) | |
download | gdb-3ddcae71bb5390c67dcd033fdd0267b9f7aa38ad.zip gdb-3ddcae71bb5390c67dcd033fdd0267b9f7aa38ad.tar.gz gdb-3ddcae71bb5390c67dcd033fdd0267b9f7aa38ad.tar.bz2 |
sim: common: add back Blackfin syscalls
A semi-recent change which regenerated nltvals.def somehow missed all of
the Blackfin syscalls. So regenerate against the latest tree to get them
back.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/common')
-rw-r--r-- | sim/common/ChangeLog | 4 | ||||
-rw-r--r-- | sim/common/nltvals.def | 31 |
2 files changed, 35 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 5cb1359..b6805db 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,7 @@ +2011-05-26 Mike Frysinger <vapier@gentoo.org> + + * nltvals.def: Regenerate to include Blackfin syscalls again. + 2011-05-25 Mike Frysinger <vapier@gentoo.org> * sim-trace.c (OPTION_TRACE_SYSCALL): New enum. diff --git a/sim/common/nltvals.def b/sim/common/nltvals.def index 07c76a1..bc858b8 100644 --- a/sim/common/nltvals.def +++ b/sim/common/nltvals.def @@ -149,6 +149,37 @@ { "O_WRONLY", 1 }, /* end open target macros */ #endif +#ifdef NL_TARGET_bfin +#ifdef sys_defs +/* from syscall.h */ +/* begin bfin 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 }, +/* end bfin sys target macros */ +#endif +#endif #ifdef NL_TARGET_d10v #ifdef sys_defs /* from syscall.h */ |