File gdb-fix-s390-build.patch of Package gdb

Index: gdb-7.7/gdb/s390-linux-nat.c
===================================================================
--- gdb-7.7.orig/gdb/s390-linux-nat.c	2014-02-12 16:10:55.000000000 +0100
+++ gdb-7.7/gdb/s390-linux-nat.c	2014-02-12 16:40:33.000000000 +0100
@@ -563,7 +563,7 @@ s390_can_use_hw_breakpoint (int type, in
 }
 
 static int
-s390_region_ok_for_hw_watchpoint (CORE_ADDR addr, int cnt)
+s390_region_ok_for_hw_watchpoint (CORE_ADDR addr, LONGEST cnt)
 {
   return 1;
 }
openSUSE Build Service is sponsored by