Change // comment in gdb/compile/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 26 Feb 2015 10:48:18 +0000 (11:48 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 26 Feb 2015 10:48:18 +0000 (11:48 +0100)
gdb/compile/compile-c-support.c
gdb/compile/compile-object-load.c

index 8f1f45d..1711cda 100644 (file)
@@ -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);
index 5903f18..e187970 100644 (file)
@@ -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;