This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Your change to can_use_hardware_watchpoint breaks hw wp.


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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]