aboutsummaryrefslogtreecommitdiff
path: root/gdb/.Sanitize
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-11-24 12:49:38 +0000
committerAndrew Cagney <cagney@redhat.com>1997-11-24 12:49:38 +0000
commit4251ff49e8079c79169f57673de630ee6c3f6731 (patch)
tree728e5317ef1148e294e0fc37e7d64b25f6f18f20 /gdb/.Sanitize
parentf7b8c9ce46cd96bb86beddc9e33663a556702c61 (diff)
downloadgdb-4251ff49e8079c79169f57673de630ee6c3f6731.zip
gdb-4251ff49e8079c79169f57673de630ee6c3f6731.tar.gz
gdb-4251ff49e8079c79169f57673de630ee6c3f6731.tar.bz2
Add function print_decimal to handle display of long long decimal
values on hosts with long-long but no "%ll".
Diffstat (limited to 'gdb/.Sanitize')
-rw-r--r--gdb/.Sanitize27
1 files changed, 27 insertions, 0 deletions
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