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]

Re: Your change to can_use_hardware_watchpoint breaks hw wp.



   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

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