aboutsummaryrefslogtreecommitdiff
path: root/gdb/compile
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2015-02-26 11:48:18 +0100
committerJan Kratochvil <jan.kratochvil@redhat.com>2015-02-26 11:48:18 +0100
commitbb2b33b9395662e7562be34b47b9533620b583c6 (patch)
tree456c998489f567584ce7c46226fa6eba8addc5ba /gdb/compile
parent9357a9e66e08fea2a13446a4dfba2ceaf11da827 (diff)
downloadgdb-bb2b33b9395662e7562be34b47b9533620b583c6.zip
gdb-bb2b33b9395662e7562be34b47b9533620b583c6.tar.gz
gdb-bb2b33b9395662e7562be34b47b9533620b583c6.tar.bz2
Change // comment in gdb/compile/
Diffstat (limited to 'gdb/compile')
-rw-r--r--gdb/compile/compile-c-support.c2
-rw-r--r--gdb/compile/compile-object-load.c2
2 files changed, 2 insertions, 2 deletions
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;