aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog7
-rw-r--r--gdb/testsuite/gdb.base/catch-load.exp4
-rw-r--r--gdb/testsuite/gdb.base/ctxobj.exp1
-rw-r--r--gdb/testsuite/gdb.base/print-file-var.exp1
-rw-r--r--gdb/testsuite/gdb.server/solib-list.exp6
5 files changed, 17 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index b638681..ec0c388 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,12 @@
2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
+ * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
+ * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
+ * gdb.base/print-file-var.exp: Likewise.
+ * gdb.server/solib-list.exp: Skip on remote targets.
+
+2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
+
* gdb.base/watchpoint.exp (test_wide_location_1): Expect software
watchpoints on ARM. When expecting software watchpoints, tolerate
(remote) targets that report unsupported hardware watchpoint only
diff --git a/gdb/testsuite/gdb.base/catch-load.exp b/gdb/testsuite/gdb.base/catch-load.exp
index 787d360..97fe7d1 100644
--- a/gdb/testsuite/gdb.base/catch-load.exp
+++ b/gdb/testsuite/gdb.base/catch-load.exp
@@ -47,12 +47,12 @@ if { [gdb_compile_shlib "${srcdir}/${subdir}/${srcfile2}" ${binfile2} {debug}] !
# KIND is passed to the "catch" command.
# MATCH is a boolean saying whether we expect the catchpoint to be hit.
proc one_catch_load_test {scenario kind match sostop} { with_test_prefix "${scenario}" {
- global verbose testfile testfile2 binfile2_dlopen
+ global verbose testfile testfile2 binfile2 binfile2_dlopen
global srcfile
global decimal gdb_prompt
clean_restart $testfile
- gdb_load_shlibs $binfile2_dlopen
+ gdb_load_shlibs $binfile2
if {![runto_main]} {
fail "can't run to main"
diff --git a/gdb/testsuite/gdb.base/ctxobj.exp b/gdb/testsuite/gdb.base/ctxobj.exp
index 391ac38..b41ed38 100644
--- a/gdb/testsuite/gdb.base/ctxobj.exp
+++ b/gdb/testsuite/gdb.base/ctxobj.exp
@@ -51,6 +51,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${executable}.c" \
}
clean_restart $executable
+gdb_load_shlibs $libobj1 $libobj2
if ![runto_main] {
untested "could not run to main"
diff --git a/gdb/testsuite/gdb.base/print-file-var.exp b/gdb/testsuite/gdb.base/print-file-var.exp
index d0ab575..994abc4 100644
--- a/gdb/testsuite/gdb.base/print-file-var.exp
+++ b/gdb/testsuite/gdb.base/print-file-var.exp
@@ -42,6 +42,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${executable}.c" \
}
clean_restart $executable
+gdb_load_shlibs $libobj1 $libobj2
if ![runto_main] {
untested "could not run to main"
diff --git a/gdb/testsuite/gdb.server/solib-list.exp b/gdb/testsuite/gdb.server/solib-list.exp
index fc54006..7fbfefc 100644
--- a/gdb/testsuite/gdb.server/solib-list.exp
+++ b/gdb/testsuite/gdb.server/solib-list.exp
@@ -27,6 +27,12 @@ if {[skip_gdbserver_tests] || [skip_shlib_tests]} {
return
}
+# This test case (currently) does not support remote targets, since it
+# assumes the ELF interpreter can be found on the host system
+if [is_remote target] then {
+ return
+}
+
standard_testfile solib-list-main.c
set srclibfile ${testfile}-lib.c
set binlibfile [standard_output_file ${testfile}.so]