diff options
author | Tom Tromey <tromey@redhat.com> | 2011-04-04 14:10:11 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-04-04 14:10:11 +0000 |
commit | bb1119f31940c26ea8847b67f6d0d1ae50712119 (patch) | |
tree | 840f357b8df91b00781df508245601504ef56b26 /gdb/symfile.h | |
parent | 0d859768585b4c2db4b8b2c9f10d8a570865d10d (diff) | |
download | gdb-bb1119f31940c26ea8847b67f6d0d1ae50712119.tar.gz |
* symtab.h (domain_enum): Split in two...
(enum search_domain): New.
(search_symbols): Update.
* symtab.c (print_symbol_info, symtab_symbol_info): Remove
redundant declarations.
(search_symbols): Change 'kind' argument to search_domain.
Update.
(print_symbol_info): Likewise.
(symtab_symbol_info): Likewise.
* symfile.h (struct quick_symbol_functions)
<pre_expand_symtabs_matching>: Change type of 'kind' argument.
<expand_symtabs_matching>: Likewise.
* psymtab.c (pre_expand_symtabs_matching_psymtabs): Update.
(expand_symtabs_matching_via_partial): Update.
* dwarf2read.c (dw2_pre_expand_symtabs_matching): Update.
(dw2_expand_symtabs_for_function): Update.
* block.h: Moved anonymous enum...
* defs.h (enum block_enum): ... here. Now named.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r-- | gdb/symfile.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h index a0151eafadb..89254829bd3 100644 --- a/gdb/symfile.h +++ b/gdb/symfile.h @@ -182,7 +182,8 @@ struct quick_symbol_functions doesn't make sense to implement both.) The arguments are as for `lookup_symbol'. */ void (*pre_expand_symtabs_matching) (struct objfile *objfile, - int kind, const char *name, + enum block_enum block_kind, + const char *name, domain_enum domain); /* Print statistics about any indices loaded for OBJFILE. The @@ -265,7 +266,7 @@ struct quick_symbol_functions void (*expand_symtabs_matching) (struct objfile *objfile, int (*file_matcher) (const char *, void *), int (*name_matcher) (const char *, void *), - domain_enum kind, + enum search_domain kind, void *data); /* Return the symbol table from OBJFILE that contains PC and |