diff options
author | Doug Evans <dje@google.com> | 1999-02-05 00:01:20 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1999-02-05 00:01:20 +0000 |
commit | b8f10877cfe34a95c7adcf4d0e12e3a1a44eb6b8 (patch) | |
tree | c818da31ea986e7c6153ab1aa26d57f11ed297d1 /opcodes/.Sanitize | |
parent | 870b15c5dd2f8960a7e5e9593a63983e111d3798 (diff) | |
download | gdb-b8f10877cfe34a95c7adcf4d0e12e3a1a44eb6b8.zip gdb-b8f10877cfe34a95c7adcf4d0e12e3a1a44eb6b8.tar.gz gdb-b8f10877cfe34a95c7adcf4d0e12e3a1a44eb6b8.tar.bz2 |
s/sanitize-m32rx/sanitize-cygnus/
Diffstat (limited to 'opcodes/.Sanitize')
-rw-r--r-- | opcodes/.Sanitize | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index 86ed309..21372ab 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -427,24 +427,28 @@ else done fi -m32rx_files="ChangeLog m32r-opc.c m32r-opc.h m32r-dis.c m32r-asm.c" -if ( echo $* | grep keep\-m32rx > /dev/null ) ; then - for i in $m32rx_files ; do - if test -f $i && (grep sanitize-m32rx $i > /dev/null) ; then +# N.B. m32rx files are now sanitized with keep-cygnus. +# After 99r1, the sanitization will be removed. +# N.B. there is special sanitization going on here to remove PIPE_[A-Z]*. + +cygnus_files="ChangeLog m32r-opc.c m32r-opc.h m32r-dis.c m32r-asm.c" +if ( echo $* | grep keep\-cygnus > /dev/null ) ; then + for i in $cygnus_files ; do + if test -f $i && (grep sanitize-cygnus $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Keeping m32rx stuff in $i + echo Keeping cygnus stuff in $i fi fi done else - for i in $m32rx_files ; do - if test -f $i && (grep sanitize-m32rx $i > /dev/null) ; then + for i in $cygnus_files ; do + if test -f $i && (grep sanitize-cygnus $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Removing traces of \"m32rx\" from $i... + echo Removing traces of \"cygnus\" from $i... fi cp $i new # The PIPE sanitization will be much cleaner with redact. - sed -e '/start\-sanitize\-m32rx/,/end\-sanitize\-m32rx/d' \ + sed -e '/start\-sanitize\-cygnus/,/end\-sanitize\-cygnus/d' \ -e 's/, PIPE_[A-Z]*//g' < $i > new if [ -n "${safe}" -a ! -f .Recover/$i ] ; then if [ -n "${verbose}" ] ; then |