Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lfu82-0006bj-Lg for qemu-devel@nongnu.org; Sat, 07 Mar 2009 05:51:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lfu82-0006ai-1J for qemu-devel@nongnu.org; Sat, 07 Mar 2009 05:51:38 -0500 Received: from [199.232.76.173] (port=47053 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lfu81-0006aV-KZ for qemu-devel@nongnu.org; Sat, 07 Mar 2009 05:51:37 -0500 Received: from savannah.gnu.org ([199.232.41.3]:43626 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lfu81-0005Fg-A5 for qemu-devel@nongnu.org; Sat, 07 Mar 2009 05:51:37 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Lfu80-00073J-PD for qemu-devel@nongnu.org; Sat, 07 Mar 2009 10:51:36 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1Lfu80-00073F-FZ for qemu-devel@nongnu.org; Sat, 07 Mar 2009 10:51:36 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Sat, 07 Mar 2009 10:51:36 +0000 Subject: [Qemu-devel] [6734] Fix BSD user 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 Revision: 6734 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6734 Author: blueswir1 Date: 2009-03-07 10:51:36 +0000 (Sat, 07 Mar 2009) Log Message: ----------- Fix BSD user Modified Paths: -------------- trunk/gdbstub.c trunk/usb-bsd.c Modified: trunk/gdbstub.c =================================================================== --- trunk/gdbstub.c 2009-03-07 10:50:46 UTC (rev 6733) +++ trunk/gdbstub.c 2009-03-07 10:51:36 UTC (rev 6734) @@ -1808,7 +1808,7 @@ } break; } -#ifdef CONFIG_LINUX_USER +#ifdef CONFIG_USER_ONLY else if (strncmp(p, "Offsets", 7) == 0) { TaskState *ts = s->c_cpu->opaque; @@ -1821,7 +1821,7 @@ put_packet(s, buf); break; } -#else /* !CONFIG_LINUX_USER */ +#else /* !CONFIG_USER_ONLY */ else if (strncmp(p, "Rcmd,", 5) == 0) { int len = strlen(p + 5); @@ -1836,7 +1836,7 @@ put_packet(s, "OK"); break; } -#endif /* !CONFIG_LINUX_USER */ +#endif /* !CONFIG_USER_ONLY */ if (strncmp(p, "Supported", 9) == 0) { snprintf(buf, sizeof(buf), "PacketSize=%x", MAX_PACKET_LENGTH); #ifdef GDB_CORE_XML Modified: trunk/usb-bsd.c =================================================================== --- trunk/usb-bsd.c 2009-03-07 10:50:46 UTC (rev 6733) +++ trunk/usb-bsd.c 2009-03-07 10:51:36 UTC (rev 6734) @@ -25,7 +25,7 @@ */ #include "qemu-common.h" -#include "console.h" +#include "monitor.h" #include "hw/usb.h" /* usb.h declares these */