summaryrefslogtreecommitdiff
path: root/gdb/cp-support.h
diff options
context:
space:
mode:
authorMichael Chastain <mec.gnu@mindspring.com>2003-12-05 04:25:09 +0000
committerMichael Chastain <mec.gnu@mindspring.com>2003-12-05 04:25:09 +0000
commitf394fc52a3da6d651c1361863e1c9700c31103f8 (patch)
tree8746afee29bc9b248734a133e7ee02714a82d9b4 /gdb/cp-support.h
parent9b8eb889214f5de4cdaa6396da2e1266d212cc8a (diff)
downloadgdb-f394fc52a3da6d651c1361863e1c9700c31103f8.tar.gz
2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
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.
Diffstat (limited to 'gdb/cp-support.h')
-rw-r--r--gdb/cp-support.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/cp-support.h b/gdb/cp-support.h
index d8cb5252d55..c08efe1539c 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;