From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeTW9-0007oN-Ty for qemu-devel@nongnu.org; Tue, 03 Mar 2009 07:14:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeTW6-0007nX-1K for qemu-devel@nongnu.org; Tue, 03 Mar 2009 07:14:36 -0500 Received: from [199.232.76.173] (port=36422 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeTW5-0007nU-S4 for qemu-devel@nongnu.org; Tue, 03 Mar 2009 07:14:33 -0500 Received: from pop-satin.atl.sa.earthlink.net ([207.69.195.63]:41944) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeTW5-000195-L0 for qemu-devel@nongnu.org; Tue, 03 Mar 2009 07:14:33 -0500 Received: from user-142h2k8.cable.mindspring.com ([72.40.138.136] helo=[192.168.0.90]) by pop-satin.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1LeTW4-000140-00 for qemu-devel@nongnu.org; Tue, 03 Mar 2009 07:14:32 -0500 Message-ID: <49AD1F27.1010705@earthlink.net> Date: Tue, 03 Mar 2009 07:14:31 -0500 From: Robert Reif MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010607040900010509040307" Subject: [Qemu-devel] [PATCH] fix slavio_intctl.c compile errors 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 This is a multi-part message in MIME format. --------------010607040900010509040307 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Fix slavio_intctl.c compile errors when debugging is enabled. --------------010607040900010509040307 Content-Type: text/plain; name="slavio_intctl.diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="slavio_intctl.diff.txt" --- hw/slavio_intctl.c (revision 6676) +++ hw/slavio_intctl.c (working copy) @@ -98,7 +98,7 @@ ret = 0; break; } - DPRINTF("read cpu %d reg 0x" TARGET_FMT_plx " = %x\n", cpu, addr, ret); + DPRINTF("read cpu %d reg 0x" TARGET_FMT_plx " = %x\n", s->cpu, addr, ret); return ret; } @@ -110,7 +110,7 @@ uint32_t saddr; saddr = addr >> 2; - DPRINTF("write cpu %d reg 0x" TARGET_FMT_plx " = %x\n", cpu, addr, val); + DPRINTF("write cpu %d reg 0x" TARGET_FMT_plx " = %x\n", s->cpu, addr, val); switch (saddr) { case 1: // clear pending softints if (val & CPU_IRQ_INT15_IN) --------------010607040900010509040307--