This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/10449] New: continues main thread when breaking into a secondary thread
- From: "apaku at gmx dot de" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 25 Jul 2009 18:25:25 -0000
- Subject: [Bug gdb/10449] New: continues main thread when breaking into a secondary thread
- Reply-to: sourceware-bugzilla at sourceware dot org
I've got a small test application here creating a GUI in the main thread and
starting two new threads within the window constructor. In both threads there's
a sleep() (one with 2 the other with 4 seconds) to keep them running a bit.
I then put a breakpoint at the start of the constructor and into the 4-second-
seems to continue the main thread once the breakpoint in the 4-second-sleep
thread is hit. So basically the order is:
create and start first extra thread
<n>
create and start second extra thread
<n>
some gui code
<n>
break into second extra thread
<n>
sleep(4)
<n>
At this point the gui from the main thread comes up, which only happens if the
main thread is continue'd and not halted anymore.
--
Summary: continues main thread when breaking into a secondary
thread
Product: gdb
Version: 6.8
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
AssignedTo: unassigned at sourceware dot org
ReportedBy: apaku at gmx dot de
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=10449
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.