diff options
author | Pedro Alves <palves@redhat.com> | 2008-05-19 18:37:07 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-05-19 18:37:07 +0000 |
commit | 6c9353d3467c71c60b7d08215263efdaddd3711c (patch) | |
tree | 7d1480cc078e7ebfffad59ad0d494e46963d78c4 /gdb/symtab.c | |
parent | 2570f2b7e1242480dcf1db929ca99febce976ca0 (diff) | |
download | gdb-6c9353d3467c71c60b7d08215263efdaddd3711c.zip gdb-6c9353d3467c71c60b7d08215263efdaddd3711c.tar.gz gdb-6c9353d3467c71c60b7d08215263efdaddd3711c.tar.bz2 |
* symtab.h (lookup_symbol_in_language): Update comment.
* symtab.c (lookup_symbol_aux_block): Update comment.
* ada-lang.c (ada_lookup_symbol_list): Update comment.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 4f19d13..4e2b2a5 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -1169,8 +1169,6 @@ fixup_psymbol_section (struct partial_symbol *psym, struct objfile *objfile) /* Find the definition for a specified symbol name NAME in domain DOMAIN, visible from lexical block BLOCK. Returns the struct symbol pointer, or zero if no symbol is found. - If SYMTAB is non-NULL, store the symbol table in which the - symbol was found there, or NULL if not found. C++: if IS_A_FIELD_OF_THIS is nonzero on entry, check to see if NAME is a field of the current implied argument `this'. If so set *IS_A_FIELD_OF_THIS to 1, otherwise set it to zero. @@ -1399,8 +1397,8 @@ lookup_objfile_from_block (const struct block *block) return NULL; } -/* Look up a symbol in a block; if found, locate its symtab, fixup the - symbol, and set block_found appropriately. */ +/* Look up a symbol in a block; if found, fixup the symbol, and set + block_found appropriately. */ struct symbol * lookup_symbol_aux_block (const char *name, const char *linkage_name, |