gdb/testsuite/
authorYao Qi <yao@codesourcery.com>
Sun, 29 Sep 2013 14:05:36 +0000 (14:05 +0000)
committerYao Qi <yao@codesourcery.com>
Sun, 29 Sep 2013 14:05:36 +0000 (14:05 +0000)
* gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
is remote.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/shreloc.exp

index 88c8d2ce4b9cd0771323525e35fe8262ae8e20c9..3e609cf62dd834364d08329561233f32349333fd 100644 (file)
@@ -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
index 2baf67615ac39b6b85aa16d8ef087f3a1b8daa3b..8a533593e55aeae9affbe02edfde8f2ed7c6f6e8 100644 (file)
@@ -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}"]} {
This page took 0.036395 seconds and 4 git commands to generate.