Enable 'set print inferior-events' and improve detach/fork/kill/exit messages
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / attach.exp
index efec49e3858059caccde4f69c3e6b6935fac7038..8199a80c6b9f1f4d731d67c1cc4e94461f234846 100644 (file)
@@ -53,6 +53,7 @@ proc do_attach_tests {} {
     global testfile
     global subdir
     global timeout
+    global decimal
     
     # Figure out a regular expression that will match the sysroot,
     # noting that the default sysroot is "target:", and also noting
@@ -191,7 +192,7 @@ proc do_attach_tests {} {
     # Detach the process.
    
     gdb_test "detach" \
-       "Detaching from program: .*$escapedbinfile, process $testpid" \
+       "Detaching from program: .*$escapedbinfile, process $testpid\r\n\\\[Inferior $decimal \\(.*\\) detached\\\]" \
        "attach1 detach"
 
     # Wait a bit for gdb to finish detaching
This page took 0.025363 seconds and 4 git commands to generate.