aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/gdb.base/rtld-step-nodebugsym.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/rtld-step-nodebugsym.exp b/gdb/testsuite/gdb.base/rtld-step-nodebugsym.exp
index 1c8fa47..80ff157 100644
--- a/gdb/testsuite/gdb.base/rtld-step-nodebugsym.exp
+++ b/gdb/testsuite/gdb.base/rtld-step-nodebugsym.exp
@@ -29,4 +29,6 @@ if { ![runto_main] } {
gdb_test "step" "Single stepping until exit from function.*"
-gdb_continue_to_end "" continue 1
+# GDB used to crash while doing the step command. Check that this bug is
+# fixed and that GDB is still alive at this point.
+gdb_test "print 0" "= 0"