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