From 0ccbaadcf284b4843ebb6996e1e997c1d5c9bace Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 29 Sep 1993 04:15:43 +0000 Subject: [PATCH] * dbxread.c, coffread.c: A few changes to comments. --- gdb/ChangeLog | 4 ++++ gdb/coffread.c | 11 +++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ef2fa78..ec7d5a8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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*. 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); -- 2.7.4