aboutsummaryrefslogtreecommitdiff
path: root/gdb/block.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-04-04 14:10:12 +0000
committerTom Tromey <tromey@redhat.com>2011-04-04 14:10:12 +0000
commit8903c50da7496b9e04c3db262ec7020a206cab79 (patch)
tree95114b313de18eed3a6913afa8fb17f88b761c29 /gdb/block.h
parent1e99536ae5e3e54a10f35e8c915d3bd6c44140bd (diff)
downloadgdb-8903c50da7496b9e04c3db262ec7020a206cab79.zip
gdb-8903c50da7496b9e04c3db262ec7020a206cab79.tar.gz
gdb-8903c50da7496b9e04c3db262ec7020a206cab79.tar.bz2
* 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/block.h')
-rw-r--r--gdb/block.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/block.h b/gdb/block.h
index 07d5bc7..923013c 100644
--- a/gdb/block.h
+++ b/gdb/block.h
@@ -129,10 +129,6 @@ struct blockvector
#define BLOCKVECTOR_BLOCK(blocklist,n) (blocklist)->block[n]
#define BLOCKVECTOR_MAP(blocklist) ((blocklist)->map)
-/* Special block numbers */
-
-enum { GLOBAL_BLOCK = 0, STATIC_BLOCK = 1, FIRST_LOCAL_BLOCK = 2 };
-
extern struct symbol *block_linkage_function (const struct block *);
extern int block_inlined_p (const struct block *block);