Add comment regarding section designation:
authorJim Kingdon <jkingdon@engr.sgi.com>
Tue, 21 Sep 1993 19:39:53 +0000 (19:39 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Tue, 21 Sep 1993 19:39:53 +0000 (19:39 +0000)
Mon Sep  6 15:43:25 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

* remote.c (remote_wait): Added 'W' and 'N' responses.

gdb/remote.c

index ca880a8e48b6b2b630080f9db94cda1ae7dd115b..0f174df0e42f4631608a5a87e9a3647ab8854368 100644 (file)
@@ -533,8 +533,15 @@ remote_wait (status)
            {
              struct section_offsets *offs;
 
+             /* FIXME: This code assumes gdb-stabs.h is being used;
+                it's broken for xcoff, dwarf, sdb-coff, etc.  But
+                there is no simple canonical representation for this
+                stuff.  (Just what does "text" as seen by the stub
+                mean, anyway?).  */
+
              /* FIXME: Why don't the various symfile_offsets routines
-                in the sym_fns vectors set this?  */
+                in the sym_fns vectors set this?
+                (no good reason -kingdon).  */
              if (symfile_objfile->num_sections == 0)
                symfile_objfile->num_sections = SECT_OFF_MAX;