Your change to can_use_hardware_watchpoint breaks hw wp.
Stan Shebs
shebs@cygnus.com
Thu Sep 9 17:25:00 GMT 1999
Date: Thu, 9 Sep 1999 17:08:16 -0700 (PDT)
From: hjl@varesearch.com (H.J. Lu)
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?
So we don't have to go back and forth on this issue in the future, I'd
like to see somebody contribute some more watchpoint tests to the
testsuite. Cygnus runs the GDB testsuite on Linux every night, and I
review the results every day, so regressions will be noticed quickly -
but I won't see regressions if a feature isn't being tested...
Stan
More information about the Gdb
mailing list