diff options
author | Doug Evans <xdje42@gmail.com> | 2014-11-06 22:32:25 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-11-06 22:32:25 -0800 |
commit | 16b2eaa164b48aa0529304eec38102f1c60578be (patch) | |
tree | 001b7127c5e558db04bf0f2a2ba5a868dd36dec9 /gdb/ChangeLog | |
parent | 405724050266e30fcc8cbcee416cde41862e8e8f (diff) | |
download | gdb-16b2eaa164b48aa0529304eec38102f1c60578be.zip gdb-16b2eaa164b48aa0529304eec38102f1c60578be.tar.gz gdb-16b2eaa164b48aa0529304eec38102f1c60578be.tar.bz2 |
Move lookup_block_symbol to block.c, rename to block_lookup_symbol.
There is another function, lookup_symbol_aux_block, and
the names lookup_block_symbol and lookup_symbol_aux_block don't
convey any real difference between them.
The difference is that lookup_block_symbol lives in the lower level
block API, and lookup_symbol_aux_block lives in the higher level symtab API.
This patch makes this distinction clear.
gdb/ChangeLog:
* symtab.c (lookup_block_symbol): Moved to ...
* block.c (block_lookup_symbol): ... here and renamed.
All callers updated.
* block.h (block_lookup_symbol): Declare.
* symtab.h (lookup_block_symbol): Delete.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 89937e2..dc78a6a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2014-11-06 Doug Evans <xdje42@gmail.com> + * symtab.c (lookup_block_symbol): Moved to ... + * block.c (block_lookup_symbol): ... here and renamed. + All callers updated. + * block.h (block_lookup_symbol): Declare. + * symtab.h (lookup_block_symbol): Delete. + +2014-11-06 Doug Evans <xdje42@gmail.com> + * ada-lang.c (ada_make_symbol_completion_list): Use ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS. * symtab.c (lookup_objfile_from_block): Ditto. |