From nobody Sun May 5 04:55:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1522075807756881.962035248679; Mon, 26 Mar 2018 07:50:07 -0700 (PDT) Received: from localhost ([::1]:57138 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0TRi-00074y-21 for importer@patchew.org; Mon, 26 Mar 2018 10:50:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0TPW-0005Sv-F6 for qemu-devel@nongnu.org; Mon, 26 Mar 2018 10:47:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0TPV-0004jz-LF for qemu-devel@nongnu.org; Mon, 26 Mar 2018 10:47:46 -0400 Received: from mail-pl0-x241.google.com ([2607:f8b0:400e:c01::241]:42800) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0TPV-0004jT-Er for qemu-devel@nongnu.org; Mon, 26 Mar 2018 10:47:45 -0400 Received: by mail-pl0-x241.google.com with SMTP id g20-v6so797029plo.9 for ; Mon, 26 Mar 2018 07:47:45 -0700 (PDT) Received: from cloudburst.twiddle.net ([120.145.12.109]) by smtp.gmail.com with ESMTPSA id a22sm28076152pgw.10.2018.03.26.07.47.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Mar 2018 07:47:43 -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:in-reply-to:references; bh=vkCfPH0SbsXmucV+HChXQRcSOWOhMw5TdNEBjJGYPeQ=; b=RmxoO2gF9mSxfNPEr03fVDtbWDiZG2PDeIHSj1nSJQiL+sgRx4ju9PiCuNbZoj2Cej 535+McTyI4i9e4/vt2IbLcmV+JAmwKAiBiTO3kwMS30gNK1+7/Rea7f8moIw5tMGGt4z bTbdtCXD1ZnDCCwTh5BigxOc7EiHdyvHPQKmE= 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:in-reply-to :references; bh=vkCfPH0SbsXmucV+HChXQRcSOWOhMw5TdNEBjJGYPeQ=; b=o4PS+h0j0IR7l5+c7Da7r2X8U3hpLnsR/nrmcVp7ZWoHXYgS80H5aItnNfSSF7+1fc tFNLidVOQpYTTrvDmWFv1eMHfS7T0Fum52yZb40nzvML+tCnFLRT65szm0h+dg3jNEWY NPvBfQXO2CzKIQeYYf78yoJ5GplpvsoLLUME8VHS0L/RSwAg0niEAef7+ARCXv/+t2Co XjeAnwgeiuFCA0TBUEQY43whhnw79W8bQ6ox4J5BLQ6iilbCF+zAx1MZJqGI1oFuZdKp 9LMyanDAW0EuaebWxTRff8/Tep+fRRoBoFMcc1Vs/0z+XfxJLvBNadsgNLzYXhz+A1nU WZVQ== X-Gm-Message-State: AElRT7GVKmK7zDY7LGp0+K2wSNUmWeJW8hbW87vWT4iVgMtngirNORx2 /aUZMf33PUx1hKT4JMPT9HD1q3mBaQI= X-Google-Smtp-Source: AIpwx4/W8WtI6w2pTXkQfG4kjMZNyX/EDvwImlDZIKVLvYeb+xWjdj+CPXlJZ37OgzyscuY0Wgey1g== X-Received: by 2002:a17:902:7c83:: with SMTP id y3-v6mr3676230pll.271.1522075664111; Mon, 26 Mar 2018 07:47:44 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 26 Mar 2018 22:47:30 +0800 Message-Id: <20180326144730.6351-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180326144730.6351-1-richard.henderson@linaro.org> References: <20180326144730.6351-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::241 Subject: [Qemu-devel] [PULL 1/1] scripts/decodetree: Fix insnmask not marked as global in main() 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: peter.maydell@linaro.org, Peer Adelt , Bastian Koppelmann Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Bastian Koppelmann if '-w 16' was given as a cmdline args a local copy of insnmask is set and not the global one. Signed-off-by: Peer Adelt Signed-off-by: Bastian Koppelmann Message-Id: <20180319115846.9662-1-kbastian@mail.uni-paderborn.de> Reviewed-by: Richard Henderson Signed-off-by: Richard Henderson --- scripts/decodetree.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/decodetree.py b/scripts/decodetree.py index 41301c84aa..277f9a9bba 100755 --- a/scripts/decodetree.py +++ b/scripts/decodetree.py @@ -972,6 +972,7 @@ def main(): global input_file global insnwidth global insntype + global insnmask =20 decode_function =3D 'decode' decode_scope =3D 'static ' --=20 2.14.3