aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-10-26 13:53:58 -0700
committerDoug Evans <xdje42@gmail.com>2014-10-26 13:53:58 -0700
commitf88cb4b683ffe4722fcee751c2b046ceb807deed (patch)
tree72354361c72cbac5aa490c7ed41ce1c0958c836f /gdb/symfile.h
parenta023a30fb494294f739b3414a28d11da8c298d3f (diff)
downloadgdb-f88cb4b683ffe4722fcee751c2b046ceb807deed.zip
gdb-f88cb4b683ffe4722fcee751c2b046ceb807deed.tar.gz
gdb-f88cb4b683ffe4722fcee751c2b046ceb807deed.tar.bz2
Rename parameter "kind" to "block_index" in quick lookup functions.
gdb/ChangeLog: * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename parameter "kind" to "block_index". * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to "block_index". (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index ff25028..f56aff3 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -188,7 +188,7 @@ struct quick_symbol_functions
void *data);
/* Check to see if the symbol is defined in a "partial" symbol table
- of OBJFILE. KIND should be either GLOBAL_BLOCK or STATIC_BLOCK,
+ of OBJFILE. BLOCK_INDEX should be either GLOBAL_BLOCK or STATIC_BLOCK,
depending on whether we want to search global symbols or static
symbols. NAME is the name of the symbol to look for. DOMAIN
indicates what sort of symbol to search for.
@@ -198,7 +198,7 @@ struct quick_symbol_functions
contains !TYPE_OPAQUE symbol prefer its symtab. If it contains
only TYPE_OPAQUE symbol(s), return at least that symtab. */
struct symtab *(*lookup_symbol) (struct objfile *objfile,
- int kind, const char *name,
+ int block_index, const char *name,
domain_enum domain);
/* Print statistics about any indices loaded for OBJFILE. The