diff options
Diffstat (limited to 'gdb/c-varobj.c')
-rw-r--r-- | gdb/c-varobj.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/c-varobj.c b/gdb/c-varobj.c index 03656c0..7f12989 100644 --- a/gdb/c-varobj.c +++ b/gdb/c-varobj.c @@ -145,8 +145,7 @@ c_is_path_expr_parent (const struct varobj *var) /* Anonymous unions and structs are also not path_expr parents. */ if ((TYPE_CODE (type) == TYPE_CODE_STRUCT || TYPE_CODE (type) == TYPE_CODE_UNION) - && TYPE_NAME (type) == NULL - && TYPE_TAG_NAME (type) == NULL) + && TYPE_NAME (type) == NULL) { const struct varobj *parent = var->parent; |