This is the mail archive of the gdb-patches@sources.redhat.com 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] rename m-static1.cc to m-stat1.cc


On Fri, 20 Sep 2002 11:51:44 -0400, Daniel Jacobowitz <drow@mvista.com> said:
> On Fri, Sep 20, 2002 at 08:46:54AM -0700, David Carlton wrote:

>> Andrew just pointed out to me that the presence of both m-static.cc
>> and m-static1.cc (in gdb.c++) violates the 8.3 rule.  Is it okay if
>> I rename m-static1.cc to m-stat1.cc?  (And make the corresponding
>> obvious change to m-static.exp, of course.)  Or is there some other
>> name I should use?

> I'd rather you just add them to the list; it's in
> gdb/config/djgpp/fnchange.lst.  Others may have a different opinion,
> though..

Well, me too, actually, now that you mention the possibility.  Now I'm
curious about just how that list gets used, though: to run the
testsuite properly, the .exp file needs to know the correct filename
to compile; does somebody do that by hand?  (Looking in the
config/djgpp directory, I see a script 'djcheck.sh' which seems a bit
strange.)

To complicate matters, I see that some but by no means all of the c++
testsuite files are already listed in fnchange.lst, but with their
containing directory changed from gdb.c++ to gdb.cxx.  So should I add
lines for all the m-static stuff to fnchange.lst, like this?

@V@/gdb/testsuite/gdb.c++/m-static.exp @V@/gdb/testsuite/gdb.cxx/m-static.exp
@V@/gdb/testsuite/gdb.c++/m-static.cc @V@/gdb/testsuite/gdb.cxx/m-static.cc
@V@/gdb/testsuite/gdb.c++/m-static.h @V@/gdb/testsuite/gdb.cxx/m-static.h
@V@/gdb/testsuite/gdb.c++/m-static1.cc @V@/gdb/testsuite/gdb.cxx/m-stat1.cc

Or just one line, like this?

@V@/gdb/testsuite/gdb.c++/m-static1.cc @V@/gdb/testsuite/gdb.c++/m-stat1.cc

David Carlton
carlton@math.stanford.edu


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