From f26caa111510d587da5a777082803dedef2f42eb Mon Sep 17 00:00:00 2001 From: "Paul N. Hilfinger" Date: Tue, 8 Jun 2004 08:42:04 +0000 Subject: 2004-06-08 Paul N. Hilfinger * 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). --- gdb/ada-lang.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gdb/ada-lang.h') diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h index 0ec47b4..0381eff 100644 --- a/gdb/ada-lang.h +++ b/gdb/ada-lang.h @@ -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 -- cgit v1.1