aboutsummaryrefslogtreecommitdiff
path: root/gdb/unittests
diff options
context:
space:
mode:
authorNelson Chu <nelson.chu@sifive.com>2021-08-30 23:20:45 +0800
committerNelson Chu <nelson.chu@sifive.com>2021-08-30 23:30:11 +0800
commit685bb4e84bafaa5d9506cdacaf2766638bbbc560 (patch)
tree71138360d4dae95ece691e06a36bee76c72679c7 /gdb/unittests
parent282aa4f7d292eb4bc213d028465a3b96f5af2f22 (diff)
downloadgdb-685bb4e84bafaa5d9506cdacaf2766638bbbc560.zip
gdb-685bb4e84bafaa5d9506cdacaf2766638bbbc560.tar.gz
gdb-685bb4e84bafaa5d9506cdacaf2766638bbbc560.tar.bz2
RISC-V: PR28291, Fix the gdb fails that PR27916 caused.
* According to PR28291, we get the following unexpected gdb behavior, (gdb) disassemble 0x0,+4 Dump of assembler code from 0x0 to 0x4: 0x0000000000000000: 0x0000000000000001: 0x0000000000000002: 0x0000000000000003: End of assembler dump. * This patch should fix it to the right behavior, (gdb) disassemble 0x0,+4 Dump of assembler code from 0x0 to 0x4: 0x0000000000000000: Cannot access memory at address 0x0 opcodes/ pr 28291 * riscv-dis.c (print_insn_riscv): Return STATUS if it is not zero.
Diffstat (limited to 'gdb/unittests')
0 files changed, 0 insertions, 0 deletions