aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2016-07-06 10:18:10 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2016-07-06 10:18:10 -0400
commit986cf455bfb25d8696232695fbcc93649c10a523 (patch)
tree4d75a56249ea41d492e0d614cf8bf4b4d8298212 /gdb/testsuite
parentf0464b231f046b836e2ed721d764fa309f18eb39 (diff)
downloadgdb-986cf455bfb25d8696232695fbcc93649c10a523.zip
gdb-986cf455bfb25d8696232695fbcc93649c10a523.tar.gz
gdb-986cf455bfb25d8696232695fbcc93649c10a523.tar.bz2
gdb.ada/arraydim.exp: Fix directory layout
I forgot to fix this one in the previous commit. gdb/testsuite/ChangeLog: * gdb.ada/arraydim.exp: Remove extra directory level in build directory.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.ada/arraydim.exp4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 013af4d..b0e6c2a 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
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.
* gdb.ada/cond_lang.exp: Likewise.
* gdb.ada/exec_changed.exp: Likewise.
diff --git a/gdb/testsuite/gdb.ada/arraydim.exp b/gdb/testsuite/gdb.ada/arraydim.exp
index 58b50ab..38eafa5 100644
--- a/gdb/testsuite/gdb.ada/arraydim.exp
+++ b/gdb/testsuite/gdb.ada/arraydim.exp
@@ -17,8 +17,8 @@ load_lib "ada.exp"
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]