* bcache.c (bcache_data): Call deprecated_bcache_added function.
authorAleksandar Ristovski <aristovski@qnx.com>
Thu, 5 Jun 2008 19:21:55 +0000 (19:21 +0000)
committerAleksandar Ristovski <aristovski@qnx.com>
Thu, 5 Jun 2008 19:21:55 +0000 (19:21 +0000)
commit2e618c13af17f36d0f0173786d49abea7308dc24
treed25c6e97d0ee183dcba1b54d3f2d0ec0679188dc
parent8a34ac3f587db129417fd57104477cd186b666c8
* 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