Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Fix HW watchpoints on Solaris x86
@ 2003-08-10 13:55 Mark Kettenis
  2003-08-10 14:29 ` Andrew Cagney
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Kettenis @ 2003-08-10 13:55 UTC (permalink / raw)
  To: gdb-patches

Got this patch from Peter Schauer.  Checked in on both mainline and branch.

Mark

Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>
 
	From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):
	* config/i386/nm-i386sol2.h
	(TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one.

Index: config/i386/nm-i386sol2.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-i386sol2.h,v
retrieving revision 1.8
diff -u -p -r1.8 nm-i386sol2.h
--- config/i386/nm-i386sol2.h 24 Feb 2003 21:56:51 -0000 1.8
+++ config/i386/nm-i386sol2.h 10 Aug 2003 13:48:26 -0000
@@ -28,6 +28,7 @@
    can support "thousands" of hardware watchpoints, but gives no
    method for finding out how many.  So just tell GDB 'yes'.  */
 #define TARGET_CAN_USE_HARDWARE_WATCHPOINT(TYPE, CNT, OT) 1
+#define TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(SIZE) 1
 
 /* When a hardware watchpoint fires off the PC will be left at the
    instruction following the one which caused the watchpoint.  


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-08-10 16:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-10 13:55 [PATCH] Fix HW watchpoints on Solaris x86 Mark Kettenis
2003-08-10 14:29 ` Andrew Cagney
2003-08-10 15:53   ` Mark Kettenis
2003-08-10 16:12     ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox