diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2008-06-05 19:21:55 +0000 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2008-06-05 19:21:55 +0000 |
commit | 2e618c13af17f36d0f0173786d49abea7308dc24 (patch) | |
tree | d25c6e97d0ee183dcba1b54d3f2d0ec0679188dc /gdb/bcache.h | |
parent | 8a34ac3f587db129417fd57104477cd186b666c8 (diff) | |
download | binutils-gdb-2e618c13af17f36d0f0173786d49abea7308dc24.tar.gz |
* 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.
Diffstat (limited to 'gdb/bcache.h')
-rw-r--r-- | gdb/bcache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/bcache.h b/gdb/bcache.h index f4c7d9d657a..a49d729a305 100644 --- a/gdb/bcache.h +++ b/gdb/bcache.h @@ -150,6 +150,8 @@ extern void *deprecated_bcache (const void *addr, int length, extern const void *bcache (const void *addr, int length, struct bcache *bcache); +extern void *deprecated_bcache_added (const void *addr, int length, + struct bcache *bcache, int *added); /* Free all the storage used by BCACHE. */ extern void bcache_xfree (struct bcache *bcache); |