View | Details | Raw Unified | Return to bug 210798
Collapse All | Expand All

(-)devel/gdb/files/kgdb/fbsd-kvm.c (+2 lines)
Lines 198-204 fbsd_kernel_osabi_sniffer(bfd *abfd) Link Here
198
	return (GDB_OSABI_UNKNOWN);
198
	return (GDB_OSABI_UNKNOWN);
199
}
199
}
200
200
201
#ifndef INKERNEL
201
#define	INKERNEL(x)	((x) >= kernstart)
202
#define	INKERNEL(x)	((x) >= kernstart)
203
#endif
202
204
203
#ifdef HAVE_KVM_OPEN2
205
#ifdef HAVE_KVM_OPEN2
204
static int
206
static int
(-)devel/gdb/files/patch-fixes (+21 lines)
Added Link Here
1
--- gdb/compile/compile-loc2c.c.orig	2016-07-05 12:30:44.811467295 +0200
2
+++ gdb/compile/compile-loc2c.c	2016-07-05 12:38:46.432434206 +0200
3
@@ -670,7 +670,7 @@
4
       enum dwarf_location_atom op = (enum dwarf_location_atom) *op_ptr;
5
       uint64_t uoffset, reg;
6
       int64_t offset;
7
-
8
+      uoffset = 0;
9
       print_spaces (indent - 2, stream);
10
       if (info[op_ptr - base].label)
11
 	{
12
--- gdb/rs6000-tdep.c.orig	2016-07-05 12:51:29.068382909 +0200
13
+++ gdb/rs6000-tdep.c	2016-07-05 12:56:01.497362570 +0200
14
@@ -4546,6 +4546,7 @@
15
 	  || at_dcsz == 0)
16
 	at_dcsz = 128; /* Assume 128-byte cache line size (POWER8)  */
17
 
18
+      ra = 0;
19
       if (PPC_RA (insn) != 0)
20
 	regcache_raw_read_unsigned (regcache,
21
 				    tdep->ppc_gp0_regnum + PPC_RA (insn), &ra);
(-)devel/gdb/files/patch-gdb-configure (-2 / +11 lines)
Lines 1-5 Link Here
1
--- gdb/configure.orig	2016-03-07 10:33:02.757803766 +0100
1
--- gdb/configure.orig	2016-07-05 15:20:23.789764537 +0200
2
+++ gdb/configure	2016-03-07 10:32:39.480804873 +0100
2
+++ gdb/configure	2016-07-05 15:27:46.079735189 +0200
3
@@ -14287,7 +14347,7 @@
4
 
5
 # These options work in either C or C++ modes.
6
 build_warnings="-Wall -Wpointer-arith \
7
--Wno-unused -Wunused-value -Wunused-function \
8
+-Wno-unused -Wunused-value -Wno-unused-function \
9
 -Wno-switch -Wno-char-subscripts \
10
 -Wempty-body"
11
 
3
@@ -14297,8 +14297,7 @@
12
@@ -14297,8 +14297,7 @@
4
 -Wno-narrowing"
13
 -Wno-narrowing"
5
 else
14
 else
(-)devel/gdb/files/patch-nowarning (+42 lines)
Added Link Here
1
--- gdb/arm-tdep.c.orig	2016-07-08 15:42:17.131392993 +0200
2
+++ gdb/arm-tdep.c	2016-07-08 15:44:10.506386463 +0200
3
@@ -9880,7 +9880,7 @@
4
       && !INSN_RECORDED(arm_insn_r))
5
     {
6
       /* Handle MLA(S) and MUL(S).  */
7
-      if (0 <= insn_op1 && 3 >= insn_op1)
8
+      if (3 >= insn_op1)
9
       {
10
         record_buf[0] = bits (arm_insn_r->arm_insn, 12, 15);
11
         record_buf[1] = ARM_PS_REGNUM;
12
--- gdb/cris-tdep.c.orig	2016-07-08 15:45:26.575379589 +0200
13
+++ gdb/cris-tdep.c	2016-07-08 15:47:07.849372792 +0200
14
@@ -1441,7 +1441,7 @@
15
       /* Indeterminate/obsolete.  */
16
       return 0;
17
     case cris_ver_v0_3:
18
-      return (version >= 0 && version <= 3);
19
+      return (version <= 3);
20
     case cris_ver_v3p:
21
       return (version >= 3);
22
     case cris_ver_v8:
23
@@ -1449,7 +1449,7 @@
24
     case cris_ver_v8p:
25
       return (version >= 8);
26
     case cris_ver_v0_10:
27
-      return (version >= 0 && version <= 10);
28
+      return (version <= 10);
29
     case cris_ver_v3_10:
30
       return (version >= 3 && version <= 10);
31
     case cris_ver_v8_10:
32
--- gdb/h8300-tdep.c.orig	2016-07-08 15:48:33.854366723 +0200
33
+++ gdb/h8300-tdep.c	2016-07-08 15:48:49.681365685 +0200
34
@@ -1053,7 +1053,7 @@
35
 	fprintf_filtered (file, "u> ");
36
       if ((C | Z) == 1)
37
 	fprintf_filtered (file, "u<= ");
38
-      if ((C == 0))
39
+      if (C == 0)
40
 	fprintf_filtered (file, "u>= ");
41
       if (C == 1)
42
 	fprintf_filtered (file, "u< ");

Return to bug 210798