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/20291] Set scheduler-locking on doesn't work correctly with pthread_create


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.

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