aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1997-11-28 19:18:01 +0000
committerDoug Evans <dje@google.com>1997-11-28 19:18:01 +0000
commit1294727e84302ebf0ad09137ac872e20924e0dcb (patch)
tree5d4fbf80fdeed1467b7de8465d5f536886ad30a9 /sim
parent8d21d88c08f948f9f805afb7e6ca0c4259bedebe (diff)
downloadgdb-1294727e84302ebf0ad09137ac872e20924e0dcb.zip
gdb-1294727e84302ebf0ad09137ac872e20924e0dcb.tar.gz
gdb-1294727e84302ebf0ad09137ac872e20924e0dcb.tar.bz2
* gennltvals.sh: Redo syscall support to allow sanitization.
* nltvals.def: Regenerated. And add d30v sanitization.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/.Sanitize28
-rw-r--r--sim/common/ChangeLog9
2 files changed, 36 insertions, 1 deletions
diff --git a/sim/common/.Sanitize b/sim/common/.Sanitize
index daea730..3490715 100644
--- a/sim/common/.Sanitize
+++ b/sim/common/.Sanitize
@@ -112,4 +112,32 @@ Things-to-lose:
Do-last:
+d30v_files="ChangeLog gennltvals.sh nltvals.def"
+if ( echo $* | grep keep\-d30v > /dev/null ) ; then
+ for i in $d30v_files ; do
+ if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping d30v stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $d30v_files ; do
+ if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"d30v\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/d' < $i > new
+ if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+ if [ -n "${verbose}" ] ; then
+ echo Caching $i in .Recover...
+ fi
+ mv $i .Recover
+ fi
+ mv new $i
+ fi
+ done
+fi
+
# End of file.
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index ebb0652..5a508a0 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,8 @@
+Fri Nov 28 11:15:05 1997 Doug Evans <devans@canuck.cygnus.com>
+
+ * gennltvals.sh: Redo syscall support to allow sanitization.
+ * nltvals.def: Regenerated.
+
Wed Nov 26 16:49:38 1997 Michael Meissner <meissner@cygnus.com>
* syscall.c (cb_syscall): If writing to stdout or stderr, flush
@@ -22,8 +27,10 @@ Tue Nov 25 20:12:46 1997 Michael Meissner <meissner@cygnus.com>
Tue Nov 25 00:12:38 1997 Doug Evans <devans@seba.cygnus.com>
+start-sanitize-d30v
* gennltvals.sh: Generate syscall values for d30v.
- Use libgloss/syscall.h for sparc.
+end-sanitize-d30v
+ * gennltvals.sh: Use libgloss/syscall.h for sparc.
* nltvals.def: Regenerate.
* callback.c (os_stat): Make 3rd arg a host struct stat ptr.