diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-09-15 08:18:20 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-09-15 08:18:20 +0000 |
commit | 658303f7d4219618030b6a5afce163c93e6034ce (patch) | |
tree | 8f69ed6bf0554fcf59936609f67d2c894613090c /sim/v850/.Sanitize | |
parent | 9c82b2b8058ac93b4d9640f5afa2d2abb40f1f20 (diff) | |
download | gdb-658303f7d4219618030b6a5afce163c93e6034ce.zip gdb-658303f7d4219618030b6a5afce163c93e6034ce.tar.gz gdb-658303f7d4219618030b6a5afce163c93e6034ce.tar.bz2 |
For v850eq start up with US bit set.
Let sim_analyze_program determine the architecture.
Fix various sanitizations.
Diffstat (limited to 'sim/v850/.Sanitize')
-rw-r--r-- | sim/v850/.Sanitize | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/sim/v850/.Sanitize b/sim/v850/.Sanitize index e3c9718..ed86b90 100644 --- a/sim/v850/.Sanitize +++ b/sim/v850/.Sanitize @@ -40,23 +40,24 @@ Things-to-lose: Do-last: +# NOTE: keep-v850eq keeps all of keep-v850e as well. v850e_files="interp.c simops.c v850_sim.h" -if ( echo $* | grep keep\-v850e > /dev/null ) ; then +if ( echo $* | grep keep\-v850eq > /dev/null ) ; then for i in $v850e_files ; do - if test -r $i && (grep sanitize-v850e $i > /dev/null) ; then + if test -r $i && (grep sanitize-v850eq $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Keeping v850e stuff in $i + echo Keeping v850eq stuff in $i fi fi done else for i in $v850e_files ; do - if test -r $i && (grep sanitize-v850e $i > /dev/null) ; then + if test -r $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... @@ -67,22 +68,22 @@ else fi done fi -if ( echo $* | grep keep\-v850eq > /dev/null ) ; then +if ( echo $* | grep keep\-v850e > /dev/null ) ; then for i in $v850e_files ; do - if test -r $i && (grep sanitize-v850eq $i > /dev/null) ; then + if test -r $i && (grep sanitize-v850e $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Keeping v850eq stuff in $i + echo Keeping v850e stuff in $i fi fi done else for i in $v850e_files ; do - if test -r $i && (grep sanitize-v850eq $i > /dev/null) ; then + if test -r $i && (grep sanitize-v850e $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Removing traces of \"v850eq\" from $i... + echo Removing traces of \"v850e\" 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... |