diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-22 20:09:26 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-22 20:09:26 +0000 |
commit | b3fdaf3d368003efaef252f67e0c7ca2a624277f (patch) | |
tree | c0b1491068c5c48f9464bd93b129b7dbb900675b /gdb/symfile.c | |
parent | 777bef06cd075ee4031187fe28381d5d5edd4f94 (diff) | |
download | gdb-b3fdaf3d368003efaef252f67e0c7ca2a624277f.zip gdb-b3fdaf3d368003efaef252f67e0c7ca2a624277f.tar.gz gdb-b3fdaf3d368003efaef252f67e0c7ca2a624277f.tar.bz2 |
* symfile.c (symbol_file_add): Add comment.
solib.c (solib_add): Don't malloc name passed to symbol_file_add.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index ab75f22..395d730 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -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 |