Enable 'set print inferior-events' and improve detach/fork/kill/exit messages
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.threads / clone-attach-detach.exp
index 1fbdc95ffc41de1c8b9dcca48dc7786f5bfe3b23..27132e35e42094be59d2b404317fafb4ad774b0a 100644 (file)
@@ -56,7 +56,7 @@ for {set attempt 1} {$attempt <= $attempts} {incr attempt} {
            "1.*${thread_re}.*\r\n.*2.*${thread_re}.*" \
            "info threads shows two LWPs"
 
-       gdb_test "detach" "Detaching from .*, process $testpid"
+       gdb_test "detach" "Detaching from .*, process $testpid\r\n\\\[Inferior $decimal \\(.*\\) detached\\\]"
     }
 }
 
@@ -91,7 +91,7 @@ for {set attempt 1} {$attempt <= $attempts} {incr attempt} {
            "1.*${thread_re}.*\\(running\\)\r\n.*2.*${thread_re}.*\\(running\\)" \
            "info threads shows two LWPs"
 
-       gdb_test "detach" "Detaching from .*, process $testpid"
+       gdb_test "detach" "Detaching from .*, process $testpid\r\n\\\[Inferior $decimal \\(.*\\) detached\\\]"
     }
 }
 
This page took 0.026355 seconds and 4 git commands to generate.