aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-06-12 15:33:45 +0000
committerDavid Carlton <carlton@bactrian.org>2003-06-12 15:33:45 +0000
commitb64296285dff79d58ce7b9dad578d5f3438a6cd4 (patch)
treec0da4b856c19734555a8da3d1f52fd63f4ec65d9 /gdb/symtab.h
parent00c22daa1fec5c861e84cc6caa129e7c9a4d1b71 (diff)
downloadgdb-b64296285dff79d58ce7b9dad578d5f3438a6cd4.zip
gdb-b64296285dff79d58ce7b9dad578d5f3438a6cd4.tar.gz
gdb-b64296285dff79d58ce7b9dad578d5f3438a6cd4.tar.bz2
2003-06-12 David Carlton <carlton@bactrian.org>
* symtab.h: Delete declaration of make_symbol_overload_list. Add declaration of lookup_partial_symbol. * symtab.c (remove_params): Move to cp-support.c. (overload_list_add_symbol, make_symbol_overload_list) (sym_return_val_size, sym_return_val_index): Ditto. (lookup_partial_symbol): Make extern. * cp-support.h: Add declaration of make_symbol_overload_list. * cp-support.c: Include dictionary.h, objfiles.h, frame.h, symtab.h, and block.h. (remove_params): Move here from symtab.c. (overload_list_add_symbol, make_symbol_overload_list) (sym_return_val_size, sym_return_val_index): Ditto. * valops.c: Include cp-support.h. * Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h, frame_h, and block_h. (valops.o): Depend on cp_support_h.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 87cf116..771675a 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1024,6 +1024,13 @@ extern struct symbol *lookup_symbol_aux_block (const char *name,
const domain_enum domain,
struct symtab **symtab);
+/* Lookup a partial symbol. */
+
+extern struct partial_symbol *lookup_partial_symbol (struct partial_symtab *,
+ const char *,
+ const char *, int,
+ domain_enum);
+
/* lookup a symbol by name, within a specified block */
extern struct symbol *lookup_block_symbol (const struct block *, const char *,
@@ -1286,8 +1293,6 @@ extern char **make_symbol_completion_list (char *, char *);
extern char **make_file_symbol_completion_list (char *, char *, char *);
-extern struct symbol **make_symbol_overload_list (struct symbol *);
-
extern char **make_source_files_completion_list (char *, char *);
/* symtab.c */