gdb/infrun: add reason parameter to stop_all_threads
[deliverable/binutils-gdb.git] / gdb / infcmd.c
index c4b7ad0b7b942fff8e66d0c455d6d9b2fc1270f1..e2ac750ad12604431042ebaf74b574f1a0e8e087 100644 (file)
@@ -2525,7 +2525,7 @@ attach_post_wait (int from_tty, enum attach_post_wait_mode mode)
        {
          struct thread_info *lowest = inferior_thread ();
 
-         stop_all_threads ();
+         stop_all_threads ("attaching");
 
          /* It's not defined which thread will report the attach
             stop.  For consistency, always select the thread with
This page took 0.032577 seconds and 4 git commands to generate.