Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* 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

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