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/ada] re-implement make clean & distclean


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


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