From: Yao Qi Date: Sun, 29 Sep 2013 14:05:36 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ed2ad4433c7c476dbcfb087f5d2b34496b8aa57;p=binutils-gdb.git gdb/testsuite/ * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host is remote. --- 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}"]} {