Re: [PATCH, ppc] Fix hw *points for embedded ppc in a threaded environment

Luis Machado
2013-04-23T09:33:55Z

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