]> git.proxmox.com Git - qemu.git/commit - target-xtensa/translate.c
target-xtensa: add DBREAK data breakpoints
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 29 Jan 2012 01:28:21 +0000 (05:28 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 20 Feb 2012 16:07:12 +0000 (20:07 +0400)
commitf14c4b5fb1e2509ad738afe491c099a84ca80749
treeea29f0d42d72e406272c7b6854c3bf1b24413fd1
parent0dc23828f1487a3e587f42a0630dd6879ab8f2bb
target-xtensa: add DBREAK data breakpoints

Add DBREAKA/DBREAKC SRs and implement DBREAK breakpoints as debug
watchpoints.

This implementation is not fully compliant to ISA: when a breakpoint is
set to an unmapped/inaccessible memory address it generates TLB/memory
protection exception instead of debug exception.

See ISA, 4.7.7.3, 4.7.7.6 for more details.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
target-xtensa/cpu.h
target-xtensa/helper.c
target-xtensa/helpers.h
target-xtensa/op_helper.c
target-xtensa/translate.c