[PATCH] Rewrite leb.h:read_3_bytes

Tom Tromey tromey@adacore.com
Wed Nov 4 15:21:32 GMT 2020


>>>>> "Tom" == Tom Tromey <tromey@adacore.com> writes:

Tom> read_3_bytes assumes little-endian data, but in fact it depends on the
Tom> BFD.  This patch rewrites this function to use bfd_get_24 instead.

Tom> gdb/ChangeLog
Tom> 2020-10-26  Tom Tromey  <tromey@adacore.com>

Tom> 	* dwarf2/leb.h (read_3_bytes): Use bfd_get_24.

I'm checking this in.

Tom


More information about the Gdb-patches mailing list