Message ID | 20181019010625.25294-21-cota@braap.org |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=braap.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=braap.org header.i=@braap.org header.b="QaSPGeva"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="Ik49RaTG"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42bnzy0Xsnz9s2P for <incoming@patchwork.ozlabs.org>; Fri, 19 Oct 2018 12:16:14 +1100 (AEDT) Received: from localhost ([::1]:45934 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1gDJOd-0004Zz-Ec for incoming@patchwork.ozlabs.org; Thu, 18 Oct 2018 21:16:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <cota@braap.org>) id 1gDJFZ-0004cj-Qa for qemu-devel@nongnu.org; Thu, 18 Oct 2018 21:06:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <cota@braap.org>) id 1gDJFX-00031X-Hs for qemu-devel@nongnu.org; Thu, 18 Oct 2018 21:06:49 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:53185) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <cota@braap.org>) id 1gDJFW-0002lR-W5 for qemu-devel@nongnu.org; Thu, 18 Oct 2018 21:06:47 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id CD47422960; Thu, 18 Oct 2018 21:06:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 18 Oct 2018 21:06:30 -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=ssBvmXhvTACfz50MAUzI8wAvFrmNcXtAKD4tPe05/mE=; b=QaSPG evaT9IQuTVTJ+hVLDm/yv2CI0TfTySbdWgRdsKXlQuq+RWX08ivg+WJxGmXpT0+G 4qE68FFyJficzdHa+CQxW+9Cf0g7DfU22UEETx/6colak35n1jaZ8M+ahv9p8iCI rWMMVLLANqO/udrQdTl8GGnRK1sqrbNKLiUIdc= 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=ssBvmXhvTACfz50MAUzI8wAvFrmNc XtAKD4tPe05/mE=; b=Ik49RaTGuz8P3qZof6CqBL47oHuoIdn+AXLzDM5fUcO8w HlpUQmJh2c7d3TsdPk/gLJk6uuugoaD772HiTvJ1Jhh8QfCO/q4ZU776EkUTBAag up9/ja8m+7pk1+UMQnq3KR6IOrecjVtAQs4Y1IdAglZh8jgLa+F0oDpJVvD+MsoK NSh57SKBQma7Hxatc1FUEmkgNsjUk9xksRyDvIZVqSeUbo7CesDyE9xLtv2yyU9t F8MGibfryGMhK3i2nEq7znUQnZOCW9DMqxS4ea2GekGVRetYDm+dEjzoFCiwtUMl GIEcOo7zlp6Ujp8YivbCMoDm4EEUDJglwhxfkKqCg== X-ME-Sender: <xms:Fi7JW1TKfRBZzP3zOjC37om4t3lhrRolVeUPB9b38tI3HWwRWwOyJw> X-ME-Proxy: <xmx:Fi7JW6oHjrVgRzqks1og0FFFKKBCGSVopf79L5lBXzPg9H_S20Ja5g> <xmx:Fi7JW343yomSnrJS0uAyC5JBayu3DqCNVjypAUfjCOwyj_Rs84xeng> <xmx:Fi7JWyDJe9-XLtf55k-PMszaX6397bFd8w4j2YzLGBSjXGiBLtR4Ug> <xmx:Fi7JWxY6uQTQREm_HFVyudLMJTjy1rMR1X01WjfTClXWsgPVWqCmfw> <xmx:Fi7JW-LHoUA9WMS8PR00xR9dH69Hd-AxKbcK0lh94l2h6KZKDOhdFA> <xmx:Fi7JW6iEGJ1WlDt-cS9PGgWYgfkSzBJHFcggS492pX-wcAO2APxwVg> Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 74C2E102DE; Thu, 18 Oct 2018 21:06:30 -0400 (EDT) From: "Emilio G. Cota" <cota@braap.org> To: qemu-devel@nongnu.org Date: Thu, 18 Oct 2018 21:05:49 -0400 Message-Id: <20181019010625.25294-21-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181019010625.25294-1-cota@braap.org> References: <20181019010625.25294-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.29 Subject: [Qemu-devel] [RFC v3 20/56] 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> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
per-CPU locks
|
expand
|
On 10/19/18 2:05 AM, Emilio G. Cota wrote: > Signed-off-by: Emilio G. Cota <cota@braap.org> > --- > gdbstub.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
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);
Signed-off-by: Emilio G. Cota <cota@braap.org> --- gdbstub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)