This is the mail archive of the gdb-patches@sources.redhat.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]
Other format: [Raw text]

[PATCH/SPARC] Fix hardware watchpoints on Solaris 64-bit x 32-bit


The procfs target ops vector already includes the
target_can_use_hardware_breakpoint, which deals with the cross, so we
don't have to set this.

Committed to the branch.


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* config/sparc/nm-sol2.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
	Remove define.  Adjust comment.

Index: config/sparc/nm-sol2.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/Attic/nm-sol2.h,v
retrieving revision 1.1.2.2
diff -u -p -r1.1.2.2 nm-sol2.h
--- config/sparc/nm-sol2.h 29 Dec 2003 13:07:26 -0000 1.1.2.2
+++ config/sparc/nm-sol2.h 31 Dec 2003 13:27:38 -0000
@@ -37,8 +37,9 @@
 
 /* The man page for proc(4) on Solaris 2.6 and up says that the system
    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
+   method for finding out how many; It doesn't say anything about the
+   allowed size for the watched area either.  So we just tell GDB
+   'yes'.  */
 #define TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(SIZE) 1
 
 /* When a hardware watchpoint fires off the PC will be left at the


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