X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fgcore.c;h=ebb8b0b5c2cab7d88dd9690c7ab5b06c9f346885;hb=0963b4bd458eab010b3b19c9ffd8eb790f2cd06c;hp=d1b85bbabb6935f55ed339a083439a1af99a4580;hpb=7b6bb8daaceb9ecf3f42dea57ae82733d6a3b2f6;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gcore.c b/gdb/gcore.c index d1b85bbabb..ebb8b0b5c2 100644 --- a/gdb/gcore.c +++ b/gdb/gcore.c @@ -427,7 +427,7 @@ gcore_create_callback (CORE_ADDR vaddr, unsigned long size, && !(bfd_get_file_flags (abfd) & BFD_IN_MEMORY)) { flags &= ~(SEC_LOAD | SEC_HAS_CONTENTS); - goto keep; /* break out of two nested for loops */ + goto keep; /* Break out of two nested for loops. */ } } @@ -498,7 +498,7 @@ objfile_find_memory_regions (find_memory_region_ftype func, void *obfd) 0, /* Stack section will not be executable. */ obfd); - /* Make a heap segment. */ + /* Make a heap segment. */ if (derive_heap_segment (exec_bfd, &temp_bottom, &temp_top)) (*func) (temp_bottom, temp_top - temp_bottom, 1, /* Heap section will be readable. */ @@ -537,7 +537,8 @@ gcore_copy_callback (bfd *obfd, asection *osec, void *ignored) if (target_read_memory (bfd_section_vma (obfd, osec) + offset, memhunk, size) != 0) { - warning (_("Memory read failed for corefile section, %s bytes at %s."), + warning (_("Memory read failed for corefile " + "section, %s bytes at %s."), plongest (size), paddress (target_gdbarch, bfd_section_vma (obfd, osec))); break;