Copy .py files to remote host
authorYao Qi <yao@codesourcery.com>
Thu, 14 Aug 2014 06:16:56 +0000 (14:16 +0800)
committerYao Qi <yao@codesourcery.com>
Fri, 22 Aug 2014 05:44:18 +0000 (13:44 +0800)
commit7c343b48b22f04616bd699779118ede2a6aac4b1
tree2d9d7498a410999a744311e269939e12135917e8
parentbaa23169d141b442cdbee3e79279793fe4fbc0f1
Copy .py files to remote host

Some gdb.python/*.exp tests fail because the .py files aren't copied
to the (remote) host.  This patch is to copy needed .py files to host.
Most of gdb.python/*.exp tests do this.

As it is still controversial to delete *.py files on host, we don't do
that in this patch.

gdb/testsuite:

2014-08-22  Yao Qi  <yao@codesourcery.com>

* gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
* gdb.python/py-finish-breakpoint2.exp: Likewise.
* gdb.python/python.exp: Likewise.  Use .py file on the host
instead of the build.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-finish-breakpoint.exp
gdb/testsuite/gdb.python/py-finish-breakpoint2.exp
gdb/testsuite/gdb.python/python.exp