I forgot to fix this one in the previous commit.
gdb/testsuite/ChangeLog:
* gdb.ada/arraydim.exp: Remove extra directory level in build
directory.
+2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
+
+ * gdb.ada/arraydim.exp: Remove extra directory level in build
+ directory.
+
2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
* lib/ada.exp: Remove extra directory level in build directory.
standard_ada_testfile foo
-set cfile "${testdir}/inc"
-set csrcfile ${srcdir}/${subdir}/${cfile}.c
+set cfile "inc"
+set csrcfile ${srcdir}/${subdir}/${testdir}/${cfile}.c
set cobject [standard_output_file ${cfile}.o]
gdb_compile "${csrcfile}" "${cobject}" object [list debug]