]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Rewrite leb.h:read_3_bytes
authorTom Tromey <tromey@adacore.com>
Wed, 4 Nov 2020 15:21:36 +0000 (08:21 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 4 Nov 2020 15:22:05 +0000 (08:22 -0700)
commit93f9561e0fa112bab102dc2c22dd114c84c06a16
treef94d27ff133866e178795c6c7cd39ea11b926d5d
parentad1b5e48d5ddc9e23b31cfee1ba8c0be7d8a2d32
Rewrite leb.h:read_3_bytes

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

2020-11-04  Tom Tromey  <tromey@adacore.com>

* dwarf2/leb.h (read_3_bytes): Use bfd_get_24.
gdb/ChangeLog
gdb/dwarf2/leb.h