aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1998-05-27 19:34:49 +0000
committerJason Molenda <jmolenda@apple.com>1998-05-27 19:34:49 +0000
commit17a56e138eed784127f873aa930ea5018dda71a0 (patch)
treea92cba6a47bb6ea584a6d93d506f590bec90337c /gdb
parente838aeea64c86c2918479c55b7599124906cbed6 (diff)
downloadfsf-binutils-gdb-17a56e138eed784127f873aa930ea5018dda71a0.zip
fsf-binutils-gdb-17a56e138eed784127f873aa930ea5018dda71a0.tar.gz
fsf-binutils-gdb-17a56e138eed784127f873aa930ea5018dda71a0.tar.bz2
add vr4111 as a sanitization tag to get rid of vr4111 and vr4102 mentions.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/.Sanitize42
-rw-r--r--gdb/ChangeLog2
2 files changed, 43 insertions, 1 deletions
diff --git a/gdb/.Sanitize b/gdb/.Sanitize
index e53bc76..f4b5770 100644
--- a/gdb/.Sanitize
+++ b/gdb/.Sanitize
@@ -102,6 +102,20 @@ else
fi
fi
+vr4111_files="nec4102rom.c"
+
+if ( echo $* | grep keep\-vr4111 > /dev/null ) ; then
+ keep_these_too="${vr4111_files} ${keep_these_too}"
+ if [ -n "${verbose}" ] ; then
+ echo Keeping ${vr4111_files}
+ fi
+else
+ lose_these_too="${vr4111_files} ${lose_these_too}"
+ if [ -n "${verbose}" ] ; then
+ echo Deleting ${vr4111_files}
+ fi
+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
@@ -309,7 +323,6 @@ mpw-config.in
mpw-make.sed
msg.defs
msg_reply.defs
-nec4102rom.c
news-xdep.c
nindy-share
nindy-tdep.c
@@ -767,6 +780,33 @@ else
done
fi
+if ( echo $* | grep keep\-vr4111 > /dev/null ) ; then
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping vr4111 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"vr4111\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-vr4111/,/end-\sanitize\-vr4111/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\-ide > /dev/null ) ; then
for i in * ; do
if test ! -d $i && (grep sanitize-ide $i > /dev/null) ; then
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f05eb37..6dd0d81 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -247,6 +247,7 @@ Thu Apr 30 15:59:54 1998 Jason Molenda (crash@bugshack.cygnus.com)
(local-maintainer-clean, do-maintainer-clean): New rules.
Wed Apr 29 10:20:40 1998 John Metzler <jmetzler@cygnus.com>
+start-sanitize-vr4111
* nec4102rom.c: New file implements ROM monitor adapter for
nec-vr4102 board. This board hosts the vr4111 chip. This file
@@ -254,6 +255,7 @@ Wed Apr 29 10:20:40 1998 John Metzler <jmetzler@cygnus.com>
filter, new flags. This version does not support more than one
breakpoint and resuming after a breakpoint in 16 bit mode is
completely disfunctional.
+end-sanitize-vr4111
* monitor.h: Defined additional hooks for dmpregs, configure_hooks
and wait_filter. These additions require that all ROM monitor