Message ID | 20190304181813.8075-29-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 72D1114DE for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 4 Mar 2019 18:47:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 61AD22AF5D for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 4 Mar 2019 18:47:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 55F1B2AFC2; Mon, 4 Mar 2019 18:47:49 +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=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F29F52AF5D for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 4 Mar 2019 18:47:48 +0000 (UTC) Received: from localhost ([127.0.0.1]:59009 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 1h0scu-0008U7-Ae for patchwork-qemu-devel@patchwork.kernel.org; Mon, 04 Mar 2019 13:47:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <cota@braap.org>) id 1h0sAl-0008Ru-Vt for qemu-devel@nongnu.org; Mon, 04 Mar 2019 13:18:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <cota@braap.org>) id 1h0sAk-0001He-9y for qemu-devel@nongnu.org; Mon, 04 Mar 2019 13:18:43 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:37179) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <cota@braap.org>) id 1h0sAj-0000zo-S3 for qemu-devel@nongnu.org; Mon, 04 Mar 2019 13:18:42 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 691F33712; Mon, 4 Mar 2019 13:18:22 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 04 Mar 2019 13:18:22 -0500 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 :mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=23MnmcShp0EwhykSA6yP17WZYFRZJks0jD7vjeRZfF0=; b=FDbEEVj8EceW wu1D/5GeqlxuAPzfl7CU8INph1OwNNiBh6BRIbny8sbbw3YbhvksBkkP1vW6VxB3 V1OuISh4lJsmW6LTthKLgrNr5SoGHzSG9dhaMDTDA+agblJOA4OWMwAMIsoKuwyO ztFlnRAeNjMY14KtUqXGrOkDRgQel7c= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=23MnmcShp0EwhykSA6yP17WZYFRZJks0jD7vjeRZf F0=; b=nie5k/XyrFDaRyXuARDeNgE3sNKjVxzyTQb3pz5uX65A7vqP/SG1q0lQU OMuJCQn8ZJqyj+nLaTfcWvVbBGpQnFSifX8W8MYmKBqxcRGp/Dfej5B/M6OaU5I1 88n1SjQ7sxIUwypRSB2c8YuKvjByCaoVXb0JtQEWFqTD+N4n+UAxF2ZlU5G1jfGK N30Qfm+ynlvMfmSBKwB/Iu4KdDdaP4//Z1PjWfis3u06YyBx9R41L8WhzLPlnnFp qE6aOIdrwdJDPBciNaN4EZXREARWl5mnPTOV5fwD7klhEVvaJP5Mv8ZWt2ZrXfpV JICEl1ydBE7KybJUzk1NZTrlo8+sg== X-ME-Sender: <xms:7Wt9XHUr9nydNjV1kOCXldrp8zdiopNBLb2G56_fG1jvletmxvxz5g> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrfedugdduuddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfgggtgfesthekredtredtjeenucfhrhhomhepfdfgmhhi lhhiohcuifdrucevohhtrgdfuceotghothgrsegsrhgrrghprdhorhhgqeenucfkphepud dvkedrheelrddvtddrvdduieenucfrrghrrghmpehmrghilhhfrhhomheptghothgrsegs rhgrrghprdhorhhgnecuvehluhhsthgvrhfuihiivgepfe X-ME-Proxy: <xmx:7Wt9XB2jheTv-OBsPbNUuXQn4DyqVsa82edGQE7QaHmo6eoAqHcMJg> <xmx:7Wt9XFpdcs1FSzQn8CLn3R-wYw4yct6z69arkLLr-o7Po4B3gqA2Sw> <xmx:7Wt9XIUJOOO3hrn3jhEhCZwb23iDk8Nu9EGdE4UPuvD-hdAZL89E-Q> <xmx:7mt9XBxAnJDl8sIwA0Dn0IhMngUahbnR7tMvnuPL5a26cjxJPL5haw> Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 9FA6D10331; Mon, 4 Mar 2019 13:18:21 -0500 (EST) From: "Emilio G. Cota" <cota@braap.org> To: qemu-devel@nongnu.org Date: Mon, 4 Mar 2019 13:17:28 -0500 Message-Id: <20190304181813.8075-29-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190304181813.8075-1-cota@braap.org> References: <20190304181813.8075-1-cota@braap.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.147.123.25 Subject: [Qemu-devel] [PATCH v7 28/73] 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: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, 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 |
[v7,01/73] cpu: convert queued work to a QSIMPLEQ
|
expand
|
diff --git a/gdbstub.c b/gdbstub.c index bc774ae992..569b504552 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1664,13 +1664,13 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf) object_get_canonical_path_component(OBJECT(cpu)); len = snprintf((char *)mem_buf, sizeof(buf) / 2, "%s %s [%s]", cpu_model, cpu_name, - cpu->halted ? "halted " : "running"); + cpu_halted(cpu) ? "halted " : "running"); g_free(cpu_name); } else { /* 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);