[Bug gdb/30571] New: [gdb, riscv] Ensure instructions are always fetches as LE
branislav.brzak at syrmia dot com
sourceware-bugzilla@sourceware.org
Wed Jun 21 08:54:33 GMT 2023
https://sourceware.org/bugzilla/show_bug.cgi?id=30571
Bug ID: 30571
Summary: [gdb, riscv] Ensure instructions are always fetches as
LE
Product: gdb
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: branislav.brzak at syrmia dot com
Target Milestone: ---
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.
This is for a pending patch.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list