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] Don't give spurious warnings when using thread specific breakpoints


Mark Kettenis wrote:
(gdb) b main if 1
Breakpoint 1 at 0x439ee0
(gdb) b main if 2
Note: breakpoint 1 also set at pc 0x439ee0.
Breakpoint 2 at 0x439ee0

If that's right, why is similar for threads wrong?  That's just a
different condition.  And the wording is such that it's perfectly
correct.

I don't see the problem either.

It isn't a problem, as such. It just isn't useful - the breakpoints do not clash and we can easily identify that they do not. We don't print other breakpoints when we set a breakpoint, why print these?


Useless stuff should be cut away.

Andrew Stubbs


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