Message ID | 20181025144644.15464-27-cota@braap.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7761413A9 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 25 Oct 2018 15:36:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 623712BD1A for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 25 Oct 2018 15:36:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F8DC2BD6B; Thu, 25 Oct 2018 15:36:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DB2F42BD1A for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 25 Oct 2018 15:36:56 +0000 (UTC) Received: from localhost ([::1]:55224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1gFhgu-0007Yo-2D for patchwork-qemu-devel@patchwork.kernel.org; Thu, 25 Oct 2018 11:36:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <cota@braap.org>) id 1gFh5P-0004D4-3Y for qemu-devel@nongnu.org; Thu, 25 Oct 2018 10:58:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <cota@braap.org>) id 1gFgv8-000889-6G for qemu-devel@nongnu.org; Thu, 25 Oct 2018 10:47:35 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:59817) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <cota@braap.org>) id 1gFgv6-0007sm-MC for qemu-devel@nongnu.org; Thu, 25 Oct 2018 10:47:32 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 4500321FF5; Thu, 25 Oct 2018 10:46:52 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 25 Oct 2018 10:46:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h= from:to:cc:subject:date:message-id:in-reply-to:references; s= mesmtp; bh=SCU42ynok0Bx6CV8QLX4WHQuvwoXWSvKN81qJOX0rW8=; b=zUW4+ xiruMNDyvCKOeQP/hL/lFCaOmte8ZnhzvUIZylIKSbvSaOgdYFSUhlr5954VN23X EJv3Y54Drif6QMzMpRHLhApTufcD8myUq5QttgZtqesUNb4NdHD12CcmEBGxhaWm s6urVdgdjM1knuOJ17J9CTkDSdFpROyTjomTKo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=SCU42ynok0Bx6CV8QLX4WHQuvwoXW SvKN81qJOX0rW8=; b=NLVInwK8/xHoJKM3jS+zonUab/icPkrccIKxATa1qRh/7 P3AIDLJD9ycjFhU9qps4b9N2rgsL8N1GJZ8rA4i3P5max7kFwAKckaLQlaoo8Ls6 bvZ1I0elN7jURlpiE7E1mHHFQBUmupVGk30oppP4YMRg2O+NtYWEd0iJgnoNuD+u OGfZgckv9uflUSNUupWVJpBN1A20glwZefR2EWT8Xa26q8ipxKJPJz0WMgQfem2R P5TndVFOcpwEnSByNOJbUIBm6I3wR3vJ6gF9IwKbyUzViVlrCkL8QcNkrAb1jDBd A1cBRa2+JI/fP9Y50PyfX1a5IAecPtVbmrdeVJVKw== X-ME-Sender: <xms:XNfRWzmO3Y-Cew4m18Sfct-TwwLSMjdRZ6Hq3vjAfmj4fECzbfkjBQ> X-ME-Proxy: <xmx:XNfRW0zvH-2mpak5dq9xyK2rR4NdtUZpsoih6rRae_MdOI8fhWRqFw> <xmx:XNfRW7U27DCUf-Y9LB2b743mjjMinkRFx34TPw5MCuHNIEbDlMzW-g> <xmx:XNfRW0YNsmUMp7Uc2EH2eiD3JRl1LiY_PFU57HeM-H3z7erUrHq-Tw> <xmx:XNfRW1_LjNsCZrL6tJ-Lldck4QkSwUJhOpAAKJdRgH4vcXvW8O7z0g> <xmx:XNfRW8Idx0g_-5FchXDMPicZW7by1J3W_Ul6EH2GNpB6SAQD99ky1Q> <xmx:XNfRW_vA6-37jvsyZHIYUV-GAH67RwAE-XOR2JXz6T4SgNO_XeFszA> Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id C2BD9E44D4; Thu, 25 Oct 2018 10:46:51 -0400 (EDT) From: "Emilio G. Cota" <cota@braap.org> To: qemu-devel@nongnu.org Date: Thu, 25 Oct 2018 10:46:00 -0400 Message-Id: <20181025144644.15464-27-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181025144644.15464-1-cota@braap.org> References: <20181025144644.15464-1-cota@braap.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.27 Subject: [Qemu-devel] [RFC v4 27/71] gdbstub: convert to cpu_halted X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[RFC,v4,01/71] cpu: convert queued work to a QSIMPLEQ
|
expand
|
Emilio G. Cota <cota@braap.org> writes: > Reviewed-by: Richard Henderson <richard.henderson@linaro.org> > Signed-off-by: Emilio G. Cota <cota@braap.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> > --- > gdbstub.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gdbstub.c b/gdbstub.c > index c8478de8f5..a5ff50d9e7 100644 > --- a/gdbstub.c > +++ b/gdbstub.c > @@ -1305,7 +1305,7 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf) > /* memtohex() doubles the required space */ > len = snprintf((char *)mem_buf, sizeof(buf) / 2, > "CPU#%d [%s]", cpu->cpu_index, > - cpu->halted ? "halted " : "running"); > + cpu_halted(cpu) ? "halted " : "running"); > trace_gdbstub_op_extra_info((char *)mem_buf); > memtohex(buf, mem_buf, len); > put_packet(s, buf); -- Alex Bennée
diff --git a/gdbstub.c b/gdbstub.c index c8478de8f5..a5ff50d9e7 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1305,7 +1305,7 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf) /* memtohex() doubles the required space */ len = snprintf((char *)mem_buf, sizeof(buf) / 2, "CPU#%d [%s]", cpu->cpu_index, - cpu->halted ? "halted " : "running"); + cpu_halted(cpu) ? "halted " : "running"); trace_gdbstub_op_extra_info((char *)mem_buf); memtohex(buf, mem_buf, len); put_packet(s, buf);