Fixed the decoding of "system" instructions (starting with 0x2)
in dec_sys() in translate.c. In particular, the l.trap instruction
is now correctly decoded, which enables for singlestepping and
breakpoints to be set in GDB.
Signed-off-by: David R. Morrison
---
target-openrisc/translate.c | 2 +-
Fixed the decoding of "system" instructions (starting with 0x2)
in dec_sys() in translate.c. In particular, the l.trap instruction
is now correctly decoded, which enables for singlestepping and
breakpoints to be set in GDB.
---
target-openrisc/translate.c | 2 +-
1 file changed, 1 insertion(+), 1
Hi, Peter,
Thanks for the response. I'll split out the changes into separate
commits and resubmit. I do have one question here:
diff --git a/target-openrisc/mmu.c b/target-openrisc/mmu.c
index 750a936..bbd05f1 100644
--- a/target-openrisc/mmu.c
+++ b/target-openrisc/mmu.c
@@ -219,7 +219,7
ping
On 12/17/2014 04:26 PM, David Morrison wrote:
This patch fixes two bugs in Qemu for OpenRISC, and enables more
functionality from or1k-elf-gdb:
1) Fixed the decoding of "system" instructions (starting with 0x2)
in dec_sys() in translate.c. In particular, the l.trap instruct
This patch fixes two bugs in Qemu for OpenRISC, and enables more
functionality from or1k-elf-gdb:
1) Fixed the decoding of "system" instructions (starting with 0x2)
in dec_sys() in translate.c. In particular, the l.trap instruction
is now correctly decoded, which enables for singlestepping and
br