aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/.Sanitize
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-10-27 07:55:24 +0000
committerAndrew Cagney <cagney@redhat.com>1997-10-27 07:55:24 +0000
commit16bd5d6e527b13eee522e9c2afa8a24c37f53fc5 (patch)
treea6e82ccf5cdd5d3930498dab64b3b3f7f27873a3 /sim/mips/.Sanitize
parent90ad43b2deb869abb5621d94be990f0cb07379bd (diff)
downloadgdb-16bd5d6e527b13eee522e9c2afa8a24c37f53fc5.zip
gdb-16bd5d6e527b13eee522e9c2afa8a24c37f53fc5.tar.gz
gdb-16bd5d6e527b13eee522e9c2afa8a24c37f53fc5.tar.bz2
Separate r5900 specifoc and mips16 instructions.
Add support for this to configure (vr5400 target only)
Diffstat (limited to 'sim/mips/.Sanitize')
-rw-r--r--sim/mips/.Sanitize21
1 files changed, 18 insertions, 3 deletions
diff --git a/sim/mips/.Sanitize b/sim/mips/.Sanitize
index f56d3bb..fce872a 100644
--- a/sim/mips/.Sanitize
+++ b/sim/mips/.Sanitize
@@ -17,6 +17,20 @@
Do-first:
+r5900_files="r5900.igen"
+if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
+ keep_these_too="${r5900_files} ${keep_these_too}"
+else
+ lose_these_too="${r5900_files} ${lose_these_too}"
+fi
+
+vr5400_files="vr5400.igen"
+if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then
+ keep_these_too="${vr5400_files} ${keep_these_too}"
+else
+ lose_these_too="${vr5400_files} ${lose_these_too}"
+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
@@ -37,6 +51,7 @@ sim-main.h
support.h
tconfig.in
mips.igen
+m16.igen
mips.dc
Things-to-lose:
@@ -44,7 +59,7 @@ Things-to-lose:
Do-last:
-r5900_files="ChangeLog configure configure.in interp.c gencode.c mips.igen mips.dc"
+r5900_files="ChangeLog configure configure.in interp.c gencode.c mips.igen mips.dc m16.igen r5900.igen"
if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
for i in $r5900_files ; do
@@ -74,7 +89,7 @@ else
fi
-tx19_files="ChangeLog configure configure.in interp.c gencode.c mips.igen mips.dc"
+tx19_files="ChangeLog configure configure.in interp.c gencode.c mips.igen mips.dc m16.igen"
if ( echo $* | grep keep\-tx19 > /dev/null ) ; then
for i in $tx19_files ; do
@@ -104,7 +119,7 @@ else
fi
-vr5400_files="ChangeLog configure configure.in interp.c gencode.c mips.igen mips.dc"
+vr5400_files="ChangeLog configure configure.in interp.c gencode.c mips.igen mips.dc m16.igen vr5400.igen"
if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then
for i in $vr5400_files ; do