diff options
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r-- | gdb/symfile.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h index 1f4460c..14f48f3 100644 --- a/gdb/symfile.h +++ b/gdb/symfile.h @@ -45,37 +45,6 @@ struct axs_value; typedef int (symbol_compare_ftype) (const char *string1, const char *string2); -/* Partial symbols are stored in the psymbol_cache and pointers to - them are kept in a dynamically grown array that is obtained from - malloc and grown as necessary via realloc. Each objfile typically - has two of these, one for global symbols and one for static - symbols. Although this adds a level of indirection for storing or - accessing the partial symbols, it allows us to throw away duplicate - psymbols and set all pointers to the single saved instance. */ - -struct psymbol_allocation_list -{ - - /* Pointer to beginning of dynamically allocated array of pointers - to partial symbols. The array is dynamically expanded as - necessary to accommodate more pointers. */ - - struct partial_symbol **list; - - /* Pointer to next available slot in which to store a pointer to a - partial symbol. */ - - struct partial_symbol **next; - - /* Number of allocated pointer slots in current dynamic array (not - the number of bytes of storage). The "next" pointer will always - point somewhere between list[0] and list[size], and when at - list[size] the array will be expanded on the next attempt to - store a pointer. */ - - int size; -}; - struct other_sections { CORE_ADDR addr; |