From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkYCm-0005jK-OO for qemu-devel@nongnu.org; Fri, 09 Oct 2015 09:59:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkYCe-0007Pq-RZ for qemu-devel@nongnu.org; Fri, 09 Oct 2015 09:59:25 -0400 Received: from mail-lb0-x231.google.com ([2a00:1450:4010:c04::231]:34819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkYCe-0007Pi-Jh for qemu-devel@nongnu.org; Fri, 09 Oct 2015 09:59:20 -0400 Received: by lbwr8 with SMTP id r8so81214576lbw.2 for ; Fri, 09 Oct 2015 06:59:19 -0700 (PDT) References: <1443434870-5702-1-git-send-email-serge.fdrv@gmail.com> <1443434870-5702-3-git-send-email-serge.fdrv@gmail.com> From: Sergey Fedorov Message-ID: <5617C836.8020103@gmail.com> Date: Fri, 9 Oct 2015 16:59:18 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 2/2] target-arm: Fix CPU breakpoint handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers On 08.10.2015 21:40, Peter Maydell wrote: > Annoying corner case which I don't think we need to handle necessarily: > if you set a breakpoint on a 32-bit Thumb instruction which spans a page > boundary, and the second page is not present, we will end up taking the > page fault when I think we should take the breakpoint. I can't think > of a way to get that right, so just commenting that it isn't handled > right would do. Could you please point out the piece of code which will generate the page fault? Maybe I will give it a thought :) Best regards, Sergey