diff options
author | Pierre Muller <muller@sourceware.org> | 2009-02-20 10:52:24 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2009-02-20 10:52:24 +0000 |
commit | 5aca5a820ad1f68a0f17f419ea74fe8df22c049a (patch) | |
tree | aef22dc13bb878809e1ef09c932e6e3288b2c764 /gdb/go32-nat.c | |
parent | ea5fb460c96020ad541744c9544c7439bd7a4287 (diff) | |
download | gdb-5aca5a820ad1f68a0f17f419ea74fe8df22c049a.zip gdb-5aca5a820ad1f68a0f17f419ea74fe8df22c049a.tar.gz gdb-5aca5a820ad1f68a0f17f419ea74fe8df22c049a.tar.bz2 |
* Extend use of i386_use_watchpoints to all i386 native files
using hardware watchpoints.
go32-nat.c (init_go32_ops): Call i386_use_watchpoints.
i386fbsd-nat.c (_initialize_i386fbsd_nat): 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.
Diffstat (limited to 'gdb/go32-nat.c')
-rw-r--r-- | gdb/go32-nat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c index be0de4a..f5d5326 100644 --- a/gdb/go32-nat.c +++ b/gdb/go32-nat.c @@ -910,6 +910,9 @@ init_go32_ops (void) go32_ops.to_has_stack = 1; go32_ops.to_has_registers = 1; go32_ops.to_has_execution = 1; + + i386_use_watchpoints (&go32_ops); + go32_ops.to_magic = OPS_MAGIC; /* Initialize child's cwd as empty to be initialized when starting |