diff options
author | Martin Hunt <hunt@redhat.com> | 1996-08-27 01:51:55 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 1996-08-27 01:51:55 +0000 |
commit | 7b3fa778e2e3ff01f3c3052a4ca0c8d3c5b1b357 (patch) | |
tree | a12c75b14e2c011d8db785fa68751a0adb4293d9 /gdb/.Sanitize | |
parent | d59209cfeb23ac0b97693c5414376d96b18d8724 (diff) | |
download | gdb-7b3fa778e2e3ff01f3c3052a4ca0c8d3c5b1b357.zip gdb-7b3fa778e2e3ff01f3c3052a4ca0c8d3c5b1b357.tar.gz gdb-7b3fa778e2e3ff01f3c3052a4ca0c8d3c5b1b357.tar.bz2 |
Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/d10v/d10v.mt: New file.
* config/d10v/tm-d10v.h: New file.
* configure.in: New target D10V.
* d10v-tdep.c: New file.
Diffstat (limited to 'gdb/.Sanitize')
-rw-r--r-- | gdb/.Sanitize | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gdb/.Sanitize b/gdb/.Sanitize index bb06b39..e107271 100644 --- a/gdb/.Sanitize +++ b/gdb/.Sanitize @@ -29,6 +29,20 @@ else fi fi +d10v_files="d10v-tdep.c" + +if ( echo $* | grep keep\-d10v > /dev/null ) ; then + keep_these_too="${d10v_files} ${keep_these_too}" + if [ -n "${verbose}" ] ; then + echo Keeping ${d10v_files} + fi +else + lose_these_too="${d10v_files} ${lose_these_too}" + if [ -n "${verbose}" ] ; then + echo Deleting ${d10v_files} + fi +fi + gdbtk_files="README.GDBTK gdbtk.c gdbtk.tcl" if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then @@ -469,6 +483,35 @@ else done fi +d10v_files="configure.in configure ChangeLog" + +if ( echo $* | grep keep\-d10v > /dev/null ) ; then + for i in $d10v_files ; do + if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping d10v stuff in $i + fi + fi + done +else + for i in $d10v_files ; do + if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"d10v\" from $i... + fi + cp $i new + sed '/start\-sanitize\-d10v/,/end-\sanitize\-d10v/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\-gm > /dev/null ) ; then for i in * ; do if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then |