aboutsummaryrefslogtreecommitdiff
path: root/gdb/.Sanitize
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/.Sanitize')
-rw-r--r--gdb/.Sanitize39
1 files changed, 6 insertions, 33 deletions
diff --git a/gdb/.Sanitize b/gdb/.Sanitize
index fe3c086..0cbf4ff 100644
--- a/gdb/.Sanitize
+++ b/gdb/.Sanitize
@@ -85,17 +85,17 @@ else
fi
fi
-vr4111_files="nec4102rom.c"
+vr4xxx_files="nec4102rom.c"
-if ( echo $* | grep keep\-vr4111 > /dev/null ) ; then
- keep_these_too="${vr4111_files} ${keep_these_too}"
+if ( echo $* | grep keep\-vr4xxx > /dev/null ) ; then
+ keep_these_too="${vr4xxx_files} ${keep_these_too}"
if [ -n "${verbose}" ] ; then
- echo Keeping ${vr4111_files}
+ echo Keeping ${vr4xxx_files}
fi
else
- lose_these_too="${vr4111_files} ${lose_these_too}"
+ lose_these_too="${vr4xxx_files} ${lose_these_too}"
if [ -n "${verbose}" ] ; then
- echo Deleting ${vr4111_files}
+ echo Deleting ${vr4xxx_files}
fi
fi
@@ -740,33 +740,6 @@ 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
-
if ( echo $* | grep keep\-ide > /dev/null ) ; then
for i in * ; do
if test ! -d $i && (grep sanitize-ide $i > /dev/null) ; then