Re: [5/6] breakpoints_ops for all kinds of breakpoints: new watchpoints instance type

Edjunior Barbosa Machado
2011-07-27T07:21:29Z

On 07/22/2011 12:45 PM, Pedro Alves wrote:
> Move the watchpoints-only fields in struct breakpoint
> to a new struct watchpoint, as a subclass of struct breakpoint,
> to go with the move of watchpoints to breakpoint_ops done a
> while ago.
>

Hi,
it seems a couple of testcases started failing on ppc64 after apply this patch:

FAIL: gdb.base/recurse.exp: continue to second instance watchpoint, first time
(and subsequent tests on recurse.exp, due to this first failure)

FAIL: gdb.base/watchpoint.exp: next over buffer set
...
FAIL: gdb.base/watchpoint.exp: next over global_ptr_ptr buffer set
FAIL: gdb.base/watchpoint.exp: next over global_ptr_ptr pointer advance

One quickly noticed difference is that, according to gdb output, these failing watchpoints became hardware watchpoints after this patch. I'm still trying to figure out why this is happening.

Regards,
--
Edjunior