gdb: Mark async event handler when event is already pending
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.threads / multiple-successive-infcall.exp
index a71f991d6f26e1118109fc8e267d71fb5a8cb829..bb92c1d487d7e17a4315f5d790977b8ba3b30f55 100644 (file)
@@ -56,17 +56,6 @@ gdb_test "show scheduler-locking" \
 
 foreach_with_prefix thread {5 4 3 2 1}  {
   gdb_test "thread ${thread}" "Switching to .*"
-  set command "call get_value()"
-  set hang_message "testing if ${command} hangs"
-  gdb_test_multiple "${command}" "${hang_message}" {
-    -re "= ${thread}\[\r\n]+${gdb_prompt} $" {
-      pass "${hang_message}"
-    }
-    timeout {
-      kfail "gdb/22882" "${hang_message}"
-      # Exit. The debugger has hung, so there is no point in wasting
-      # time timing out on further calls to get_value().
-      return 0
-    }
-  }
+  gdb_test "call get_value()" "= ${thread}" \
+      "call inferior function"
 }
This page took 0.024573 seconds and 4 git commands to generate.