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.
+2009-02-20 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.
+ 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.
+
+
2009-02-19 Joel Brobecker <brobecker@adacore.com>
* ada-typeprint.c (ada_typedef_print): Remove. Unused.
void dll_symbol_command (char *, int);
#define I386_USE_GENERIC_WATCHPOINTS
+#define I386_WATCHPOINTS_IN_TARGET_VECTOR
#include "i386/nm-i386.h"
void dll_symbol_command (char *, int);
#define I386_USE_GENERIC_WATCHPOINTS
+#define I386_WATCHPOINTS_IN_TARGET_VECTOR
#include "i386/nm-i386.h"
#ifdef HAVE_PT_GETDBREGS
#define I386_USE_GENERIC_WATCHPOINTS
+#define I386_WATCHPOINTS_IN_TARGET_VECTOR
#endif
#include "i386/nm-i386.h"
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define I386_USE_GENERIC_WATCHPOINTS
+#define I386_WATCHPOINTS_IN_TARGET_VECTOR
#include "i386/nm-i386.h"
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
/* Add some extra features to the common *BSD/i386 target. */
t = i386bsd_target ();
+ i386_use_watchpoints (t);
t->to_resume = i386fbsd_resume;
t->to_pid_to_exec_file = fbsd_pid_to_exec_file;
t->to_find_memory_regions = fbsd_find_memory_regions;
windows_ops.to_has_registers = 1;
windows_ops.to_has_execution = 1;
windows_ops.to_pid_to_exec_file = windows_pid_to_exec_file;
+ i386_use_watchpoints (&windows_ops);
+
windows_ops.to_magic = OPS_MAGIC;
}