aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-09-21 19:39:53 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-09-21 19:39:53 +0000
commitafa01c54deba6552a785b3066cf5a061eff88917 (patch)
tree51ee2a01237fc890fc330e9362d8906016bc58d0 /gdb
parent4ef6b45196a6099536efa947d9cd0a306c964dc3 (diff)
downloadgdb-afa01c54deba6552a785b3066cf5a061eff88917.zip
gdb-afa01c54deba6552a785b3066cf5a061eff88917.tar.gz
gdb-afa01c54deba6552a785b3066cf5a061eff88917.tar.bz2
Add comment regarding section designation:
Mon Sep 6 15:43:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * remote.c (remote_wait): Added 'W' and 'N' responses.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/remote.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index ca880a8..0f174df 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -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;