diff options
author | Fred Fish <fnf@specifix.com> | 1996-12-28 05:36:52 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1996-12-28 05:36:52 +0000 |
commit | 6357e7f68e62ef85600908495de20eb2b28ccaa3 (patch) | |
tree | 658b0cb815ccc8ca124a50f8aa2cb67e10b19e0f /opcodes/.Sanitize | |
parent | 33aeaf0000756a14f19a4dc2c7eaac040b364852 (diff) | |
download | gdb-6357e7f68e62ef85600908495de20eb2b28ccaa3.zip gdb-6357e7f68e62ef85600908495de20eb2b28ccaa3.tar.gz gdb-6357e7f68e62ef85600908495de20eb2b28ccaa3.tar.bz2 |
(Laying groundwork (that will be incrementally fleshed out) for TIc80 support)
* configure.in (arch in $selarchs): Add bfd_tic80_arch entry.
* configure: Regenerate with autoconf.
* tic80-dis.c: Add file.
* tic80-opc.c: Add file.
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 f37a3de..1de8cfe 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -39,6 +39,14 @@ else lose_these_too="${v850_files} ${lose_these_too}" fi +tic80_files="tic80-opc.c tic80-dis.c" + +if ( echo $* | grep keep\-tic80 > /dev/null ) ; then + keep_these_too="${tic80_files} ${keep_these_too}" +else + lose_these_too="${tic80_files} ${lose_these_too}" +fi + # All files listed between the "Things-to-keep:" line and the # "Files-to-sed:" line will be kept. All other files will be removed. @@ -183,6 +191,34 @@ else done fi +tic80_files="ChangeLog configure.in configure" +if ( echo $* | grep keep\-tic80 > /dev/null ) ; then + for i in $tic80_files ; do + if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping tic80 stuff in $i + fi + fi + done +else + for i in $tic80_files ; do + if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"tic80\" from $i... + fi + cp $i new + sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/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 + for i in * ; do if test ! -d $i && (grep sanitize $i > /dev/null) ; then |