This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Variable Length Arrays (VLA) proposal
- From: Chris January <chris dot january at allinea dot com>
- To: gdb at sourceware dot org
- Date: Fri, 28 Jun 2013 16:40:39 +0100
- Subject: Re: Variable Length Arrays (VLA) proposal
- References: <0377C58828D86C4588AEEC42FC3B85A7176288F9 at IRSMSX105 dot ger dot corp dot intel dot com>
Hello Sanimir,
On Fri, 2013-06-28 at 13:01 +0000, Agovic, Sanimir wrote:
> (1)
> Resolving check_typedef:
> (2)
> Type normalization:
> (3)
> Split struct type:
Just to add another possibility, we implemented VLA for Fortran by
wrapping read_var_value and then adding a call to f_fixup_value which
'fixed up' the type of the variable (filled in the array bounds, etc.)
by modifying the original type. (It also auto-dereferences pointers).
Regards,
Chris January - VP Engineering - Allinea Software Ltd.