aboutsummaryrefslogtreecommitdiff
path: root/opcodes/.Sanitize
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-02-04 01:05:07 +0000
committerDoug Evans <dje@google.com>1998-02-04 01:05:07 +0000
commit0a7fed0d5885b796f9229d7698d3dd73b9dd23ed (patch)
treee2235fffeef8703fb29f07678d408285150556f0 /opcodes/.Sanitize
parent249da9169489478e9e645f50bc0527fe57e50ed6 (diff)
downloadgdb-0a7fed0d5885b796f9229d7698d3dd73b9dd23ed.zip
gdb-0a7fed0d5885b796f9229d7698d3dd73b9dd23ed.tar.gz
gdb-0a7fed0d5885b796f9229d7698d3dd73b9dd23ed.tar.bz2
add sanitization of m32rx PIPE attribute, redact can do this more cleanly
Diffstat (limited to 'opcodes/.Sanitize')
-rw-r--r--opcodes/.Sanitize4
1 files changed, 3 insertions, 1 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize
index f705c43..b53c650 100644
--- a/opcodes/.Sanitize
+++ b/opcodes/.Sanitize
@@ -454,7 +454,9 @@ else
echo Removing traces of \"m32rx\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-m32rx/,/end\-sanitize\-m32rx/d' < $i > new
+ # The PIPE sanitization will be much cleaner with redact.
+ sed -e '/start\-sanitize\-m32rx/,/end\-sanitize\-m32rx/d' \
+ -e 's/, PIPE_[A-Z]*//g' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...