]> git.proxmox.com Git - mirror_qemu.git/commit - exec.c
Restore pc on watchpoint hits (Jan Kiszka)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 18 Nov 2008 20:24:06 +0000 (20:24 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 18 Nov 2008 20:24:06 +0000 (20:24 +0000)
commit06d55cc19ac84e799d2df8c750049e51798b00a4
treecb345b31bc92c5a36886179ee34e25ea58e39fa0
parentb4051334d853da807cf9f4fbc834261b2f630f82
Restore pc on watchpoint hits (Jan Kiszka)

In order to provide accurate information about the triggering
instruction, this patch adds the required bits to restore the pc if the
access happened inside a TB. With the BP_STOP_BEFORE_ACCESS flag, the
watchpoint user can control if the debug trap should be issued on or
after the accessing instruction.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5741 c046a42c-6fe2-441c-8c8c-71466251a162
cpu-all.h
exec.c