aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2005-07-20 00:24:49 +0000
committerDevang Patel <dpatel@apple.com>2005-07-20 00:24:49 +0000
commit71efb5c37550ef6db31122a65a792c1b5af5ae76 (patch)
tree812cf3867c07299850b059a863ccb42498596e91 /gcc/dbxout.c
parent2014e52f4f8b90909d0c49a561e21d3509843aea (diff)
* dbxout.c (dbxout_type): Check Objective-C++ lang.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@102181 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 74e4bb8daa8..caff4f2faf9 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. */