From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from kwanyin.sergiodj.net (kwanyin.sergiodj.net [158.69.185.54]) by sourceware.org (Postfix) with ESMTPS id A7EB638708EE for ; Sun, 21 Jun 2020 01:10:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A7EB638708EE Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] Fix gdb.base/list-missing-source.exp on remote host. From: gdb-buildbot@sergiodj.net To: gdb-testers@sourceware.org Message-Id: <4d91c2a4677b90802c8d369190927921bf8ee97d@gdb-build> Date: Sat, 20 Jun 2020 21:10:04 -0400 X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-testers@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-testers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2020 01:10:11 -0000 *** TEST RESULTS FOR COMMIT 4d91c2a4677b90802c8d369190927921bf8ee97d *** commit 4d91c2a4677b90802c8d369190927921bf8ee97d Author: Sandra Loosemore AuthorDate: Sat Jun 20 17:23:53 2020 -0700 Commit: Sandra Loosemore CommitDate: Sat Jun 20 17:23:53 2020 -0700 Fix gdb.base/list-missing-source.exp on remote host. 2020-06-20 Sandra Loosemore gdb/testsuite/ * gdb.base/list-missing-source.exp: Correct $srcfile manipulation for remote host. diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 36662f910b..5ae3ffa067 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-06-20 Sandra Loosemore + + * gdb.base/list-missing-source.exp: Correct $srcfile manipulation + for remote host. + 2020-06-19 Sandra Loosemore Hafiz Abid Qadeer diff --git a/gdb/testsuite/gdb.base/list-missing-source.exp b/gdb/testsuite/gdb.base/list-missing-source.exp index e64f42c56b..72d3922afc 100644 --- a/gdb/testsuite/gdb.base/list-missing-source.exp +++ b/gdb/testsuite/gdb.base/list-missing-source.exp @@ -29,6 +29,7 @@ main () } } close $fd +set srcfile [remote_download host $srcfile] # Compile the source file. set options "debug" @@ -39,7 +40,7 @@ if { [gdb_compile "${srcfile}" "${binfile}" \ } # Now delete the source file. -file delete $srcfile +remote_file host delete $srcfile # Now start GDB, run to main and try to list the source. clean_restart ${binfile}