Re: [Ada] Small tweak to help GDB to display aliased dynamic array

2012-02-27 Thread Eric Botcazou
> 2012-01-27 Eric Botcazou > > * gcc-interface/decl.c (gnat_to_gnu_entity) : For an aliased > object with an unconstrained nominal subtype and if optimization isn't > enabled, create a special VAR_DECL for debugging purposes. Unfortunately this isn't robust, so the attached pa

[Ada] Small tweak to help GDB to display aliased dynamic array

2012-01-27 Thread Eric Botcazou
This isn't a regression, but the patch doesn't change the generated code, just creates a VAR_DECL for debugging purposes. Tested on i586-suse-linux, applied on the mainline. 2012-01-27 Eric Botcazou * gcc-interface/decl.c (gnat_to_gnu_entity) : For an aliased object with an