gdb.exp: Support absolute path name args in 'prepare_for_testing' etc.
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Fri, 7 Mar 2014 10:23:42 +0000 (10:23 +0000)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Wed, 12 Mar 2014 15:22:18 +0000 (16:22 +0100)
commit0e5c45554bc3d274809e688d3bfb8e5438cc3539
tree549a37d9d6ddce99e85f692c645dadf5db257bbb
parentc792917cdc10a5ada2f4f73ecb39c764756bf994
gdb.exp: Support absolute path name args in 'prepare_for_testing' etc.

Test cases that produce source files in the build directory have not
been able to use prepare_for_testing and friends.  This was because
build_executable_from_specs unconditionally prepended the source
directory path name to its arguments.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp