diff options
Diffstat (limited to 'gdb/gnu-v3-abi.c')
-rw-r--r-- | gdb/gnu-v3-abi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c index 25a437b3497..6c6f92ce06e 100644 --- a/gdb/gnu-v3-abi.c +++ b/gdb/gnu-v3-abi.c @@ -287,6 +287,10 @@ gnuv3_rtti_type (struct value *value, if (TYPE_CODE (values_type) != TYPE_CODE_CLASS) return NULL; + /* Java doesn't have RTTI following the C++ ABI. */ + if (TYPE_CPLUS_REALLY_JAVA (values_type)) + return NULL; + /* Determine architecture. */ gdbarch = get_type_arch (values_type); |