public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug threads/28270] New: wait for all threads to stop when attaching in non-stop mode
@ 2021-08-26 12:45 vries at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: vries at gcc dot gnu.org @ 2021-08-26 12:45 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=28270

            Bug ID: 28270
           Summary: wait for all threads to stop when attaching in
                    non-stop mode
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: threads
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

https://sourceware.org/pipermail/gdb-patches/2021-August/181655.html:
...
I think the behavior could be a bit more user friendly, we could wait
for all the attached program's threads to have reported their stop
before showing the prompt.  Same with the interrupt (with and without
"-a") command, we know which threads we expect to become stopped, we
could wait for them to be stopped before giving back the prompt.  That
would make it easier for scripts: when the attach / interrupt command
returns, you know the attached / interrupted threads are stopped and can
be inspected.
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-26 12:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-26 12:45 [Bug threads/28270] New: wait for all threads to stop when attaching in non-stop mode vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).