[PATCH] Don't give spurious warnings when using thread specific breakpoints

Andrew STUBBS andrew.stubbs@st.com
Wed Oct 11 13:44:00 GMT 2006


When creating a thread specific breakpoint GDB will warn about other 
breakpoints set on the same address even when they are specific to 
another thread.

The attached patch prevents it warning about breakpoints from other 
threads. When a non-thread specific breakpoint is created, or already 
exists, the warning is still given, but is annotated with the thread 
information. When not using thread specific breakpoints the behaviour 
should remain unaltered.

:ADDPATCH breakpoint.c:

Andrew Stubbs
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: threadbreak.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20061011/4688abe4/attachment.ksh>


More information about the Gdb-patches mailing list