- Fix build on s390 (gdb-fix-s390-build.patch).
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=94
This commit is contained in:
parent
7fffb15818
commit
63f4c82504
13
gdb-fix-s390-build.patch
Normal file
13
gdb-fix-s390-build.patch
Normal file
@ -0,0 +1,13 @@
|
||||
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;
|
||||
}
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 12 16:24:38 UTC 2014 - matz@suse.de
|
||||
|
||||
- Fix build on s390 (gdb-fix-s390-build.patch).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 17:19:07 UTC 2014 - matz@suse.de
|
||||
|
||||
|
2
gdb.spec
2
gdb.spec
@ -195,6 +195,7 @@ Patch106: gdb-rhel5-compat.patch
|
||||
Patch1002: gdb-6.6-buildid-locate-rpm-suse.patch
|
||||
Patch1004: gdb-ia64-tdep.patch
|
||||
Patch1006: gdb-ppc64le.patch
|
||||
Patch1007: gdb-fix-s390-build.patch
|
||||
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
@ -441,6 +442,7 @@ find -name "*.info*"|xargs rm -f
|
||||
%patch1002 -p1
|
||||
%patch1004 -p1
|
||||
%patch1006 -p1
|
||||
%patch1007 -p1
|
||||
|
||||
find -name "*.orig" | xargs rm -f
|
||||
! find -name "*.rej" # Should not happen.
|
||||
|
Loading…
x
Reference in New Issue
Block a user