From: David Edelsohn Date: Wed, 12 Apr 1995 15:45:15 +0000 (+0000) Subject: Support keep-arc flag. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4c5309e4a7b09b56de8594945375f10adb39bf8;p=binutils-gdb.git Support keep-arc flag. --- diff --git a/gdb/.Sanitize b/gdb/.Sanitize index 75d6df64f36..f7af5c1c8c6 100644 --- a/gdb/.Sanitize +++ b/gdb/.Sanitize @@ -15,6 +15,20 @@ Do-first: +arc_files="arc-tdep.c remote-arc.c" + +if ( echo $* | grep keep\-arc > /dev/null ) ; then + keep_these_too="${arc_files} ${keep_these_too}" + if [ -n "${verbose}" ] ; then + echo Keeping ${arc_files} + fi +else + lose_these_too="${arc_files} ${lose_these_too}" + if [ -n "${verbose}" ] ; then + echo Deleting ${arc_files} + fi +fi + # mswin gdb is not really gdbtk, but is close enough for now. gdbtk_files="gdbtk.c gdbtk.tcl mswin" @@ -338,8 +352,6 @@ remote-sa.sparc.c ser-go32-para.c state.c state.h -arc-tdep.c -remote-arc.c Do-last: