[PATCH 0/1] riscv: Ensure LE instruction fetching
Jan Beulich
jbeulich@suse.com
Tue Jun 20 11:44:46 GMT 2023
On 20.06.2023 13:43, Branislav Brzak wrote:
> Currently riscv gdb code looks at arch byte order
> when fetching instructions. This works when the
> target is LE, but on BE arch it will byte swap the
> instruction, while the riscv spec defines all
> instructions are LE encoded regardless of
> system memory endianess.
>
> Branislav Brzak (1):
> gdb/riscv: Ensure LE instruction fetching
>
> gdb/riscv-tdep.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Looks like you meant to send this to gdb-patches@sourceware.org?
Jan
More information about the Binutils
mailing list