]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Rename py-objfile-script-gdb.py.in to py-objfile-script-gdb.py
authorYao Qi <yao@codesourcery.com>
Mon, 29 Sep 2014 13:37:32 +0000 (21:37 +0800)
committerYao Qi <yao@codesourcery.com>
Mon, 20 Oct 2014 05:34:33 +0000 (13:34 +0800)
Patch <https://sourceware.org/ml/gdb-patches/2011-07/msg00225.html> was
to fix the problem that py-objfile-script-gdb.py is removed after an
in-tree build and test.  As a result of the previous patch (we don't
remove files copied to host any more), this patch is no longer needed.
This patch is to revert it logically.

gdb/testsuite:

2014-10-20  Yao Qi  <yao@codesourcery.com>

* gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
* gdb.python/py-objfile-script-gdb.py: New file.
* gdb.python/py-objfile-script.exp: Update reference to
py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
of remote_download.  Remove the dest file.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-objfile-script-gdb.py [moved from gdb/testsuite/gdb.python/py-objfile-script-gdb.py.in with 100% similarity]
gdb/testsuite/gdb.python/py-objfile-script.exp

index a0bb480776ccc090c7813c15d339b72c6c10ad55..3b7bb46e531b8bdd4ae40c5acd4f62edfd2801ae 100644 (file)
@@ -1,3 +1,11 @@
+2014-10-20  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
+       * gdb.python/py-objfile-script-gdb.py: New file.
+       * gdb.python/py-objfile-script.exp: Update reference to
+       py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
+       of remote_download.  Remove the dest file.
+
 2014-10-20  Yao Qi  <yao@codesourcery.com>
 
        * gdb.base/checkpoint.exp: Don't remove file copied on host.
index 298bc3e42ea566404182694a40be14ebb5204245..a844163873a5761265ae90ba670afb1cf68e373b 100644 (file)
@@ -32,9 +32,8 @@ if { [skip_python_tests] } { continue }
 # Make the -gdb.py script available to gdb, it is automagically loaded by gdb.
 # Care is taken to put it in the same directory as the binary so that
 # gdb will find it.
-set remote_python_file [remote_download host \
-                           ${srcdir}/${subdir}/${testfile}-gdb.py.in \
-                           [standard_output_file ${testfile}-gdb.py]]
+set remote_python_file [gdb_remote_download host \
+                           ${srcdir}/${subdir}/${testfile}-gdb.py]
 
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_test_no_output "set auto-load safe-path ${remote_python_file}" "set auto-load safe-path"