From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgVM1-0002EB-Em for qemu-devel@nongnu.org; Mon, 28 Sep 2015 06:08:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZgVLx-0007RE-E2 for qemu-devel@nongnu.org; Mon, 28 Sep 2015 06:08:17 -0400 Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:35233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgVLx-0007Qt-6Q for qemu-devel@nongnu.org; Mon, 28 Sep 2015 06:08:13 -0400 Received: by laer8 with SMTP id r8so25079002lae.2 for ; Mon, 28 Sep 2015 03:08:11 -0700 (PDT) From: Sergey Fedorov Date: Mon, 28 Sep 2015 13:07:48 +0300 Message-Id: <1443434870-5702-1-git-send-email-serge.fdrv@gmail.com> Subject: [Qemu-devel] [PATCH v2 0/2] target-arm: Fix breakpoint handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Sergey Fedorov , Peter Maydell 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 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 (2): target-arm: Fix GDB breakpoint handling target-arm: Fix CPU breakpoint handling target-arm/helper.h | 2 ++ target-arm/op_helper.c | 36 ++++++++++++++++++++++++++---------- target-arm/translate-a64.c | 14 ++++++++------ target-arm/translate.c | 13 ++++++++----- 4 files changed, 44 insertions(+), 21 deletions(-) -- 1.9.1