This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Setup kfail in gdb.mi/mi-solib.exp


As reported in PR 13860, gdb.mi/mi-solib.exp doesn't work well in async
 mode.

Since lack of knowledge on MI, it takes me some time to try to fix this
case in async mode.  I am inclined to kfail it first, because my
following patches will trigger this fail.

-- 
Yao (éå) 

	* gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.

diff --git a/gdb/testsuite/gdb.mi/mi-solib.exp b/gdb/testsuite/gdb.mi/mi-solib.exp
index 8e99f90..8e548f4 100644
--- a/gdb/testsuite/gdb.mi/mi-solib.exp
+++ b/gdb/testsuite/gdb.mi/mi-solib.exp
@@ -59,4 +59,9 @@ mi_gdb_test "777-gdb-set stop-on-solib-events 1" "777\\^done" \
 # We use "run" rather than "-exec-run" here in order to test that CLI
 # commands still cause the correct MI output to be generated.
 mi_run_with_cli
+
+global async
+if { $async } {
+    setup_kfail gdb/13860 *-*-*
+}
 mi_expect_stop solib-event .* .* .* .* .* "check for solib event"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]