* gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
is remote.
+2013-09-29 Yao Qi <yao@codesourcery.com>
+
+ * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
+ is remote.
+
2013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
PR shlibs/8882
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}"]} {