public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] [gdb/testsuite] Fix gdb.btrace/gcore.exp for remote host
@ 2023-03-28 20:15 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2023-03-28 20:15 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c5799b6aa2048dc9fd7992b93fc9ea1deb456ac2

commit c5799b6aa2048dc9fd7992b93fc9ea1deb456ac2
Author: Tom de Vries <tdevries@suse.de>
Date:   Tue Mar 28 22:15:18 2023 +0200

    [gdb/testsuite] Fix gdb.btrace/gcore.exp for remote host
    
    Fix test-case gdb.btrace/gcore.exp for remote host using
    host_standard_output.
    
    Tested on x86_64-linux.

Diff:
---
 gdb/testsuite/gdb.btrace/gcore.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.btrace/gcore.exp b/gdb/testsuite/gdb.btrace/gcore.exp
index d18bda53469..12482bde886 100644
--- a/gdb/testsuite/gdb.btrace/gcore.exp
+++ b/gdb/testsuite/gdb.btrace/gcore.exp
@@ -36,6 +36,6 @@ gdb_test "next" ".*main\.3.*"
 gdb_test "record goto begin" ".*main\.2.*"
 
 # generate a core file - this used to assert
-set corefile [standard_output_file core]
+set corefile [host_standard_output_file core]
 gdb_test "generate-core-file $corefile" "Saved corefile $corefile" \
     "generate-core-file core"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-28 20:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-28 20:15 [binutils-gdb] [gdb/testsuite] Fix gdb.btrace/gcore.exp for remote host Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).