This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug threads/20291] Set scheduler-locking on doesn't work correctly with pthread_create
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 23 Jun 2016 09:26:01 +0000
- Subject: [Bug threads/20291] Set scheduler-locking on doesn't work correctly with pthread_create
- Auto-submitted: auto-generated
- References: <bug-20291-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20291
--- Comment #4 from Pedro Alves <palves at redhat dot com> ---
> I think it was mainly working "by chance" before.
And also because the thread event breakpoint is triggered on the _parent_
thread.
If you enable "set debug infrun 1" / "set debug lin-lwp 1" on an older gdb, you
should see that the child manages to run a bit before the event breakpoint
triggers. When the breakpoint is hit, then everything is stopped, and then
infrun only resumes the parent.
--
You are receiving this mail because:
You are on the CC list for the bug.