From: Mark Alexander Date: Wed, 17 Sep 1997 20:59:27 +0000 (+0000) Subject: Fix tx19 sanitization. X-Git-Tag: gdb-4_18-branchpoint~4707 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a3b391bbe2bd64de9818e9cd1d7a3a967d2ed81;p=thirdparty%2Fbinutils-gdb.git Fix tx19 sanitization. --- diff --git a/gdb/config/mips/.Sanitize b/gdb/config/mips/.Sanitize index d97f557380d..c4e1e8d7bf4 100644 --- a/gdb/config/mips/.Sanitize +++ b/gdb/config/mips/.Sanitize @@ -15,6 +15,20 @@ Do-first: +tx19_files="tm-tx19.h tm-tx19l.h tx19.mt tx19l.mt" + +if ( echo $* | grep keep\-tx19 > /dev/null ) ; then + keep_these_too="${tx19_files} ${keep_these_too}" + if [ -n "${verbose}" ] ; then + echo Keeping ${tx19_files} + fi +else + lose_these_too="${tx19_files} ${lose_these_too}" + if [ -n "${verbose}" ] ; then + echo Deleting ${tx19_files} + fi +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. # Directories listed in this section will have their own Sanitize @@ -91,10 +105,6 @@ r3900.mt r3900l.mt tm-r3900.h tm-r3900l.h -tm-tx19.h -tm-tx19l.h -tx19.mt -tx19l.mt Do-last: