[RFA] Fix hw watchpoints in process record.

Tom Tromey tromey@redhat.com
Mon Nov 9 17:48:00 GMT 2009


>>>>> "Michael" == Michael Snyder <msnyder@vmware.com> writes:

Michael>  static int
Michael> -watchpoint_check (void *p)
Michael> +watchpoint_check_1 (void *p, struct value **new_valp)

I think the first argument should be of type struct breakpoint *.
All the calls to this function seem to pass in a breakpoint, and AFAICT
there is nothing requiring this code not to use the proper type.

Tom



More information about the Gdb-patches mailing list