* symfile.c (symbol_file_add): Add comment.

solib.c (solib_add): Don't malloc name passed to symbol_file_add.
This commit is contained in:
Jim Kingdon
1991-04-22 20:09:26 +00:00
parent 777bef06cd
commit b3fdaf3d36
3 changed files with 39 additions and 16 deletions

View File

@@ -379,10 +379,11 @@ psymtab_to_symtab (pst)
/* Process a symbol file, as either the main file or as a dynamically
loaded file.
NAME is the file name (which will be tilde-expanded and made absolute
herein). FROM_TTY says how verbose to be. MAINLINE specifies whether
this is the main symbol file, or whether it's an extra symbol file
such as dynamically loaded code. If !mainline, ADDR is the address
NAME is the file name (which will be tilde-expanded and made
absolute herein) (but we don't free or modify NAME itself).
FROM_TTY says how verbose to be. MAINLINE specifies whether this
is the main symbol file, or whether it's an extra symbol file such
as dynamically loaded code. If !mainline, ADDR is the address
where the text segment was loaded. */
void