This is the mail archive of the gdb-patches@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]

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


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


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