aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
authorJaydeep Patil <Jaydeep.Patil@imgtec.com>2023-10-18 17:37:59 +0100
committerAndrew Burgess <aburgess@redhat.com>2023-10-18 17:55:31 +0100
commit1c37b30945073f34bbb685d2ac47ab01e0c93d45 (patch)
tree6a930551898f502f4fcaabfc60b03bf6b9544432 /gdb/exec.c
parent29736fc507c7a9c6e797b7f83e8df4be73d37767 (diff)
downloadgdb-1c37b30945073f34bbb685d2ac47ab01e0c93d45.zip
gdb-1c37b30945073f34bbb685d2ac47ab01e0c93d45.tar.gz
gdb-1c37b30945073f34bbb685d2ac47ab01e0c93d45.tar.bz2
sim/riscv: fix JALR instruction simulation
Fix 32bit 'jalr rd,ra,imm' integer instruction, where RD was written before using it to calculate destination address. This commit also improves testutils.inc for riscv; make use of pushsection and popsection when adding things to .data, and setup the %gp global pointer register within the 'start' macro. Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/exec.c')
0 files changed, 0 insertions, 0 deletions