From: Tom de Vries Date: Tue, 28 Mar 2023 20:15:18 +0000 (+0200) Subject: [gdb/testsuite] Fix gdb.btrace/gcore.exp for remote host X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c5799b6aa2048dc9fd7992b93fc9ea1deb456ac2;p=binutils-gdb.git [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 --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"