From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3aC6-00033k-Me for qemu-devel@nongnu.org; Tue, 03 Jun 2008 13:21:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3aC4-00031l-SU for qemu-devel@nongnu.org; Tue, 03 Jun 2008 13:21:10 -0400 Received: from [199.232.76.173] (port=38031 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3aC4-00031Q-Ks for qemu-devel@nongnu.org; Tue, 03 Jun 2008 13:21:08 -0400 Received: from aa013msr.fastwebnet.it ([85.18.95.73]:40778) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K3aC0-00005i-Rg for qemu-devel@nongnu.org; Tue, 03 Jun 2008 13:21:05 -0400 Received: from [1.115.13.66] (1.115.13.66) by aa013msr.fastwebnet.it (8.0.013.8) id 48321BEA01BD0406 for qemu-devel@nongnu.org; Tue, 3 Jun 2008 19:21:02 +0200 Message-ID: <48457D4C.1020304@slacky.it> Date: Tue, 03 Jun 2008 19:20:12 +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. *********************************************************************