From 4251ff49e8079c79169f57673de630ee6c3f6731 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 24 Nov 1997 12:49:38 +0000 Subject: Add function print_decimal to handle display of long long decimal values on hosts with long-long but no "%ll". --- gdb/.Sanitize | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gdb/.Sanitize') diff --git a/gdb/.Sanitize b/gdb/.Sanitize index fe5edc0..52000d3 100644 --- a/gdb/.Sanitize +++ b/gdb/.Sanitize @@ -627,6 +627,33 @@ else done fi +if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then + for i in * ; do + if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping vr5400 stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"vr5400\" from $i... + fi + cp $i new + sed '/start\-sanitize\-vr5400/,/end-\sanitize\-vr5400/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 + if ( echo $* | grep keep\-tic80 > /dev/null ) ; then for i in * ; do if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then -- cgit v1.1