diff options
author | Doug Evans <dje@google.com> | 1998-01-13 01:37:20 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-01-13 01:37:20 +0000 |
commit | bfc10abe47d82b1c6d10070a69b5e6fc11f0d311 (patch) | |
tree | 3c00bb850781e23e6a169fe63e7be74d1fec4eec /opcodes/.Sanitize | |
parent | c062b1036fc459e1b4fe66c61ef3c916756706c9 (diff) | |
download | gdb-bfc10abe47d82b1c6d10070a69b5e6fc11f0d311.zip gdb-bfc10abe47d82b1c6d10070a69b5e6fc11f0d311.tar.gz gdb-bfc10abe47d82b1c6d10070a69b5e6fc11f0d311.tar.bz2 |
* Makefile.am: Add cgen support.
* Makefile.in: Regenerate.
* configure.in: Add cgen support.
* configure: Regenerate.
* aclocal.m4: Regenerate.
* cgen.sh, cgen-asm.in, cgen-dis.in: New files.
Diffstat (limited to 'opcodes/.Sanitize')
-rw-r--r-- | opcodes/.Sanitize | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index 39ebf43..ab5a94d 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -15,6 +15,14 @@ Do-first: +cygnus_files="cgen.sh cgen-asm.in cgen-dis.in" + +if ( echo $* | grep keep\-cygnus > /dev/null ) ; then + keep_these_too="${cygnus_files} ${keep_these_too}" +else + lose_these_too="${cygnus_files} ${lose_these_too}" +fi + d30v_files="d30v-dis.c d30v-opc.c" if ( echo $* | grep keep\-d30v > /dev/null ) ; then @@ -60,8 +68,11 @@ arc-opc.c arm-dis.c arm-opc.h a29k-dis.c +cgen.sh cgen-asm.c +cgen-asm.in cgen-dis.c +cgen-dis.in cgen-opc.c config.in configure @@ -116,6 +127,34 @@ Things-to-lose: Do-last: +cygnus_files="ChangeLog Makefile.am Makefile.in configure.in configure" +if ( echo $* | grep keep\-cygnus > /dev/null ) ; then + for i in $cygnus_files ; do + if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping cygnus stuff in $i + fi + fi + done +else + for i in $cygnus_files ; do + if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"cygnus\" from $i... + fi + cp $i new + sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/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 + d30v_files="ChangeLog Makefile.in Makefile.am configure.in configure disassemble.c" if ( echo $* | grep keep\-d30v > /dev/null ) ; then for i in $d30v_files ; do |