From 362ff856039fd10e1dc996d424d03dc02d410e5f Mon Sep 17 00:00:00 2001 From: Michael Chastain Date: Fri, 5 Dec 2003 04:25:09 +0000 Subject: 2003-12-04 Michael Chastain Partial fix for PR c++/1465. Fix for PR c++/1377. * cp-support.h (cp_lookup_rtti_type): New function. * cp-support.c (cp_lookup_rtti_type): New function. * gnu-v2-abi.c: Update copyright years. (gnuv2_rtti_type): Call cp_lookup_rtti_type. * gnu-v3-abi.c: Update copyright years. (gnuv3_rtti_type): Call cp_lookup_rtti_type. --- gdb/cp-support.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/cp-support.h') diff --git a/gdb/cp-support.h b/gdb/cp-support.h index d8cb525..c08efe1 100644 --- a/gdb/cp-support.h +++ b/gdb/cp-support.h @@ -34,6 +34,7 @@ struct symbol; struct obstack; struct block; struct objfile; +struct type; /* This struct is designed to store data from using directives. It says that names from namespace INNER should be visible within @@ -61,6 +62,9 @@ extern unsigned int cp_entire_prefix_len (const char *name); extern struct symbol **make_symbol_overload_list (struct symbol *); +extern struct type *cp_lookup_rtti_type (const char *name, + struct block *block); + /* Functions/variables from cp-namespace.c. */ extern unsigned char processing_has_namespace_info; -- cgit v1.1