From c5799b6aa2048dc9fd7992b93fc9ea1deb456ac2 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Tue, 28 Mar 2023 22:15:18 +0200 Subject: [PATCH] [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. --- 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" -- 2.30.2