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: [5/6] breakpoints_ops for all kinds of breakpoints: new watchpoints instance type



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


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