From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HnzI5-0007lR-9q for qemu-devel@nongnu.org; Tue, 15 May 2007 11:50:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HnzI2-0007kS-Ky for qemu-devel@nongnu.org; Tue, 15 May 2007 11:50:20 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HnzI2-0007kL-7I for qemu-devel@nongnu.org; Tue, 15 May 2007 11:50:18 -0400 Received: from web32507.mail.mud.yahoo.com ([68.142.207.217]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HnzA8-0007d6-OD for qemu-devel@nongnu.org; Tue, 15 May 2007 11:42:08 -0400 Date: Tue, 15 May 2007 08:42:07 -0700 (PDT) From: divya arora MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <906677.71965.qm@web32507.mail.mud.yahoo.com> Subject: [Qemu-devel] Instrumenting softmmu_header.h 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, I want to print out all memory accesses to a log file. Fo this I instrumented the ld and st macros in softmmu_header.h which results in the error "error can't find a register in class 'GENERAL_REGS' while reloading 'asm'" I tried calling an extern function from the macro which actually fprints to a log file but that also gives the same error. These were the solutions posted to the same problem in the archives. But none of these work for me. Does anyone have any other solutions? Thanks, ____________________________________________________________________________________Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222