From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D8Ib6-0004Ip-3Q for qemu-devel@nongnu.org; Mon, 07 Mar 2005 08:48:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D8Ib1-0004Ft-Rb for qemu-devel@nongnu.org; Mon, 07 Mar 2005 08:48:32 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8Ib1-0004Fc-Hz for qemu-devel@nongnu.org; Mon, 07 Mar 2005 08:48:31 -0500 Received: from [65.74.133.9] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D8ILW-000895-6a for qemu-devel@nongnu.org; Mon, 07 Mar 2005 08:32:30 -0500 From: Paul Brook Date: Mon, 7 Mar 2005 13:32:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503071332.25184.paul@codesourcery.com> Subject: [Qemu-devel] [patch] Error in helper_lret_protected Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org helper_lret_protected incorrectly sets CC_OP. This looks like a copy/paste error from helper_iret_protected. Paul Index: helper.c =================================================================== RCS file: /cvsroot/qemu/qemu/target-i386/helper.c,v retrieving revision 1.43 diff -u -p -r1.43 helper.c --- helper.c 3 Mar 2005 01:14:55 -0000 1.43 +++ helper.c 7 Mar 2005 13:28:19 -0000 @@ -2118,7 +2141,6 @@ void helper_lret_protected(int shift, in helper_ret_protected(shift, 0, addend); #ifdef USE_KQEMU if (kqemu_is_ok(env)) { - CC_OP = CC_OP_EFLAGS; env->exception_index = -1; cpu_loop_exit(); }