Hello, Here is a updated patch that moves the code used by each Ada testcase into its own subdirectory. See this message for the motivation: http://sources.redhat.com/ml/gdb-patches/2004-11/msg00138.html Note that I introduced a new variable "testdir", which will contain the name of the subdir where the sources used by this testcase are stored. I found it useful when I modified fixed_points.exp to the new scheme, as the testcase searches the line number for one of the source files. Also, "srcfile" doesn't really apply all that much to ada, since we have more than one src file. I kept this variable for now for better consistency with the non-ada testcases, with the meaning being the name of the main unit in our program. 2005-02-02 Joel Brobecker * 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.ac: No longer generate gnat_ada.gpr. * gdb.ada/Makefile.in: Minor adaptations due to new project file. * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada. * gdb.ada/null_record/bar.ads: Likewise. * gdb.ada/null_record/bar.adb: Likewise. * gdb.ada/fixed_points/fixed_points.adb: Likewise. * gdb.ada/null_record.exp (testdir): New variable. (testfile): executable is now in testdir subdirectory. (srcfile): Use full path to the main compilation unit. * gdb.ada/fixed_points.exp: Same changes as above. Tested on x86-linux, no regression for these testcases. OK to apply? (note that I didn't attach the .ads and .adb files, since they remain identical to the current ones, I just move them) Thanks, -- Joel