diff options
author | Martin Hunt <hunt@redhat.com> | 1997-02-19 01:53:26 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 1997-02-19 01:53:26 +0000 |
commit | b2e3f8442ac20d4c63e2a474117e761be1fd93fa (patch) | |
tree | 73ec1896a47c872412aa6ff5d1eb06edcabb39fc /opcodes/.Sanitize | |
parent | 3acdeb5eeeb47616003ae2925e1c1e0a3a34075f (diff) | |
download | gdb-b2e3f8442ac20d4c63e2a474117e761be1fd93fa.zip gdb-b2e3f8442ac20d4c63e2a474117e761be1fd93fa.tar.gz gdb-b2e3f8442ac20d4c63e2a474117e761be1fd93fa.tar.bz2 |
Tue Feb 18 17:43:43 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* Makefile.in: Added d30v object files.
* configure: (bfd_d30v_arch) Rebuilt.
* configure.in: (bfd_d30v_arch) Added new case.
* d30v-dis.c: New file.
* d30v-opc.c: New file.
* disassemble.c (disassembler) Add entry for d30v.
Diffstat (limited to 'opcodes/.Sanitize')
-rw-r--r-- | opcodes/.Sanitize | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index 536f457..4858844 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -31,6 +31,14 @@ else lose_these_too="${d10v_files} ${lose_these_too}" fi +d30v_files="d30v-dis.c d30v-opc.c" + +if ( echo $* | grep keep\-d30v > /dev/null ) ; then + keep_these_too="${d30v_files} ${keep_these_too}" +else + lose_these_too="${d30v_files} ${lose_these_too}" +fi + v850_files="v850-opc.c v850-dis.c" if ( echo $* | grep keep\-v850 > /dev/null ) ; then @@ -163,6 +171,34 @@ else done fi +d30v_files="ChangeLog Makefile.in configure.in configure disassemble.c" +if ( echo $* | grep keep\-d30v > /dev/null ) ; then + for i in $d30v_files ; do + if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping d30v stuff in $i + fi + fi + done +else + for i in $d30v_files ; do + if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"d30v\" from $i... + fi + cp $i new + sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/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 + v850_files="ChangeLog Makefile.in configure.in configure disassemble.c" if ( echo $* | grep keep\-v850 > /dev/null ) ; then for i in $v850_files ; do |