[RFA/testsuite/ada] re-implement make clean & distclean

Daniel Jacobowitz drow@false.org
Sun Dec 31 15:19:00 GMT 2006


On Sun, Dec 31, 2006 at 06:32:37PM +0400, Joel Brobecker wrote:
> > > 2006-12-31  Joel Brobecker  <brobecker@adacore.com>
> > > 
> > >         * gdb.ada/Makefile.in (EXECUTABLES): Delete.
> > >         (MISCELLANEOUS): Delete.
> > >         (clean): Re-implement.
> > >         (mostlyclean): Likewise.
> > > 
> > > Tested on my x86-linux laptop.  Any objection?
> > 
> > Hmm, seems a bit scary to me.  If I read this correctly, a file named
> > NOTES would be wiped isn't it?  I'm using a seperate object dir, so I
> > probably won't care, but others might...
> 
> The thing is that we very rarely add files other than the exp files
> and the source code. If we add a file called NOTES in gdb.ada, then
> we can adjust the exclusion list in the find command. Doing it the
> other way around is a lot more work.

Except that, like Mark implies, I tend to keep my notes in my working
directory.  If I'm debugging a bunch of testcases and I needed to keep
notes about what was going on, I'd be quite surprised if make clean
deleted my notes!

I don't object too strongly, though, if others like this approach.
I wouldn't put them in that directory anyway, just in gdb/testsuite/.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list