From afa01c54deba6552a785b3066cf5a061eff88917 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Tue, 21 Sep 1993 19:39:53 +0000 Subject: [PATCH] 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. --- gdb/remote.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/remote.c b/gdb/remote.c index ca880a8e48..0f174df0e4 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;