Re: [RFA] Use i386_use_watchpoints for go32v2, bds and windows native

Mark Kettenis
2009-02-09T11:07:05Z

> From: "Pierre Muller" <muller@ics.u-strasbg.fr>
> Date: Mon, 9 Feb 2009 00:22:50 +0100
>
> ChangeLog entry:
>
> 2009-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
>
> * Extend use of i386_use_watchpoints to all i386 native files
> using hardware watchpoints.
> go32-nat.c (init_go32_ops): Call i386_use_watchpoints.
> i386bsd-nat.c (i386bsd_target): Ditto.
> windows-nat.c (init_windows_ops): Ditto.
> config/i386/nm-cygwin.h: Define I386_WATCHPOINTS_IN_TARGET_VECTOR.
> config/i386/nm-cygwin64.h: Ditto.
> config/i386/nm-fbsd.h: Ditto.
> config/i386/nm-go32.h: Ditto.

Only FreeBSD has hardware watchpoint support, so your change to
i386bsd-nat.c isn't quite right.