This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [5/6] breakpoints_ops for all kinds of breakpoints: new watchpoints instance type
- From: Edjunior Barbosa Machado <emachado at linux dot vnet dot ibm dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 27 Jul 2011 04:21:02 -0300
- Subject: Re: [5/6] breakpoints_ops for all kinds of breakpoints: new watchpoints instance type
- References: <201107221645.06432.pedro@codesourcery.com>
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