]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
RISC-V: Add partial instruction display tests
authorCharlie Jenkins <charlie@rivosinc.com>
Tue, 7 Jan 2025 21:35:45 +0000 (13:35 -0800)
committerNelson Chu <nelson@rivosinc.com>
Thu, 9 Jan 2025 02:09:28 +0000 (10:09 +0800)
commitb5e40fa57215854e567f5eb8895e893e47a06c8e
tree541e9efa2ee08230c3b71baa4fa68b749c4cf513
parent6a04e8230707d8bbfaae8bd4c13f5c3018337971
RISC-V: Add partial instruction display tests

When objdump is specified with a stop address that ends up in the middle
of an instruction, the partial instruction is expected to be displayed.
These three tests check that the partial instruction is correctly
displayed when there are 1, 2, or 3 bytes of the instruction dumped.

Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
gas/testsuite/gas/riscv/dis-partial-insn-byte.d [new file with mode: 0644]
gas/testsuite/gas/riscv/dis-partial-insn-short.d [new file with mode: 0644]
gas/testsuite/gas/riscv/dis-partial-insn-word.d [new file with mode: 0644]
gas/testsuite/gas/riscv/dis-partial-insn.s [new file with mode: 0644]