From: Jeff Law Date: Fri, 2 Dec 1994 06:42:40 +0000 (+0000) Subject: Remove last remnants of hpread sanitization. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9c99bc0ee4e942d9a9f54215ac04812902e7bb0;p=binutils-gdb.git Remove last remnants of hpread sanitization. --- diff --git a/gdb/.Sanitize b/gdb/.Sanitize index 31afb47080f..f0556e2c487 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 27ae60a3202..abf6a7138e7 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.