This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] const array types
On Fri, 24 Sep 2010 00:37:09 +0200, Jan Kratochvil wrote:
> > + while (TYPE_CODE (TYPE_TARGET_TYPE (inner_array)) == TYPE_CODE_ARRAY)
>
> The type can be opaque and TYPE_TARGET_TYPE is then NULL. Opaque type should
> not be possible to be produced for an array element but some `error' call
> would be nice there.
Pleas discard this comment, there is always at least a reference to
builtin_void.
Sorry,
Jan