aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-09-29 04:15:43 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-09-29 04:15:43 +0000
commit0ccbaadcf284b4843ebb6996e1e997c1d5c9bace (patch)
tree45d442a3436f3f415b76212b9a57b36393db6e1b /gdb/coffread.c
parentb5b186a2cd2fd9fd03cbdf574ec48490b978e182 (diff)
downloadgdb-0ccbaadcf284b4843ebb6996e1e997c1d5c9bace.zip
gdb-0ccbaadcf284b4843ebb6996e1e997c1d5c9bace.tar.gz
gdb-0ccbaadcf284b4843ebb6996e1e997c1d5c9bace.tar.bz2
* dbxread.c, coffread.c: A few changes to comments.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index 8b3530d..ac252d7 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -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.
- 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)
@@ -371,6 +374,9 @@ coff_alloc_type (index)
return type;
}
+/* 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;
@@ -668,7 +674,8 @@ coff_symfile_read (objfile, section_offsets, mainline)
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);