Your change to can_use_hardware_watchpoint breaks hw wp.

H.J. Lu hjl@varesearch.com
Thu Sep 9 17:10:00 GMT 1999


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)


More information about the Gdb mailing list