--- gdb/cp-valprint.c 2018-09-05 03:27:13.000000000 -0400 +++ gdb/cp-valprint.c.new 2018-12-07 07:41:00.657110092 -0500 @@ -329,9 +329,10 @@ cp_print_value_fields (struct type *type } END_CATCH - cp_print_static_field (TYPE_FIELD_TYPE (type, i), - v, stream, recurse + 1, - options); + if (v != NULL) + cp_print_static_field (TYPE_FIELD_TYPE (type, i), + v, stream, recurse + 1, + options); } else if (i == vptr_fieldno && type == vptr_basetype) {