diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-04-10 18:20:47 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-13 22:33:23 +0100 |
commit | 0fa5b047cc7ff339db40ba0615fc58b496621f37 (patch) | |
tree | b9f783c7a2f28c3abd2f7f9715c398101611e45e /meta/recipes-devtools/gdb/gdb/0004-Change-comment-in-gdb-compile.patch | |
parent | 683942be6fb732fb929cac49e2d59fc9fd4ad02b (diff) | |
download | poky-0fa5b047cc7ff339db40ba0615fc58b496621f37.tar.gz |
gdb: Refresh patches against git
Drop dead patches sim-install.patch, uclibc.patch
Change-Id: I5bd160d0959154896096ebc93a8a450d04979c73
(From OE-Core rev: 682ab52d776d74fb5ede949505f72b4c15ae8191)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.patch | 48 |
1 files changed, 48 insertions, 0 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 new file mode 100644 index 0000000000..4df552c019 --- /dev/null +++ b/meta/recipes-devtools/gdb/gdb/0004-Change-comment-in-gdb-compile.patch | |||
@@ -0,0 +1,48 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | From 09de64b93c2402e068daf0bce1c4a1dda833b646 Mon Sep 17 00:00:00 2001 | ||
4 | From: Jan Kratochvil <jan.kratochvil@redhat.com> | ||
5 | Date: Thu, 26 Feb 2015 11:52:28 +0100 | ||
6 | Subject: [PATCH] Change // comment in gdb/compile/ | ||
7 | |||
8 | gdb/ChangeLog | ||
9 | 2015-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 | |||
20 | diff --git a/gdb/compile/compile-c-support.c b/gdb/compile/compile-c-support.c | ||
21 | index 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); | ||
33 | diff --git a/gdb/compile/compile-object-load.c b/gdb/compile/compile-object-load.c | ||
34 | index 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 | -- | ||
47 | 2.1.4 | ||
48 | |||