This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/testsuite] Remove all remaining gdb_suppress_entire_file


On Thu, Jul 20, 2006 at 05:26:19PM -0700, Joel Brobecker wrote:
> Hello,
> 
> As discussed in the following message:
> 
>   http://www.sourceware.org/ml/gdb-patches/2006-06/msg00347.html
> 
> The attached patch removes all remaining instances of
> gdb_suppress_entire_file, and replaces them with a call to untested
> followed by a return.
> 
> The changes were done automatically using the following zsh command:
> 
> % for i in **/*.exp
> perl -pi -e "s#^(\\s*)gdb_suppress_entire_file .*\$#\$1untested `basename $i`\n\$1return -1#" $i

Hooray!

I'll let this sit for a little while in case anyone else has comments. 
After that I think that you should go ahead.  There are a few places
where this isn't perfect (where the compile is inside a function, for
instance), but it's still strictly better than what was there.  And I
do hate gdb_suppress_entire_file.


-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]