PR gdb/16626

gdb/testsuite/
2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>

	PR gdb/16626
	* gdb.base/auto-load.exp: Fix out-of-srctree run.

Message-ID: <87k3cjt3jl.fsf@fleche.redhat.com>
This commit is contained in:
Jan Kratochvil 2014-02-25 20:47:09 +01:00
parent b9e795ee55
commit 71b7d79337
2 changed files with 5 additions and 2 deletions

View File

@ -5,6 +5,9 @@
* gdb.base/auto-load.c: New file.
* gdb.base/auto-load.exp: New file.
PR gdb/16626
* gdb.base/auto-load.exp: Fix out-of-srctree run.
2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix dw2-icycle.exp -fsanitize=address GDB crash.

View File

@ -20,8 +20,8 @@ if [is_remote host] {
}
set targetdir "${binfile}.dir"
set sourcescript "${binfile}-script"
set targetscriptdir "${targetdir}/[file dirname ${sourcescript}]"
set sourcescript "${srcdir}/${subdir}/${testfile}-script"
set targetscriptdir "${targetdir}/[file dirname ${binfile}]"
set targetscript "${targetscriptdir}/${testfile}-gdb.gdb"
remote_exec host "rm -rf ${targetdir}"