gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

continue does not continue all threads in all-stop mode


From: Nenad Vukicevic
Subject: continue does not continue all threads in all-stop mode
Date: Tue, 16 Feb 2010 13:51:52 -0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1

I am running a head version of GDB (couple of weeks old) and noticed that
in all-stop mode with multiple inferiors continue command does not continue
all threads. Only the current thread is being run.

For example here is what I have:

info thread
5 UPC Thread 3 *upc_main (argc=1, argv=0x7fffffffe0a8) at src/cgB.upc:137 4 UPC Thread 2 *upc_main (argc=1, argv=0x7fffffffe0a8) at src/cgB.upc:137 3 UPC Thread 1 *upc_main (argc=1, argv=0x7fffffffe0a8) at src/cgB.upc:137
* 2 UPC Thread 0  *upc_main (argc=1, argv=0x7fffffffe0a8) at src/cgB.upc:137
(gdb) c&
Continuing.
(gdb)

 Size:      14000
 Iterations:    15
info threads
5 UPC Thread 3 *upc_main (argc=1, argv=0x7fffffffe0a8) at src/cgB.upc:137 4 UPC Thread 2 *upc_main (argc=1, argv=0x7fffffffe0a8) at src/cgB.upc:137 3 UPC Thread 1 *upc_main (argc=1, argv=0x7fffffffe0a8) at src/cgB.upc:137
* 2 UPC Thread 0  (running)
(gdb)

Is this normal or an oversight?

Nenad




reply via email to

[Prev in Thread] Current Thread [Next in Thread]