This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 2/6] Handle alignof and _Alignof
>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
Pedro> There was a snippet in the patch that made me wonder if the patch
Pedro> handles alignof of a no-debug-info variable and and the return-type
Pedro> of a no-debug-info function correctly (instead of e.g., crashing).
Pedro> I'd be nice to add a couples test to gdb.base/nodebug.exp
Pedro> to make sure. E.g.:
Pedro> p _Alignof (dataglobal64_1)
Pedro> p _Alignof (middle())"
I think these can't be done because _Alignof only applies to types.
Tom