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] |
Hello, This implements something I have been thinking about doing for a little while. The idea is have the code for each testcase be in its own subdirectory. For instance, this change moves the code for null_record.exp to the null_record/ subdir. The reason for this is to avoid name clashes. It is much more common in Ada to split the code between several compilation units. The model used in C where you usually have one .c file per testcase doesn't apply well to Ada. The framework I'm trying to implement is that we would have one .exp file named <testcase>.exp, and have the sources located in subdir <testcase>/. 2004-11-08 Joel Brobecker <brobecker@gnat.com> * gdb.ada/gnat_ada.gpr: New file. * gdb.ada/gnat_ada.gin: Delete, no longer used. * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file. * configure.in: No longer generate gnat_ada.gpr. * gdb.ada/Makefile.in: Minor adaptation due to new project file. * gdb.ada/null_record.exp (testfile): executable is now in null_record subdirectory. (srcfile): Use full path to the main compilation unit. Tested on x86-linux. OK to apply? Thanks, -- Joel
Attachment:
gnat_ada.gpr
Description: Text document
Attachment:
gdb.ada.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |