aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-09-29 14:05:36 +0000
committerYao Qi <yao@codesourcery.com>2013-09-29 14:05:36 +0000
commit2ed2ad4433c7c476dbcfb087f5d2b34496b8aa57 (patch)
tree167c093de7d994c8d584bcbc6bd6cc0438ad311c /gdb
parent5b4e221c82f3010f2004c6cba145c188c9ebfe6c (diff)
downloadgdb-2ed2ad4433c7c476dbcfb087f5d2b34496b8aa57.zip
gdb-2ed2ad4433c7c476dbcfb087f5d2b34496b8aa57.tar.gz
gdb-2ed2ad4433c7c476dbcfb087f5d2b34496b8aa57.tar.bz2
gdb/testsuite/
* gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host is remote.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/shreloc.exp6
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 88c8d2c..3e609cf 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+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
diff --git a/gdb/testsuite/gdb.base/shreloc.exp b/gdb/testsuite/gdb.base/shreloc.exp
index 2baf676..8a53359 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}"]} {