diff options
Diffstat (limited to 'gdb/opencl-lang.c')
-rw-r--r-- | gdb/opencl-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/opencl-lang.c b/gdb/opencl-lang.c index d686c6e..ae95d77 100644 --- a/gdb/opencl-lang.c +++ b/gdb/opencl-lang.c @@ -1008,7 +1008,7 @@ opencl_print_type (struct type *type, const char *varstring, { type = check_typedef (type); if (type->code () == TYPE_CODE_ARRAY && TYPE_VECTOR (type) - && TYPE_NAME (type) != NULL) + && type->name () != NULL) show = 0; } |