aboutsummaryrefslogtreecommitdiff
path: root/gdb/.Sanitize
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1997-06-21 03:48:48 +0000
committerFred Fish <fnf@specifix.com>1997-06-21 03:48:48 +0000
commit73bb488673e071b47b349191cd38028e3ebb45b6 (patch)
tree1a9b3193b1a6eed54231b98b47af4ef2f385b5e9 /gdb/.Sanitize
parentb25b1c62b057fc5ce1080049db57aefa59aaf28c (diff)
downloadgdb-73bb488673e071b47b349191cd38028e3ebb45b6.zip
gdb-73bb488673e071b47b349191cd38028e3ebb45b6.tar.gz
gdb-73bb488673e071b47b349191cd38028e3ebb45b6.tar.bz2
Sanitize away sh4 stuff for now.
Diffstat (limited to 'gdb/.Sanitize')
-rw-r--r--gdb/.Sanitize27
1 files changed, 27 insertions, 0 deletions
diff --git a/gdb/.Sanitize b/gdb/.Sanitize
index 105475c..06d8765 100644
--- a/gdb/.Sanitize
+++ b/gdb/.Sanitize
@@ -567,6 +567,33 @@ else
done
fi
+if ( echo $* | grep keep\-sh4 > /dev/null ) ; then
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping sh4 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"sh4\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-sh4/,/end-\sanitize\-sh4/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
+
if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
for i in * ; do
if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then