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, ppc] Fix hw *points for embedded ppc in a threaded environment


Hi,

On 04/22/2013 09:02 PM, Pedro Alves wrote:
I hacked GDB some more, and I have further insight.
GDB _is_ to blame.  Updated GDB/test hack patch at the bottom.

So GDB is to blame.  Fixing this, however, would be a different
story, and doesn't look that simple.

So the test could work around this by making sure that threads
don't exit until after all watchpoints have been tested.

Thanks for the analysis! I modified the testcase to prevent those threads from exitting and fixed the weird identation (i messed it up when copying from another source probably).

But, there still seems to be something odd here. When the number of threads is greater than the number of available hardware watchpoints, GDB still seems to miss watchpoint hits.

I'm currently trying to narrow this down.

Luis


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