* Continue does not continue all threads in all-stop mode
@ 2010-02-17 2:49 Nenad Vukicevic
2010-02-17 3:42 ` Pedro Alves
0 siblings, 1 reply; 2+ messages in thread
From: Nenad Vukicevic @ 2010-02-17 2:49 UTC (permalink / raw)
To: gdb
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 (all threads are processes created by fork(0). 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Continue does not continue all threads in all-stop mode
2010-02-17 2:49 Continue does not continue all threads in all-stop mode Nenad Vukicevic
@ 2010-02-17 3:42 ` Pedro Alves
0 siblings, 0 replies; 2+ messages in thread
From: Pedro Alves @ 2010-02-17 3:42 UTC (permalink / raw)
To: gdb; +Cc: Nenad Vukicevic
On Wednesday 17 February 2010 02:49:08, Nenad Vukicevic wrote:
> 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 (all threads are processes created by fork(0). Only the current
> thread is being run.
>
Yeah, that's how the old multi-forks support also behaved,
and I kept that behaviour.
On Wednesday 17 February 2010 02:49:08, Nenad Vukicevic wrote:
> Is this normal or an oversight?
It's expected. See "help set schedule-multiple".
--
Pedro Alves
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-17 3:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-17 2:49 Continue does not continue all threads in all-stop mode Nenad Vukicevic
2010-02-17 3:42 ` Pedro Alves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox