aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1998-01-15 18:46:32 +0000
committerGavin Romig-Koch <gavin@redhat.com>1998-01-15 18:46:32 +0000
commited70a3354d020dce5afb8fa3a87c186d261d3335 (patch)
treec0d8cf4129f6ffdcc87ac8245e5dbe05330bdf43 /gdb
parent0d0bb9140bcea4e717366c9f2a3235ed5566d1b8 (diff)
downloadgdb-ed70a3354d020dce5afb8fa3a87c186d261d3335.zip
gdb-ed70a3354d020dce5afb8fa3a87c186d261d3335.tar.gz
gdb-ed70a3354d020dce5afb8fa3a87c186d261d3335.tar.bz2
Initial vr4111 Sanitization marks.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/.Sanitize27
1 files changed, 27 insertions, 0 deletions
diff --git a/gdb/.Sanitize b/gdb/.Sanitize
index 26b9b5e..165a594 100644
--- a/gdb/.Sanitize
+++ b/gdb/.Sanitize
@@ -713,6 +713,33 @@ else
done
fi
+if ( echo $* | grep keep\-vr4111 > /dev/null ) ; then
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping vr4111 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"vr4111\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-vr4111/,/end-\sanitize\-vr4111/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
+
for i in * ; do
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
echo '***' Some mentions of Sanitize are still left in $i! 1>&2