2004-06-08 Paul N. Hilfinger <Hilfinger@gnat.com>

* ada-lang.c (lookup_symbol_in_language): New function to allow
	re-use of another language's symbol lookup code.  (Placed here
	temporarily while Ada support is being integrated into the public
	tree).
	(restore_language): New auxiliary function for
	lookup_symbol_in_language.
	* ada-lang.h (lookup_symbol_in_language): Declare (Placed here
	temporarily while Ada support is being integrated into the public
	tree).
This commit is contained in:
Paul N. Hilfinger
2004-06-08 08:42:04 +00:00
parent eef0f186e0
commit f26caa1115
3 changed files with 47 additions and 0 deletions

View File

@@ -393,4 +393,15 @@ extern void ada_find_printable_frame (struct frame_info *fi);
extern void ada_reset_thread_registers (void);
/* Look up a symbol by name using the search conventions of
a specific language (optional block, optional symtab).
FIXME: Should be symtab.h. */
extern struct symbol *lookup_symbol_in_language (const char *,
const struct block *,
domain_enum,
enum language,
int *,
struct symtab **);
#endif