aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/dbxout.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d411fc2..45251cb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-07-19 Devang Patel <dpatel@apple.com>
+
+ * dbxout.c (dbxout_type): Check Objective-C++ lang.
+
2005-07-19 Richard Henderson <rth@redhat.com>
PR tree-opt/22278
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 74e4bb8..caff4f2 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -2081,7 +2081,8 @@ dbxout_type (tree type, int full)
access == access_protected_node
? '1' :'0');
if (BINFO_VIRTUAL_P (child)
- && strcmp (lang_hooks.name, "GNU C++") == 0)
+ && (strcmp (lang_hooks.name, "GNU C++") == 0
+ || strcmp (lang_hooks.name, "GNU Objective-C++") == 0))
/* For a virtual base, print the (negative)
offset within the vtable where we must look
to find the necessary adjustment. */