aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorCharlie Jenkins <charlie@rivosinc.com>2025-01-07 13:35:44 -0800
committerNelson Chu <nelson@rivosinc.com>2025-01-09 10:09:16 +0800
commit6a04e8230707d8bbfaae8bd4c13f5c3018337971 (patch)
treee2960261e3ac23159ed0553988b70e8d37cb0d5f /gdb/python
parent162502b593989171fafe5e6e8d92d5a626aa7568 (diff)
downloadbinutils-6a04e8230707d8bbfaae8bd4c13f5c3018337971.zip
binutils-6a04e8230707d8bbfaae8bd4c13f5c3018337971.tar.gz
binutils-6a04e8230707d8bbfaae8bd4c13f5c3018337971.tar.bz2
RISC-V: Fix display of partial instructions
As of commit e43d8768d909 ("RISC-V: Fix disassemble fetch fail return value.") partial instructions are no longer displayed by objdump. While that commit fixed the behavior of print_insn_riscv() returning the arbitrary status value upon failure, it caused the behavior of dumping instructions to change. Allow partial instructions to be displayed once again and only return -1 if no part of the instruction was able to be displayed. Fixes: e43d8768d909 ("RISC-V: Fix disassemble fetch fail return value.") Signed-off-by: Charlie Jenkins <charlie@rivosinc.com> Acked-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions