diff options
author | Ken Raeburn <raeburn@cygnus> | 1994-06-17 00:51:16 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1994-06-17 00:51:16 +0000 |
commit | 04b42ec7e874a89aa668212d51d45e0ed15c0758 (patch) | |
tree | e69fe45c396b682e53c780b4006a6ab99c318772 | |
parent | dae00c8a7802934ee78b7ac1d04902b65dc5654e (diff) | |
download | gdb-04b42ec7e874a89aa668212d51d45e0ed15c0758.zip gdb-04b42ec7e874a89aa668212d51d45e0ed15c0758.tar.gz gdb-04b42ec7e874a89aa668212d51d45e0ed15c0758.tar.bz2 |
unsanitize v9
-rw-r--r-- | .Sanitize | 30 | ||||
-rwxr-xr-x | config.sub | 6 | ||||
-rw-r--r-- | include/elf/.Sanitize | 30 |
3 files changed, 0 insertions, 66 deletions
@@ -135,36 +135,6 @@ fi mv new Makefile.in if [ -n "${verbose}" ] ; then - echo Looking for signs of \"v9\"... -fi - -# Don't try to clean directories here, as the 'mv' command will fail. -# Also, grep fails on NFS mounted directories. -if ( echo $* | grep keep\-v9 > /dev/null ) ; then - for i in * ; do - if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping v9 stuff in $i - fi - fi - done -else - for i in * ; do - if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Cleaning the \"v9\" out of $i... - fi - cp $i new - sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new - if [ -n "${safe}" -a ! -f .Recover/$i ] ; then - mv $i .Recover - fi - mv new $i - fi - done -fi - -if [ -n "${verbose}" ] ; then echo Thawing away the \"chill\"... fi @@ -163,14 +163,12 @@ case $basic_machine in ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. -# start-sanitize-v9 sparc64) # CYGNUS LOCAL basic_machine=sparc64-sun os=-elf ;; sparc64-*) # CYGNUS LOCAL ;; -# end-sanitize-v9 mips3-*) # CYGNUS LOCAL basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` @@ -905,10 +903,6 @@ fi # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in - sparc-sun) - # Strip off Sun's patch-release suffix - os=`echo $os | sed 's/_U1$//'` - ;; *-unknown) case $os in -riscix*) diff --git a/include/elf/.Sanitize b/include/elf/.Sanitize index 725b6b8..9731faa 100644 --- a/include/elf/.Sanitize +++ b/include/elf/.Sanitize @@ -35,36 +35,6 @@ mips.h Things-to-lose: - Do-last: -v9dirty="common.h" - -if ( echo $* | egrep verbose > /dev/null ) ; then - verbose=true -else - verbose= -fi - -if ( echo $* | grep keep\-v9 > /dev/null ) ; then - if [ -n "${verbose}" ] ; then - echo Keeping v9 in ${v9dirty} - fi -else - for i in ${v9dirty} ; do - if [ -n "${verbose}" ] ; then - echo Sanitizing v9 in $i - fi - rm -f new - grep -v v9 $i > new - if [ -n "${safe}" ] ; then - mv $i .Recover - else - rm $i - fi - mv new $i - done -fi - - # End of file. |