This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Your change to can_use_hardware_watchpoint breaks hw wp.
- To: eliz@is.elta.co.il
- Subject: Your change to can_use_hardware_watchpoint breaks hw wp.
- From: hjl@varesearch.com (H.J. Lu)
- Date: Thu, 9 Sep 1999 17:08:16 -0700 (PDT)
- Cc: gdb@sourceware.cygnus.com (GDB)
With your change
1999-08-19 Eli Zaretskii <eliz@is.elta.co.il>
* breakpoint.c (can_use_hardware_watchpoint): Call
TARGET_REGION_OK_FOR_HW_WATCHPOINT; if it returns zero,
return zero immediately.
I can no longer set hardware watchpoint like
int foo [20];
(gdb) watch foo[1];
on x86. Do you have a patch to get it to work again?
Thanks.
--
H.J. Lu (hjl@gnu.org)