[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3] target-arm: Fix breakpoint handling
From: |
Sergey Fedorov |
Subject: |
[Qemu-devel] [PATCH v3] target-arm: Fix breakpoint handling |
Date: |
Tue, 13 Oct 2015 12:56:26 +0300 |
This series is intended to fix ARM breakpoint emulation misbehavior.
QEMU hangs when QEMU breakpoint fires but it does not pass additional
architectural checks in ARM CPU debug exception handler. For details,
please see individual patches. The most relevant parts of the original
discussion about ARM breakpoint emulation misbehavior can be found at:
https://lists.gnu.org/archive/html/qemu-devel/2015-08/msg02715.html
Changes in v3:
* GDB breakpoint check in arm_debug_excp_handler() simplified
* Debug exception generating fixed in translation code
Changes in v2:
* The initial commit split into two parts
* Extra block eliminated in arm_debug_excp_handler()
* Just one instruction always translated in case of breakpoint PC match
Sergey Fedorov (1):
target-arm: Fix CPU breakpoint handling
target-arm/helper.h | 2 ++
target-arm/op_helper.c | 29 ++++++++++++++++++-----------
target-arm/translate-a64.c | 17 ++++++++++++-----
target-arm/translate.c | 17 ++++++++++++-----
4 files changed, 44 insertions(+), 21 deletions(-)
--
1.9.1
- [Qemu-devel] [PATCH v3] target-arm: Fix breakpoint handling,
Sergey Fedorov <=