diff options
-rw-r--r-- | gdb/config/.Sanitize | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/config/.Sanitize b/gdb/config/.Sanitize index 4ef3101..cbeadd0 100644 --- a/gdb/config/.Sanitize +++ b/gdb/config/.Sanitize @@ -35,6 +35,20 @@ else fi fi +d10v_files="tm-magic.h" + +if ( echo $* | grep keep\-d10v > /dev/null ) ; then + keep_these_too="${d10v_files} ${keep_these_too}" + if [ -n "${verbose}" ] ; then + echo Keeping ${d10v_files} + fi +else + lose_these_too="${d10v_files} ${lose_these_too}" + if [ -n "${verbose}" ] ; then + echo Deleting ${d10v_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 |