* dbxread.c, coffread.c: A few changes to comments.
authorJim Kingdon <jkingdon@engr.sgi.com>
Wed, 29 Sep 1993 04:15:43 +0000 (04:15 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Wed, 29 Sep 1993 04:15:43 +0000 (04:15 +0000)
gdb/ChangeLog
gdb/coffread.c

index ef2fa78a41cdb45625a8172d3caf1033e2495e35..ec7d5a8a2c616041d11cfe1098584c2a165b07c3 100644 (file)
@@ -1,3 +1,7 @@
+Tue Sep 28 23:08:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * dbxread.c, coffread.c: A few changes to comments.
+
 Tue Sep 28 18:39:37 1993  Stan Shebs  (shebs@rtl.cygnus.com)
 
        * configure.in: Rename ...-lynx* to ...-lynxos*.
 Tue Sep 28 18:39:37 1993  Stan Shebs  (shebs@rtl.cygnus.com)
 
        * configure.in: Rename ...-lynx* to ...-lynxos*.
index 8b3530dd33656eff2fe722afdfe5e6f064d71b2c..ac252d7dd80612cb6f4e3ab513e90436c83c93e3 100644 (file)
@@ -296,7 +296,10 @@ coff_locate_sections PARAMS ((bfd *, asection *, PTR));
    if it is something we are interested in processing, and
    if so, stash away some access information for the section.
 
    if it is something we are interested in processing, and
    if so, stash away some access information for the section.
 
-   FIXME:  The section names should not be hardwired strings. */
+   FIXME: The section names should not be hardwired strings (what
+   should they be?  I don't think most debug formats have enough
+   special section flags to specify what kind of debug section it is
+   -kingdon). */
 
 static void
 coff_locate_sections (ignore_abfd, sectp, csip)
 
 static void
 coff_locate_sections (ignore_abfd, sectp, csip)
@@ -371,6 +374,9 @@ coff_alloc_type (index)
   return type;
 }
 \f
   return type;
 }
 \f
+/* Record a line number entry for line LINE at address PC.
+   FIXME:  Use record_line instead.  */
+
 static void
 coff_record_line (line, pc)
      int line;
 static void
 coff_record_line (line, pc)
      int line;
@@ -668,7 +674,8 @@ coff_symfile_read (objfile, section_offsets, mainline)
 
   if (info->stabsect)
     {
 
   if (info->stabsect)
     {
-      /* dubious */
+      /* FIXME: dubious.  Why can't we use something normal like
+        bfd_get_section_contents?  */
       fseek ((FILE *) abfd->iostream, abfd->where, 0);
 
       stabsize = bfd_section_size (abfd, info->stabsect);
       fseek ((FILE *) abfd->iostream, abfd->where, 0);
 
       stabsize = bfd_section_size (abfd, info->stabsect);