aboutsummaryrefslogtreecommitdiff
path: root/opcodes/.Sanitize
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1997-08-18 18:12:54 +0000
committerNick Clifton <nickc@redhat.com>1997-08-18 18:12:54 +0000
commitab11a82c2dc79b3572024b78bcef08980ca0c8c5 (patch)
treeb04e70c7a95e896ae1959db4f0c94b37e6e9bca9 /opcodes/.Sanitize
parent27161f9e55c4ed204699090e1be660f2fee63714 (diff)
downloadgdb-ab11a82c2dc79b3572024b78bcef08980ca0c8c5.zip
gdb-ab11a82c2dc79b3572024b78bcef08980ca0c8c5.tar.gz
gdb-ab11a82c2dc79b3572024b78bcef08980ca0c8c5.tar.bz2
Add support for v850e and v850eq targets.
Diffstat (limited to 'opcodes/.Sanitize')
-rw-r--r--opcodes/.Sanitize28
1 files changed, 16 insertions, 12 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize
index ff90ec6..cb09a29 100644
--- a/opcodes/.Sanitize
+++ b/opcodes/.Sanitize
@@ -209,21 +209,22 @@ fi
v850e_files="ChangeLog Makefile.in Makefile.am configure.in configure disassemble.c v850-opc.c v850-dis.c"
if ( echo $* | grep keep\-v850e > /dev/null ) ; then
+ if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
for i in $v850e_files ; do
if test -f $i && (grep sanitize-v850e $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Keeping v850e stuff in $i
+ echo Keeping v850e/v850eq stuff in $i
fi
fi
done
-else
+ else
for i in $v850e_files ; do
- if test -f $i && (grep sanitize-v850e $i > /dev/null) ; then
+ if test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"v850e\" from $i...
+ echo Removing traces of \"v850eq\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-v850e/,/end\-sanitize\-v850e/d' < $i > new
+ sed '/start\-sanitize\-v850eq/,/end\-sanitize\-v850eq/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...
@@ -233,23 +234,24 @@ else
mv new $i
fi
done
-fi
-if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
+ fi
+else
+ if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
for i in $v850e_files ; do
if test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Keeping v850eq stuff in $i
+ echo Keeping v850e/v850eq stuff in $i
fi
fi
done
-else
+ else
for i in $v850e_files ; do
- if test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then
+ if test -f $i && (grep sanitize-v850e $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"v850eq\" from $i...
+ echo Removing traces of \"v850e/v850eq\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-v850eq/,/end\-sanitize\-v850eq/d' < $i > new
+ sed '/start\-sanitize\-v850e/,/end\-sanitize\-v850e/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...
@@ -259,8 +261,10 @@ else
mv new $i
fi
done
+ fi
fi
+
r5900_files="ChangeLog mips-opc.c"
if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
for i in $r5900_files ; do