]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/symtab.c
Clean up some function comments in symtab.[ch].
authorDoug Evans <xdje42@gmail.com>
Sun, 26 Oct 2014 16:35:53 +0000 (09:35 -0700)
committerDoug Evans <xdje42@gmail.com>
Sun, 26 Oct 2014 16:35:53 +0000 (09:35 -0700)
commitcf901d3bbac471a581776dbe88dd838d96a894c0
tree1aa783820e3cec39dcb42e29dfdf5e8986e42d80
parentff6c39cf9cea7cdb925557493408808da2bf6e15
Clean up some function comments in symtab.[ch].

gdb/ChangeLog:

* symtab.h (struct field_of_this_result): Fix typo in comment.
(lookup_symbol_in_language): Move function comment here.
(lookup_symbol): Improve function comment.
(basic_lookup_symbol_nonlocal): Ditto.
(lookup_symbol_static, lookup_symbol_global): Ditto.
(lookup_symbol_aux_block): Ditto.
(lookup_language_this): Add function comment.
(lookup_static_symbol_aux): Explicitly mark as extern.  Improve
function comment.
(lookup_block_symbol): Improve function comment.
(lookup_struct): Fix capitalization in function comment.
(lookup_transparent_type): Add function comment.
(lookup_global_symbol_from_objfile): Explicitly mark as extern.
Improve function comment.
(lookup_objfile_from_block): Add function comment.
* symtab.c (lookup_symbol_in_language): Update function comment.
(lookup_symbol, lookup_language_this): Ditto.
(lookup_static_symbol_aux, lookup_objfile_from_block): Ditto.
(lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto.
(basic_lookup_symbol_nonlocal): Ditto.
(lookup_symbol_static, lookup_symbol_global): Ditto.
(lookup_transparent_type, lookup_block_symbol): Ditto.
gdb/ChangeLog
gdb/symtab.c
gdb/symtab.h