[PATCH v4] gdb: work around negative DW_AT_data_member_location GCC 11 bug
Simon Marchi
simon.marchi@polymtl.ca
Thu Jan 27 21:47:34 GMT 2022
On 2022-01-27 15:46, Tom Tromey wrote:
>>>>>> "Simon" == Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> writes:
>
> Simon> On 2022-01-27 12:15, Simon Marchi wrote:
>>> New in v3:
>>>
>>> - change the test source code from an array of chars to an int, to
>>> match what is described in the DWARF
>
> Simon> Actually, the original version here might have been a simple way to make
> Simon> the test work even if the target has ints that are not 4 bytes. So I'll
> Simon> revert this bit to the original version, but add a comment.
>
> Simon> Latest version (v4) is below.
>
> I read this one too and it looks good. Thanks again.
>
> Tom
Thanks, pushed.
Simon
More information about the Gdb-patches
mailing list