aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-support.h
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2003-12-05 04:25:09 +0000
committerMichael Chastain <mec@google.com>2003-12-05 04:25:09 +0000
commit362ff856039fd10e1dc996d424d03dc02d410e5f (patch)
tree87ce1810335efaf86109db8ea21d4c3804134735 /gdb/cp-support.h
parentaeadede63fe8a6a8b7f685e55fb03d349eb90913 (diff)
downloadfsf-binutils-gdb-362ff856039fd10e1dc996d424d03dc02d410e5f.zip
fsf-binutils-gdb-362ff856039fd10e1dc996d424d03dc02d410e5f.tar.gz
fsf-binutils-gdb-362ff856039fd10e1dc996d424d03dc02d410e5f.tar.bz2
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 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;