[PATCH] Fix bug in read_3ubyte_unaligned_inc

Tom Tromey tom@tromey.com
Sat Oct 24 21:05:55 GMT 2020


Mark> Clearly DW_FORM_strx3 and DW_FORM_addrx3 aren't used much
Mark> (given that it is an index value between larger than 65536).

I don't even really see the need for a 3-byte form.
Anyway if it helps, gdb gets this wrong too -- gdb always uses
little-endian, which seems wrong, but I didn't know how to write a
real-life test case.

Tom


More information about the Elfutils-devel mailing list