This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/13700] should allow CLI to switch thread on event
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 16 Feb 2012 18:28:08 +0000
- Subject: [Bug cli/13700] should allow CLI to switch thread on event
- Auto-submitted: auto-generated
- References: <bug-13700-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13700
--- Comment #3 from Pedro Alves <palves at redhat dot com> 2012-02-16 18:28:08 UTC ---
Irrespective of foreground issues, those messages are confusing with background
commands as well, for not being inferior/thread qualified.
Even with breakpoint hits, you see confusing things like:
(gdb) b 64
(gdb) c -a&
Continuing.
(gdb)
Breakpoint 2, thread_function0 (arg=0x0) at threads.c:64
64 usleep (1); /* Loop increment. */
Breakpoint 2, thread_function0 (arg=0x0) at threads.c:64
64 usleep (1); /* Loop increment. */
Breakpoint 2, thread_function0 (arg=0x0) at threads.c:64
64 usleep (1); /* Loop increment. */
(that's three threads hitting a breakpoint)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.