diff options
Diffstat (limited to 'gdb/cp-abi.c')
-rw-r--r-- | gdb/cp-abi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/cp-abi.c b/gdb/cp-abi.c index d95b140..bbb74d4 100644 --- a/gdb/cp-abi.c +++ b/gdb/cp-abi.c @@ -109,7 +109,8 @@ value_rtti_type (struct value *v, int *full, { struct type *ret = NULL; - if ((current_cp_abi.rtti_type) == NULL) + if ((current_cp_abi.rtti_type) == NULL + || !HAVE_CPLUS_STRUCT (check_typedef (value_type (v)))) return NULL; try { |