aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.server
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-10-09 17:59:01 +0000
committerDaniel Jacobowitz <drow@false.org>2007-10-09 17:59:01 +0000
commit2ec9a4f8d14053325856abcd5eb8c1b967bc1b1d (patch)
tree396707d99ef3b5d15a7b8cb9442c02cb6fa3d8b2 /gdb/testsuite/gdb.server
parente2aacd2c759620f4d18142f811c916adcf6fb7b4 (diff)
downloadgdb-2ec9a4f8d14053325856abcd5eb8c1b967bc1b1d.zip
gdb-2ec9a4f8d14053325856abcd5eb8c1b967bc1b1d.tar.gz
gdb-2ec9a4f8d14053325856abcd5eb8c1b967bc1b1d.tar.bz2
* solib-svr4.c (enable_break): Add the dynamic linker also if
auxv succeeds. * gdb.server/server-run.exp: Test for dynamic linker symbols.
Diffstat (limited to 'gdb/testsuite/gdb.server')
-rw-r--r--gdb/testsuite/gdb.server/server-run.exp7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.server/server-run.exp b/gdb/testsuite/gdb.server/server-run.exp
index 8a5749d..f2a6125 100644
--- a/gdb/testsuite/gdb.server/server-run.exp
+++ b/gdb/testsuite/gdb.server/server-run.exp
@@ -38,5 +38,12 @@ gdb_load $binfile
gdbserver_run ""
gdb_reinitialize_dir $srcdir/$subdir
+# We are now stopped at the program's entry point. On targets which use
+# SVR4 dynamic linking, we should have automatically loaded symbols for
+# the dynamic linker.
+if { [istarget *-*-linux*] } {
+ gdb_test "info shared" "From.*To.*" "loaded dynamic linker"
+}
+
gdb_breakpoint main
gdb_test "continue" "Breakpoint.* main .*" "continue to main"