aboutsummaryrefslogtreecommitdiff
path: root/gdb/.Sanitize
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>1997-06-03 23:28:54 +0000
committerMichael Snyder <msnyder@vmware.com>1997-06-03 23:28:54 +0000
commit3d400c0939c790bb605dcf0733bffc5322ba7677 (patch)
tree24fdf66cb272dddad3fd6b891df1c323f4a900cc /gdb/.Sanitize
parentf8a2144336ac5017ded4c1580e8f482e60232b66 (diff)
downloadgdb-3d400c0939c790bb605dcf0733bffc5322ba7677.zip
gdb-3d400c0939c790bb605dcf0733bffc5322ba7677.tar.gz
gdb-3d400c0939c790bb605dcf0733bffc5322ba7677.tar.bz2
* configure.tgt: add mipsr3900-elf target
* config/mips/r3900*.mt config/mips/tm-r3900*.h: ditto
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 2684685..273a63c 100644
--- a/gdb/.Sanitize
+++ b/gdb/.Sanitize
@@ -594,6 +594,33 @@ else
done
fi
+if ( echo $* | grep keep\-r3900 > /dev/null ) ; then
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-r3900 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping r3900 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-r3900 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"r3900\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-r3900/,/end-\sanitize\-r3900/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\-tic80 > /dev/null ) ; then
for i in * ; do
if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then