aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-11-18 22:41:50 +0000
committerDoug Evans <dje@google.com>1998-11-18 22:41:50 +0000
commit2c0544385137eab5018730fbaa1e584cf1093ef8 (patch)
treeaf51848474257e62ba53290cca48bf9f76ed828a
parentcdb89f92cb6687f9c9f72d478579276875ec22b1 (diff)
downloadgdb-2c0544385137eab5018730fbaa1e584cf1093ef8.zip
gdb-2c0544385137eab5018730fbaa1e584cf1093ef8.tar.gz
gdb-2c0544385137eab5018730fbaa1e584cf1093ef8.tar.bz2
* gennltvals.sh: Add fr30 support.
* nltvals.def: Rebuild.
-rw-r--r--sim/common/ChangeLog5
-rw-r--r--sim/common/gennltvals.sh12
-rw-r--r--sim/common/nltvals.def50
3 files changed, 61 insertions, 6 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 89a1d3d..7ccfd55 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,8 @@
+1998-11-18 Doug Evans <devans@casey.cygnus.com>
+
+ * gennltvals.sh: Add fr30 support.
+ * nltvals.def: Rebuild.
+
Wed Nov 18 10:22:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
* sim-types.h: Re-do type system so that GCC's attribute and mode
diff --git a/sim/common/gennltvals.sh b/sim/common/gennltvals.sh
index d5b5d33..39f7c43 100644
--- a/sim/common/gennltvals.sh
+++ b/sim/common/gennltvals.sh
@@ -29,13 +29,13 @@ $shell ${srccom}/gentvals.sh "" open ${srcroot}/newlib/libc/include \
# Note that there is a standard syscall.h file (libgloss/syscall.h) now which
# hopefully more targets can use.
-# start-sanitize-d30v
dir=libgloss target=d30v
-echo "/* start-sanitize-${target} */"
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
"syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}"
-echo "/* end-sanitize-${target} */"
-# end-sanitize-d30v
+
+dir=libgloss target=fr30
+$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
+ "syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}"
dir=libgloss target=m32r
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
@@ -48,3 +48,7 @@ $shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
dir=libgloss target=mn10300
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
"syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}"
+
+dir=libgloss target=mn10200
+$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
+ "syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}"
diff --git a/sim/common/nltvals.def b/sim/common/nltvals.def
index ca438c2..e05d3a7 100644
--- a/sim/common/nltvals.def
+++ b/sim/common/nltvals.def
@@ -180,7 +180,6 @@
{ "O_WRONLY", 1 },
/* end open target macros */
#endif
-/* start-sanitize-d30v */
#ifdef NL_TARGET_d30v
#ifdef sys_defs
/* from syscall.h */
@@ -205,7 +204,30 @@
/* end d30v sys target macros */
#endif
#endif
-/* end-sanitize-d30v */
+#ifdef NL_TARGET_fr30
+#ifdef sys_defs
+/* from syscall.h */
+/* begin fr30 sys target macros */
+ { "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_kill", 9 },
+ { "SYS_lseek", 6 },
+ { "SYS_open", 2 },
+ { "SYS_read", 4 },
+ { "SYS_stat", 15 },
+ { "SYS_time", 18 },
+ { "SYS_unlink", 7 },
+ { "SYS_utime", 17 },
+ { "SYS_write", 5 },
+/* end fr30 sys target macros */
+#endif
+#endif
#ifdef NL_TARGET_m32r
#ifdef sys_defs
/* from syscall.h */
@@ -278,3 +300,27 @@
/* end mn10300 sys target macros */
#endif
#endif
+#ifdef NL_TARGET_mn10200
+#ifdef sys_defs
+/* from syscall.h */
+/* begin mn10200 sys target macros */
+ { "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_kill", 9 },
+ { "SYS_lseek", 6 },
+ { "SYS_open", 2 },
+ { "SYS_read", 4 },
+ { "SYS_stat", 15 },
+ { "SYS_time", 18 },
+ { "SYS_unlink", 7 },
+ { "SYS_utime", 17 },
+ { "SYS_write", 5 },
+/* end mn10200 sys target macros */
+#endif
+#endif