From patchwork Wed May 31 15:09:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 100798 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp371008qge; Wed, 31 May 2017 08:12:40 -0700 (PDT) X-Received: by 10.55.167.134 with SMTP id q128mr12884570qke.134.1496243560317; Wed, 31 May 2017 08:12:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496243560; cv=none; d=google.com; s=arc-20160816; b=WIbsxLntSSgNxSu0VCabKGQ0+aWkrLad7ApNVAc6Z6Wr+W+DZ2J2i2NrATGlJwi583 odSBIdfEAjWT8J1o/Iqd9Hpooxhyky0C2Q6RndOEI4ZA/VNji2c8sFP3ieg6HFfCUZWJ C9hTfwx84Eaexb5G20MayPyg/Zi6ZhAak4G3ghc2OlE2ZbgSpT/slFupcoX0ntdQ1/8Q k0hbsF6aoQ6ZzlG4+rEeGZQJsuzi2x2KglQOKiuUWSXNkNx834JRSZrGdomER71g+FCY oQF8ogx5L9EcMYXvpiZANDKAWMAwyWyzB62P8tcjp34dCSx+HuDVEHFJPLTu+sb0QQi/ TPDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=tYxWhHtwgw2XEWtsRRS7crpsBDcmBhncdedJRzgulSw=; b=Cvfjc0Yzy2YyHo6b/XxDi5/yk3x0LBc/vSuFlruAfYFOOW3iC2fLOvSNxl4DtjwDQT GIk/O528iqs4tX8ZfIs4N8FSxjsQJvkaEVuXsJWtTtx7gxcscIuvkZVkR1Ie8ifOZSCF SYS6Mpn9fA5uIyI4GXNC82y045HtE5lyLfnDIJXavfiM2h7f7lrYCJmUN2ks4iV5mB4t oiTAF5ETr+nht3RFqGzxnEZCRa0iH3+Oo1lMUiOMS+8TVKzsShZdk1MSyiZhg4hqo1Gv 57o3si3V06ywL1jiqED0E39NqoPNRsVKM3J/4ykU+8/q/uNDabs0+l3SZsdCAySHC1tF 10PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id k28si16715374qtf.298.2017.05.31.08.12.39 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 31 May 2017 08:12:40 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:60103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dG5Ib-0001NW-N6 for patch@linaro.org; Wed, 31 May 2017 11:12:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dG5FS-0007sx-9s for qemu-devel@nongnu.org; Wed, 31 May 2017 11:09:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dG5FP-0005Wx-4a for qemu-devel@nongnu.org; Wed, 31 May 2017 11:09:22 -0400 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:37903) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dG5FO-0005Vw-Td for qemu-devel@nongnu.org; Wed, 31 May 2017 11:09:19 -0400 Received: by mail-wm0-x22c.google.com with SMTP id e127so24956771wmg.1 for ; Wed, 31 May 2017 08:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tYxWhHtwgw2XEWtsRRS7crpsBDcmBhncdedJRzgulSw=; b=aUzUCR7AE4ihxHA7GJ4/+SUa6HPLr3Bb6SY8subT+83p+S5v05W3kmQCviGDDXalSF iOVZrXyHEeiCTJwkLVvncAL4BycWqyGyPyxxoVDeMHDb08C+HS02/gwUGJ+TKb+IJRRW 3vIdj37cIfemeg95l4MCNfzo8wMCIb9E6Wl2I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tYxWhHtwgw2XEWtsRRS7crpsBDcmBhncdedJRzgulSw=; b=ZuLVi2Y0TGMiigSHdreso/A1h5p0p2pLb8IuixFBuyM/RFxqLqas8qktRjENkNmu8y X6+XSCzt0Km2Ll6XX0gytZVXyO4Vu2iO2h+EQFRRNZJ4VtXTLYi2D3SMMWE7Qc5yrYLa 45yzHdgKv6BdR6m3NQOiPloyVU4BkBrGpdgIrnaRFFw4Kk08L7+zvontgNAQMNyzJxAq vweytL3/3Wets03+OxLPi4IROdxwANvLSy1kBX3ec6ZNSGynrU9QoOLBhe+oJq/Y7K4j SIYr/5JYghCo9NSktn8eU8+X8PHuEr4FPX2/OeRIR7//QHOOrUK5h7sM1kggQL/ftESt GeAA== X-Gm-Message-State: AODbwcDV9l16fDTmBRFdCL/aoh/Mhty5JeQjikcRogIBuEuyfJGU9eRi aEhiHHu3m8Ga4DwI X-Received: by 10.28.211.5 with SMTP id k5mr6125751wmg.11.1496243357559; Wed, 31 May 2017 08:09:17 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id e19sm22773645wma.25.2017.05.31.08.09.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 May 2017 08:09:16 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 952E63E01C1; Wed, 31 May 2017 16:09:33 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: pbonzini@redhat.com, doug16k@gmail.com, imbrenda@linux.vnet.ibm.com Date: Wed, 31 May 2017 16:09:31 +0100 Message-Id: <20170531150933.10156-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22c Subject: [Qemu-devel] [PATCH v1 0/2] some gdbstub fixes for debug and vcont X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, I was attempting to debug RISU via qemu-aarch64 and the gdbstub and I was finding the stub responding with an E22 on vcont. The fix is in the second patch. The first patch just modernises the debug output to use a helper instead of lots of #ifdefs. Alex Bennée (2): gdbstub: modernise DEBUG_GDB gdbstub: don't fail on vCont;C04:0;c packets gdbstub.c | 81 +++++++++++++++++++++++++++------------------------------------ 1 file changed, 35 insertions(+), 46 deletions(-) -- 2.13.0