aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2015-02-26 11:52:28 +0100
committerJan Kratochvil <jan.kratochvil@redhat.com>2015-02-26 11:52:28 +0100
commit09de64b93c2402e068daf0bce1c4a1dda833b646 (patch)
tree9feee2961828cb0d55c7c0496b61724af6a95db5 /gdb
parentf57347efc0338cf65539f965f171a318c4a4e523 (diff)
downloadfsf-binutils-gdb-09de64b93c2402e068daf0bce1c4a1dda833b646.zip
fsf-binutils-gdb-09de64b93c2402e068daf0bce1c4a1dda833b646.tar.gz
fsf-binutils-gdb-09de64b93c2402e068daf0bce1c4a1dda833b646.tar.bz2
Change // comment in gdb/compile/
gdb/ChangeLog 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com> PR build/18033 * compile/compile-c-support.c (c_compute_program): Change // comment. * compile/compile-object-load.c (setup_sections): Change // comment.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/compile/compile-c-support.c2
-rw-r--r--gdb/compile/compile-object-load.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5f5fa51..37a69e8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ PR build/18033
+ * compile/compile-c-support.c (c_compute_program): Change // comment.
+ * compile/compile-object-load.c (setup_sections): Change // comment.
+
2015-02-26 Joel Brobecker <brobecker@adacore.com>
PR build/18033:
diff --git a/gdb/compile/compile-c-support.c b/gdb/compile/compile-c-support.c
index 8f1f45d..1711cda 100644
--- a/gdb/compile/compile-c-support.c
+++ b/gdb/compile/compile-c-support.c
@@ -351,7 +351,7 @@ c_compute_program (struct compile_instance *inst,
" __gdb_intptr;\n",
buf);
- // Iterate all log2 sizes in bytes supported by c_get_mode_for_size.
+ /* Iterate all log2 sizes in bytes supported by c_get_mode_for_size. */
for (i = 0; i < 4; ++i)
{
const char *mode = c_get_mode_for_size (1 << i);
diff --git a/gdb/compile/compile-object-load.c b/gdb/compile/compile-object-load.c
index 5903f18..e187970 100644
--- a/gdb/compile/compile-object-load.c
+++ b/gdb/compile/compile-object-load.c
@@ -67,7 +67,7 @@ setup_sections (bfd *abfd, asection *sect, void *data_voidp)
if ((bfd_get_section_flags (abfd, sect) & SEC_ALLOC) == 0)
return;
- // Make the memory always readable.
+ /* Make the memory always readable. */
prot = GDB_MMAP_PROT_READ;
if ((bfd_get_section_flags (abfd, sect) & SEC_READONLY) == 0)
prot |= GDB_MMAP_PROT_WRITE;