OSDN Git Service

* bcache.c (bcache_data): Call deprecated_bcache_added function.
authoraristovski <aristovski>
Thu, 5 Jun 2008 19:21:55 +0000 (19:21 +0000)
committeraristovski <aristovski>
Thu, 5 Jun 2008 19:21:55 +0000 (19:21 +0000)
commit1008bc8f34036a1d797a0a22a488c0237394f4ee
tree4325ec442a654c72cf9573fb2d0930bb6ef41272
parent9d8fa2e567e55f17af22ef5cf0a27387bb7bae9f
* bcache.c (bcache_data): Call deprecated_bcache_added function.
(deprecated_bcache_added): New function name. Body of function
bcache_data is used here with the addition of 'added' argument.
* bcache.h (deprecated_bcache_added): New function.
* symfile.c (add_psymbol_to_bcache): New helper function, takes part of
work from add_psymbol_to_list - initialises partial symbol and stashes
it in objfile's cache.
(append_psymbol_to_list): New helper function, takes other part of
work from add_psymbol_to_list - adds partial symbol to the given list.
(add_psymbol_to_list): Call helper functions instead of doing work
here. If adding to global list, do not duplicate partial symbols in the
partial symtab.
gdb/ChangeLog
gdb/bcache.c
gdb/bcache.h
gdb/symfile.c