From nobody Sun Nov 9 22:32:27 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.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 209.51.188.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 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1551986703318577.0951521669595; Thu, 7 Mar 2019 11:25:03 -0800 (PST) Received: from localhost ([127.0.0.1]:58048 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1ydX-0000VS-8r for importer@patchew.org; Thu, 07 Mar 2019 14:24:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1yC4-0001L7-Je for qemu-devel@nongnu.org; Thu, 07 Mar 2019 13:56:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1yC3-0002UE-Qy for qemu-devel@nongnu.org; Thu, 07 Mar 2019 13:56:36 -0500 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:34608) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1yC3-0002Tg-K7 for qemu-devel@nongnu.org; Thu, 07 Mar 2019 13:56:35 -0500 Received: by mail-pg1-x52e.google.com with SMTP id i130so11979987pgd.1 for ; Thu, 07 Mar 2019 10:56:35 -0800 (PST) Received: from cloudburst.twiddle.net (97-113-188-82.tukw.qwest.net. [97.113.188.82]) by smtp.gmail.com with ESMTPSA id g12sm8801973pgr.76.2019.03.07.10.56.33 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Mar 2019 10:56:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=gU/SPg6KnQhqJVn2XRVC0z9PymxQlPpRj5lZHRANorQ=; b=i+GhINxqdEoO/3AY3H2rt1md8xwjIIcI+i0mP8vOXSOFaFTXvu1AUEcnrGaM8dLABM VI1QViUVet6c2K1v6WsWVnOqJBSVOOwCgAslity6stTDED/XEeT1nqwA3wz9eNuY1Dp7 Hy41BKW8jLzStrCeuNpLXx7ZdLrGk/0J68Ul+T7uIjn0d/A9n+10ySUL9AJSEVYitG4X rB4RW6FBDhwiaJysRViH4E4l+fd/cjMrPGjEuK7I7y97IorlxmcXhX4UNQQ+ldrJ/DYg jJFyrcUzDWstOoNnAeDOWhhwJL+RaQ5Xh9/xaN30VmtH7iIj0iHKVGvvCpudQ5ViElsN ucTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=gU/SPg6KnQhqJVn2XRVC0z9PymxQlPpRj5lZHRANorQ=; b=g9wzmjX6CplihIz/v7dBW9XaWQPHTLS+/icDzWvS73rawMJEn7chS9wRXClEpkTYWE 2YmDteXxvkqGkQFWCurb5QIgkV9+/ObQ/XH/FSEw2+2OD+dC6s7yWmlp1cx/oZBbj8jK zRNDXed0ER0FG402GCAmjWHOKnpFJdsoksn5bucoNKIxLJdsuaoIDSZAmUFvKLzWCmRj W594VuDONxcTHNg4I88xS4R1OihqF//F72X3fbhvWKKHSUNj/Obmp4igOQpbDtYdAex1 RX4WFCjwObWfoJ4Pc1UKJuVbRa9YldkzGtiwcoQdFhgz20FvtWviZTgri/PAUZUWpqVR so9w== X-Gm-Message-State: APjAAAXsfTSxmU6JA67yjWrEA7mEQaT+prUYtr7qCnUadIWKmp17KbPN WLHwmIWVWPshUWuTU9y5GzoajtzbUo8= X-Google-Smtp-Source: APXvYqzGkwELYzdzm8YnZb+pCcAoxOc0UpaE1RYbS95r6wS0dlJlqRwjrNbFs10+D0gArPeDmqtf0w== X-Received: by 2002:a63:2c8b:: with SMTP id s133mr12642001pgs.448.1551984994198; Thu, 07 Mar 2019 10:56:34 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 7 Mar 2019 10:56:18 -0800 Message-Id: <20190307185622.29026-9-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190307185622.29026-1-richard.henderson@linaro.org> References: <20190307185622.29026-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::52e Subject: [Qemu-devel] [PATCH v3 08/12] decodetree: Add --static-decode option 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: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Like --decode, but do not drop 'static' qualifier. Signed-off-by: Richard Henderson --- scripts/decodetree.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/decodetree.py b/scripts/decodetree.py index c4e8cb52f7..d6f94d902f 100755 --- a/scripts/decodetree.py +++ b/scripts/decodetree.py @@ -976,7 +976,8 @@ def main(): =20 decode_scope =3D 'static ' =20 - long_opts =3D ['decode=3D', 'translate=3D', 'output=3D', 'insnwidth=3D= '] + long_opts =3D ['decode=3D', 'translate=3D', 'output=3D', 'insnwidth=3D= ', + 'static-decode=3D'] try: (opts, args) =3D getopt.getopt(sys.argv[1:], 'o:w:', long_opts) except getopt.GetoptError as err: @@ -987,6 +988,8 @@ def main(): elif o =3D=3D '--decode': decode_function =3D a decode_scope =3D '' + elif o =3D=3D '--static-decode': + decode_function =3D a elif o =3D=3D '--translate': translate_prefix =3D a translate_scope =3D '' --=20 2.17.2