From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Js7po-0000cc-7J for qemu-devel@nongnu.org; Fri, 02 May 2008 22:50:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Js7pm-0000b2-Rp for qemu-devel@nongnu.org; Fri, 02 May 2008 22:50:47 -0400 Received: from [199.232.76.173] (port=33936 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Js7pm-0000ag-I0 for qemu-devel@nongnu.org; Fri, 02 May 2008 22:50:46 -0400 Received: from os.inf.tu-dresden.de ([141.76.48.99]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Js7pm-00051O-CQ for qemu-devel@nongnu.org; Fri, 02 May 2008 22:50:46 -0400 Received: from erwin.inf.tu-dresden.de ([141.76.48.80] helo=chrom.inf.tu-dresden.de) by os.inf.tu-dresden.de with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) id 1Js7pj-0002td-AL for qemu-devel@nongnu.org; Sat, 03 May 2008 04:50:43 +0200 Received: from kauer by chrom.inf.tu-dresden.de with local (Exim 4.69) (envelope-from ) id 1JrkFM-0002cl-7q for qemu-devel@nongnu.org; Fri, 02 May 2008 03:39:36 +0200 Date: Fri, 2 May 2008 03:39:36 +0200 From: Bernhard Kauer Subject: Re: [Qemu-devel] Crash due to invalid env->current_tb Message-ID: <20080502013936.GC2715@chrom.inf.tu-dresden.de> References: <20080429115614.GA15524@os.inf.tu-dresden.de> <20080429184011.GK17356@os.inf.tu-dresden.de> <20080430151132.GB6712@os.inf.tu-dresden.de> <1209569284.4312.35.camel@frecb07144> <20080430203636.GC8164@os.inf.tu-dresden.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080430203636.GC8164@os.inf.tu-dresden.de> 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 On Wed, Apr 30, 2008 at 10:36:36PM +0200, Adam Lackorzynski wrote: > > Why don't you add ebp and ebx in the clobbered registers list (like > > "esi", "edi", "ecx", "edx") ? > > For ebp it's more safe to use push as it depends whether the binary is > compiled with frame-pointer or without. When without you can put it into > the clobber list, when with you should not, we had some bad experience > with this (also see gcc bugzilla #11807). Well the gcc bug is, that clobbering "ebp" is silently ignored if compiled without frame-pointer. Bernhard Kauer