Re: [PATCH with testcase] Bug 11568 - delete thread-specific breakpoint on the thread exit

Pedro Alves
2013-08-30T16:28:05Z

While reviewing this, I noticed the new test fails for me:

FAIL: gdb.threads/thread-specific-bp.exp: All stop: continue to breakpoint: set break here

Investigating, I saw the problem is "info threads" messes up
the current source for breakpoints:

(gdb) PASS: gdb.threads/thread-specific-bp.exp: All stop: Breakpoint set
break 32
Breakpoint 4 at 0x323dc08d90: file pthread_join.c, line 32.
^^^^^^^^^^^^^^^^^^^^^^^
(gdb) commands

Does it actually pass for you? I can't see how.

I've filed PR15911 for that and sent a fix:
https://sourceware.org/ml/gdb-patches/2013-08/msg00935.html

With that in place, your test passes, but there are a few
things that'll need addressing. Stay tuned.

--
Pedro Alves