From patchwork Mon Mar 26 14:47:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 132418 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp3933257ljb; Mon, 26 Mar 2018 07:48:19 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+ybOxRAZVX3gAyOVBBUT+kyjCiscTgwnQ+lX2TUrxAxRXCOJInsgpXvBy8V4UNEp0X9LDw X-Received: by 10.55.192.151 with SMTP id v23mr26240708qkv.83.1522075699208; Mon, 26 Mar 2018 07:48:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522075699; cv=none; d=google.com; s=arc-20160816; b=rX44ZAUez6l82JOOZB6/bpgVqaW6VoNhs/9OqFAFvykN40Kq3j96HmREsVF/zs21NO 79tQ8lNBYlhvYFR3SwgyLmMARRcohSXH82GBJOtW8d/gQJO9haS/m1wsawKprLFxKzIm JwL8XNAatVpBGEFGgSNKBs7BzRvNQjgKrMGwhyJtd4IDd+RNMJDeqUAwk1A6U6YAX/B7 dR+ZfEMKHM3h/UjjU0TGy+2b0LJm1ma9zrmrJF2WfDs5TrfdfoBeYZW4zlcYu2ugGMPF nxbI9JBnUYADceA5N0bTFozpkXBDije0cY5btExH1EI6OiNWR1SLlCZHy9KxT8XfH++O 719w== 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:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=vkCfPH0SbsXmucV+HChXQRcSOWOhMw5TdNEBjJGYPeQ=; b=JJIC3FejUCZaAnA2zDAACYzTrUrQveS10bj64JZa+LPsOStYO6hLRPdknh7mC+EKr7 xB7dRxar8t29qGObdLFkuLzLuiBjgTBM9fajNVtds0MZs580nzLpI7gghsfErT6LYBxQ UscdDrvnhzLRWAXvvdGZDtCQmD8gNAwiGK9HRQzcJtoCQzqEqTxZ9DiKwOsAroIBMB6a b+4KEVMCWEmalBCkb5ePyA+tXnGXYRfBNN/pkl1PzXHJmppLa0VdB0mgTuIyQZAasJ8r tsdzOmKc0/sUMUTuKi+scT89Ze53Ut3i9XTuZ/nz8JOrs3EPOqcZrKaXa6IZ9z/QyKZJ 3EGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=RmxoO2gF; 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 k126si1621966qke.1.2018.03.26.07.48.19 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 26 Mar 2018 07:48:19 -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 header.s=google header.b=RmxoO2gF; 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]:57132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0TQ2-0005Uc-Jf for patch@linaro.org; Mon, 26 Mar 2018 10:48:18 -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) 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-Received: by 2002:a17:902:7c83:: with SMTP id y3-v6mr3676230pll.271.1522075664111; Mon, 26 Mar 2018 07:47:44 -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) 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+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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(+) -- 2.14.3 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 decode_function = 'decode' decode_scope = 'static '