aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-31 15:46:34 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-31 15:46:34 +0000
commitf6c4bf1a82bff3359f5bb40bbca4ed62017fcac6 (patch)
tree0c1d733fc930b362b79705ae84e245a11730cd43 /gdb/symfile.c
parente6d739ebb516e5b3c192d5dc5c899097b62147a2 (diff)
downloadgdb-f6c4bf1a82bff3359f5bb40bbca4ed62017fcac6.zip
gdb-f6c4bf1a82bff3359f5bb40bbca4ed62017fcac6.tar.gz
gdb-f6c4bf1a82bff3359f5bb40bbca4ed62017fcac6.tar.bz2
* objfiles.h, infcmd.c, symfile.c: Add comments about how various
objfiles get created and when we should blow them away.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 5dbcbfa..8430ae9 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -376,6 +376,11 @@ syms_from_objfile (objfile, addr, mainline, verbo)
symfile_objfile = NULL;
}
+ /* Currently we keep symbols from the add-symbol-file command.
+ If the user wants to get rid of them, they should do "symbol-file"
+ without arguments first. Not sure this is the best behavior
+ (PR 2207). */
+
(*objfile -> sf -> sym_new_init) (objfile);
}