summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb/0004-Change-comment-in-gdb-compile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb/0004-Change-comment-in-gdb-compile.patch')
-rw-r--r--meta/recipes-devtools/gdb/gdb/0004-Change-comment-in-gdb-compile.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/meta/recipes-devtools/gdb/gdb/0004-Change-comment-in-gdb-compile.patch b/meta/recipes-devtools/gdb/gdb/0004-Change-comment-in-gdb-compile.patch
deleted file mode 100644
index 4df552c019..0000000000
--- a/meta/recipes-devtools/gdb/gdb/0004-Change-comment-in-gdb-compile.patch
+++ /dev/null
@@ -1,48 +0,0 @@
1Upstream-Status: Backport
2
3From 09de64b93c2402e068daf0bce1c4a1dda833b646 Mon Sep 17 00:00:00 2001
4From: Jan Kratochvil <jan.kratochvil@redhat.com>
5Date: Thu, 26 Feb 2015 11:52:28 +0100
6Subject: [PATCH] Change // comment in gdb/compile/
7
8gdb/ChangeLog
92015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10
11 PR build/18033
12 * compile/compile-c-support.c (c_compute_program): Change // comment.
13 * compile/compile-object-load.c (setup_sections): Change // comment.
14---
15 gdb/ChangeLog | 6 ++++++
16 gdb/compile/compile-c-support.c | 2 +-
17 gdb/compile/compile-object-load.c | 2 +-
18 3 files changed, 8 insertions(+), 2 deletions(-)
19
20diff --git a/gdb/compile/compile-c-support.c b/gdb/compile/compile-c-support.c
21index 8f1f45d..1711cda 100644
22--- a/gdb/compile/compile-c-support.c
23+++ b/gdb/compile/compile-c-support.c
24@@ -351,7 +351,7 @@ c_compute_program (struct compile_instance *inst,
25 " __gdb_intptr;\n",
26 buf);
27
28- // Iterate all log2 sizes in bytes supported by c_get_mode_for_size.
29+ /* Iterate all log2 sizes in bytes supported by c_get_mode_for_size. */
30 for (i = 0; i < 4; ++i)
31 {
32 const char *mode = c_get_mode_for_size (1 << i);
33diff --git a/gdb/compile/compile-object-load.c b/gdb/compile/compile-object-load.c
34index 5903f18..e187970 100644
35--- a/gdb/compile/compile-object-load.c
36+++ b/gdb/compile/compile-object-load.c
37@@ -67,7 +67,7 @@ setup_sections (bfd *abfd, asection *sect, void *data_voidp)
38 if ((bfd_get_section_flags (abfd, sect) & SEC_ALLOC) == 0)
39 return;
40
41- // Make the memory always readable.
42+ /* Make the memory always readable. */
43 prot = GDB_MMAP_PROT_READ;
44 if ((bfd_get_section_flags (abfd, sect) & SEC_READONLY) == 0)
45 prot |= GDB_MMAP_PROT_WRITE;
46--
472.1.4
48