diff --git a/gdb/config/.Sanitize b/gdb/config/.Sanitize index da852d9f978..0053a0412b2 100644 --- a/gdb/config/.Sanitize +++ b/gdb/config/.Sanitize @@ -63,6 +63,20 @@ else fi fi +m32r_files="m32r" + +if ( echo $* | grep keep\-m32r > /dev/null ) ; then + keep_these_too="${m32r_files} ${keep_these_too}" + if [ -n "${verbose}" ] ; then + echo Keeping ${m32r_files} + fi +else + lose_these_too="${m32r_files} ${lose_these_too}" + if [ -n "${verbose}" ] ; then + echo Deleting ${m32r_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