This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
pushed: [RFA/commit] gdb/dwarf2read: Minimal handling of non-constant struct sizes.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 23 Nov 2015 09:46:36 -0800
- Subject: pushed: [RFA/commit] gdb/dwarf2read: Minimal handling of non-constant struct sizes.
- Authentication-results: sourceware.org; auth=none
- References: <1447092144-20278-1-git-send-email-brobecker at adacore dot com> <564F4388 dot 4050901 at redhat dot com>
> > 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