Change // comment in gdb/compile/

This commit is contained in:
Jan Kratochvil
2015-02-26 11:48:18 +01:00
parent 9357a9e66e
commit bb2b33b939
2 changed files with 2 additions and 2 deletions

View File

@ -351,7 +351,7 @@ c_compute_program (struct compile_instance *inst,
" __gdb_intptr;\n", " __gdb_intptr;\n",
buf); 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) for (i = 0; i < 4; ++i)
{ {
const char *mode = c_get_mode_for_size (1 << i); const char *mode = c_get_mode_for_size (1 << i);

View File

@ -67,7 +67,7 @@ setup_sections (bfd *abfd, asection *sect, void *data_voidp)
if ((bfd_get_section_flags (abfd, sect) & SEC_ALLOC) == 0) if ((bfd_get_section_flags (abfd, sect) & SEC_ALLOC) == 0)
return; return;
// Make the memory always readable. /* Make the memory always readable. */
prot = GDB_MMAP_PROT_READ; prot = GDB_MMAP_PROT_READ;
if ((bfd_get_section_flags (abfd, sect) & SEC_READONLY) == 0) if ((bfd_get_section_flags (abfd, sect) & SEC_READONLY) == 0)
prot |= GDB_MMAP_PROT_WRITE; prot |= GDB_MMAP_PROT_WRITE;