The read_3ubyte_unaligned_inc macro calls read_2ubyte_unaligned, but
it should call read_3ubyte_unaligned.
Signed-off-by: Tom Tromey <tom@tromey.com>
+2020-10-23 Tom Tromey <tom@tromey.com>
+
+ * memory-access.h (read_3ubyte_unaligned_inc): Call
+ read_3ubyte_unaligned.
+
2020-09-03 Mark Wielaard <mark@klomp.org>
* dwarf.h: Add DW_CFA_AARCH64_negate_ra_state.
#define read_3ubyte_unaligned_inc(Dbg, Addr) \
- ({ uint32_t t_ = read_2ubyte_unaligned (Dbg, Addr); \
+ ({ uint32_t t_ = read_3ubyte_unaligned (Dbg, Addr); \
Addr = (__typeof (Addr)) (((uintptr_t) (Addr)) + 3); \
t_; })