From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K15bA-0007wE-3U for qemu-devel@nongnu.org; Tue, 27 May 2008 16:16:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K15b7-0007tE-ST for qemu-devel@nongnu.org; Tue, 27 May 2008 16:16:43 -0400 Received: from [199.232.76.173] (port=42707 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K15b7-0007tB-N3 for qemu-devel@nongnu.org; Tue, 27 May 2008 16:16:41 -0400 Received: from aa012msr.fastwebnet.it ([85.18.95.72]:32889) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K15b7-0001pH-9Y for qemu-devel@nongnu.org; Tue, 27 May 2008 16:16:41 -0400 Received: from [1.115.13.66] (1.115.13.66) by aa012msr.fastwebnet.it (8.0.013.5) id 483219C101004412 for qemu-devel@nongnu.org; Tue, 27 May 2008 22:16:38 +0200 Message-ID: <483C6BF3.9060507@slacky.it> Date: Tue, 27 May 2008 22:15:47 +0200 From: Antonio Ricci MIME-Version: 1.0 Subject: Re: [Qemu-devel] how to get registers value in event of systemcall References: <483AF801.2020806@slacky.it> <200805271435.30937.paul@codesourcery.com> In-Reply-To: <200805271435.30937.paul@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Paul Brook wrote: > No, that won't work. Only a very limited subset of the CPU state is valid > during translation. Paul, I don't understand what you mean. Why can't I get registers value at translation time? >The same block may be executed many times with different > inputs. If you want register values you have to do it at execution time, > e.g. in do_interrupt. Do you mean that If the same block is executed many times with different inputs it is translated just once? Thanks for help -- Antonio My Mobile Phone: +393286739562 My Public Key: http://tonyr.altervista.org/chiave_pubblica MSN: ricciantonio@hotmail.it Skype: tonyr81fg Linux Member #374272 ********************************************************************* What is the difference between Jurassic Park and Microsoft? One is an over-rated high tech theme park based on prehistoric information and populated mostly by dinosaurs, the other is a Steven Spielberg movie. ********************************************************************* There are only 10 types of people in this world: those who understand binary, and those who don't. *********************************************************************