From: Nenad Vukicevic <nenad@intrepid.com>
To: gdb@sourceware.org
Subject: Continue does not continue all threads in all-stop mode
Date: Wed, 17 Feb 2010 02:49:00 -0000 [thread overview]
Message-ID: <4B7B5924.9010709@intrepid.com> (raw)
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
next reply other threads:[~2010-02-17 2:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-17 2:49 Nenad Vukicevic [this message]
2010-02-17 3:42 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B7B5924.9010709@intrepid.com \
--to=nenad@intrepid.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox