This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug threads/19426] in non-stop mode, gdb should sometimes select the stopping thread


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

--- Comment #4 from Pedro Alves <palves at redhat dot com> ---
And to tie the remainder lose ends, we'd have a "wait" command (which I think
Doug has also proposed in the past).

Like, e.g., resume threads 1 and 2, and then block waiting for them (ignoring
stops of other threads).  Something like:

(gdb) thread 1
(gdb) continue&
(gdb) thread 2
(gdb) continue&
(gdb) wait thread 1
(gdb) wait thread 2

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]