From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SX2SB-0001T7-67 for qemu-devel@nongnu.org; Tue, 22 May 2012 23:41:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SX2S8-0002wB-A1 for qemu-devel@nongnu.org; Tue, 22 May 2012 23:41:38 -0400 Received: from cantor2.suse.de ([195.135.220.15]:37359 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SX2S8-0002vY-3O for qemu-devel@nongnu.org; Tue, 22 May 2012 23:41:36 -0400 Message-ID: <4FBC5C67.1080007@suse.de> Date: Wed, 23 May 2012 05:41:27 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] exec: fix breakpoint_invalidate() breakage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: TeLeMan Cc: Avi Kivity , qemu-devel Am 18.05.2012 11:49, schrieb TeLeMan: > This breakage was introduced by the commit "memory: make > phys_page_find() return an unadjusted". You seem to have found the origin of your problem. If you also mention the commit hash in your commit message then certain frontends (gitk, repo.or.cz) will display it as a handy hyperlink to that commit. >=20 > Signed-off-by: TeLeMan Signed-off-by is a legal statement of origin and must not be a pseudonym. /-F > --- > exec.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/exec.c b/exec.c > index 0607c9b..ad99476 100644 > --- a/exec.c > +++ b/exec.c > @@ -1475,7 +1475,8 @@ void tb_invalidate_phys_addr(target_phys_addr_t a= ddr) >=20 > static void breakpoint_invalidate(CPUArchState *env, target_ulong pc) > { > - tb_invalidate_phys_addr(cpu_get_phys_page_debug(env, pc)); > + tb_invalidate_phys_addr(cpu_get_phys_page_debug(env, pc) > + | (pc & ~TARGET_PAGE_MASK)); > } > #endif > #endif /* TARGET_HAS_ICE */ --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg