[PATCH] Fix ptype/o bug with "<no data fields>"

Lancelot SIX lsix@lancelotsix.com
Thu Apr 22 21:45:53 GMT 2021


On Thu, Apr 22, 2021 at 07:17:16AM -0600, Tom Tromey wrote:
> >>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:
> 
> >> gdb/ChangeLog
> >> 2021-04-21  Tom Tromey  <tom@tromey.com>
> >> 
> >> * c-typeprint.c (c_type_print_base_struct_union): Use
> >> print_spaces_filtered_with_print_options.
> >> 
> >> gdb/testsuite/ChangeLog
> >> 2021-04-21  Tom Tromey  <tom@tromey.com>
> >> 
> >> * gdb.base/ptype-offsets.cc (struct empty_member): New.
> >> (main): Use empty_member.
> >> * gdb.base/ptype-offsets.exp: Add new test.
> 
> Andrew> LGTM.
> 
> Thanks.  I think I'll hold this one until the other ptype/o patches
> land.
> 
> Tom

Hi,

I think you are referring to my ptype patch
(https://sourceware.org/pipermail/gdb-patches/2021-April/177841.html)
which still needs to be approved for the documentation part.

I do not mind reworking it to take into account this patch if it lands
in master first.  It should only have conflicts on the tests, which will
be easy to fix.

Lancelot.


More information about the Gdb-patches mailing list