From 2ed2ad4433c7c476dbcfb087f5d2b34496b8aa57 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Sun, 29 Sep 2013 14:05:36 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host is remote. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/shreloc.exp | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 88c8d2ce4b9..3e609cf62dd 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-09-29 Yao Qi + + * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host + is remote. + 2013-09-25 Andreas Arnez PR shlibs/8882 diff --git a/gdb/testsuite/gdb.base/shreloc.exp b/gdb/testsuite/gdb.base/shreloc.exp index 2baf67615ac..8a533593e55 100644 --- a/gdb/testsuite/gdb.base/shreloc.exp +++ b/gdb/testsuite/gdb.base/shreloc.exp @@ -221,7 +221,11 @@ proc check_different {var msymfile} { return 1 } -set msymfile [standard_output_file shreloc.txt] +if [is_remote host] { + set msymfile shreloc.txt +} else { + set msymfile [standard_output_file shreloc.txt] +} if [send_gdb_discard "maint print msymbols ${msymfile}"] { if {[check_different "static_var_\[12\]" "${msymfile}"]} { -- 2.30.2