diff options
author | Gavin Romig-Koch <gavin@redhat.com> | 1999-02-04 21:01:09 +0000 |
---|---|---|
committer | Gavin Romig-Koch <gavin@redhat.com> | 1999-02-04 21:01:09 +0000 |
commit | 1d9b80fd7c1bf03a346b8b7320006ac799a862f6 (patch) | |
tree | a76db2ca3dd1ff2412404f1933845b661f4c5659 /gdb/.Sanitize | |
parent | e699d92ff72ccd656da29d2f2d11a906ffe6bae2 (diff) | |
download | gdb-1d9b80fd7c1bf03a346b8b7320006ac799a862f6.zip gdb-1d9b80fd7c1bf03a346b8b7320006ac799a862f6.tar.gz gdb-1d9b80fd7c1bf03a346b8b7320006ac799a862f6.tar.bz2 |
improve sanitation
Diffstat (limited to 'gdb/.Sanitize')
-rw-r--r-- | gdb/.Sanitize | 39 |
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 |