# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+if { [is_remote host] } {
+ gdb_remote_download host $srcdir/$subdir/included.h
+}
+
standard_testfile
if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {
return -1
# We should report that integer comes from the header file.
if { $non_dwarf } { setup_xfail *-*-* }
-gdb_test "info variables integer" "\r\nFile \[^\r\n\]*/${subdir}/${testfile}.h:\r\n.*\tint integer;"
+gdb_test "info variables integer" "\r\nFile \[^\r\n\]*${testfile}.h:\r\n.*\tint integer;"
#
# This file is part of the gdb testsuite.
+if { [is_remote host] } {
+ gdb_remote_download host $srcdir/$subdir/large-frame.h
+}
+
# This test was added to test GDB's ability to backtrace over a large
# stack frame for which there is no debug information. This should
# test the non-DWARF stack unwinder.
standard_testfile .c line-symtabs.h
+if { [is_remote host] } {
+ gdb_remote_download host $srcdir/$subdir/$srcfile2
+}
+
if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
return -1
}
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+if { [is_remote host] } {
+ gdb_remote_download host $srcdir/$subdir/sep-proc.c
+}
+
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
return 0
}
+if { [is_remote host] } {
+ gdb_remote_download host $srcdir/$subdir/ss.h
+}
+
standard_testfile shmain.c shr1.c shr2.c
set srcfile ${srcdir}/${subdir}/${srcfile}
set lib1src ${srcdir}/${subdir}/${srcfile2}