diff options
-rw-r--r-- | gdb/.Sanitize | 26 | ||||
-rw-r--r-- | gdb/config/pa/.Sanitize | 25 |
2 files changed, 0 insertions, 51 deletions
diff --git a/gdb/.Sanitize b/gdb/.Sanitize index 31afb47..f0556e2 100644 --- a/gdb/.Sanitize +++ b/gdb/.Sanitize @@ -365,32 +365,6 @@ else done fi -echo Removing traces of \"hpread\"... - -# Don't try to clean directories here, as the 'mv' command will fail. -# Also, grep fails on NFS mounted directories. -if ( echo $* | grep keep\-hpread > /dev/null ) ; then - for i in * ; do - if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then - echo Keeping hpread stuff in $i - fi - done -else - for i in * ; do - if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then - echo Removing traces of \"hpread\" out of $i... - cp $i new - sed '/start\-sanitize\-hpread/,/end-\sanitize\-hpread/d' < $i > new - if [ -n "${safe}" -a ! -f .Recover/$i ] ; then - echo Caching $i in .Recover... - mv $i .Recover - fi - mv new $i - fi - done -fi - - r16_files = "configure.in" if ( echo $* | grep keep\-r16 > /dev/null ) ; then diff --git a/gdb/config/pa/.Sanitize b/gdb/config/pa/.Sanitize index 27ae60a..abf6a71 100644 --- a/gdb/config/pa/.Sanitize +++ b/gdb/config/pa/.Sanitize @@ -42,29 +42,4 @@ Things-to-lose: Do-last: -echo Removing traces of \"hpread\"... - -# Don't try to clean directories here, as the 'mv' command will fail. -# Also, grep fails on NFS mounted directories. -if ( echo $* | grep keep\-hpread > /dev/null ) ; then - for i in * ; do - if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then - echo Keeping hpread stuff in $i - fi - done -else - for i in * ; do - if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then - echo Removing traces of \"hpread\" out of $i... - cp $i new - sed '/start\-sanitize\-hpread/,/end-\sanitize\-hpread/d' < $i > new - if [ -n "${safe}" -a ! -f .Recover/$i ] ; then - echo Caching $i in .Recover... - mv $i .Recover - fi - mv new $i - fi - done -fi - # End of file. |