mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
add sanitization of m32rx PIPE attribute, redact can do this more cleanly
This commit is contained in:
@ -454,7 +454,9 @@ else
|
|||||||
echo Removing traces of \"m32rx\" from $i...
|
echo Removing traces of \"m32rx\" from $i...
|
||||||
fi
|
fi
|
||||||
cp $i new
|
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 "${safe}" -a ! -f .Recover/$i ] ; then
|
||||||
if [ -n "${verbose}" ] ; then
|
if [ -n "${verbose}" ] ; then
|
||||||
echo Caching $i in .Recover...
|
echo Caching $i in .Recover...
|
||||||
|
Reference in New Issue
Block a user