From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0gpO-00016D-Tc for qemu-devel@nongnu.org; Mon, 26 May 2008 13:49:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0gpM-00015k-Bf for qemu-devel@nongnu.org; Mon, 26 May 2008 13:49:45 -0400 Received: from [199.232.76.173] (port=44330 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0gpM-00015h-5R for qemu-devel@nongnu.org; Mon, 26 May 2008 13:49:44 -0400 Received: from aa013msr.fastwebnet.it ([85.18.95.73]:53191) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0gpL-00087q-JW for qemu-devel@nongnu.org; Mon, 26 May 2008 13:49:43 -0400 Received: from [1.115.13.66] (1.115.13.66) by aa013msr.fastwebnet.it (8.0.013.8) id 48321BEA00D2B231 for qemu-devel@nongnu.org; Mon, 26 May 2008 19:49:41 +0200 Message-ID: <483AF801.2020806@slacky.it> Date: Mon, 26 May 2008 19:48:49 +0200 From: Antonio Ricci MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] how to get registers value in event of systemcall 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 Hi all, i'd want to understand how to get registers value (eax, ebx, etc.) in the guest operating system at the moment of a system call. In my opinion i've to work on file target-i386/translate.c in the case of 0x80 in the function disas_insn(DisasContext *s, target_ulong pc_start). I can't understand how to get registers value. I've just read documentation about translation but I'm not able to get these informations. Can you help me? Thanks in advance -- 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. *********************************************************************