aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/coffread.c11
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);