Re: [PATCH 6/7] gdb: select "Cygwin" OS ABI for Cygwin binaries

Tom Tromey
2020-04-01T19:05:06Z

>>>>> "Simon" == Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> writes:

Simon> + warning (_("\
Simon> +Failed to parse .idata section: name's virtual address (0x%" BFD_VMA_FMT "x) \
Simon> +is outside .idata section's range [0x%" BFD_VMA_FMT "x, 0x%" BFD_VMA_FMT "x[."),
Simon> + name_addr, idata_addr, idata_addr + idata_size);

Our internal test suite has started failing a test due to this output:

warning: Failed to parse .idata section: name's virtual address (0x1) is outside .idata section's range [0x120500, 0x12bd64[.
warning: Failed to parse .idata section: name's virtual address (0x1) is outside .idata section's range [0xea210, 0xefbb0[.
warning: Failed to parse .idata section: name's virtual address (0x1) is outside .idata section's range [0x9b578, 0x9d042[.

I assume this is a bug in this code? I don't really know.

Are there known problems here?

I can probably get you an executable if that would help.
("Probably" because I haven't tried to reproduce by hand, I've only seen
it in automation, and I'd have to do it by hand to get the exe.)

Tom