pushed: [RFA/commit] gdb/dwarf2read: Minimal handling of non-constant struct sizes.
Joel Brobecker
brobecker@adacore.com
Mon Nov 23 17:46:00 GMT 2015
> > gdb/ChangeLog:
> >
> > * dwarf2read.c (read_structure_type): Set the type's length
> > to zero if it has a DW_AT_byte_size attribute which is not
> > a constant.
> >
> > gdb/testsuite/ChangeLog:
> >
> > * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
> >
> > Tested on x86_64-linux.
>
> LGTM.
Thanks, Pedro. Now pushed.
--
Joel
More information about the Gdb-patches
mailing list