This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

pushed: [RFA/commit] gdb/dwarf2read: Minimal handling of non-constant struct sizes.


> > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]