From nobody Sun Nov 9 14:48:08 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 1551332018361269.39851681876667; Wed, 27 Feb 2019 21:33:38 -0800 (PST) Received: from localhost ([127.0.0.1]:60666 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzEJz-0002gT-1i for importer@patchew.org; Thu, 28 Feb 2019 00:33:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzEBn-0005lo-Fk for qemu-devel@nongnu.org; Thu, 28 Feb 2019 00:25:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzEBi-0003qF-Bj for qemu-devel@nongnu.org; Thu, 28 Feb 2019 00:24:56 -0500 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]:38744) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzEBg-0003n9-9u for qemu-devel@nongnu.org; Thu, 28 Feb 2019 00:24:54 -0500 Received: by mail-pl1-x642.google.com with SMTP id g37so6350525plb.5 for ; Wed, 27 Feb 2019 21:24:50 -0800 (PST) Received: from cloudburst.dc.rr.com (cpe-72-132-251-149.dc.res.rr.com. [72.132.251.149]) by smtp.gmail.com with ESMTPSA id u13sm32758371pfa.169.2019.02.27.21.24.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Feb 2019 21:24:45 -0800 (PST) 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=c6s1o0/tKrgJ5/rgCDTrhJ440px5Ud09QTssoKTEFOo=; b=aWB7gxPxKifsyIpxQjhXW2NOSj1l0HB4JSfgFw9Y1cu1KFL6xNBxGhQ0G88qLEE8Sy GzM1W95cRZImqG7835sNP8HP4BdGRu4Gis326fzuSoHOzwGCEa4nnuZUHzhTbHHxj4/r IGIMfI7uofOQoNgJutDdC1Fj4WKUowHEa5BZT3q3nZ3+YgDqxSLxJIIk7NdigCBwOSTQ v6JL4flv3eBRP8Hf8hnz6LJtJUMxoQZYqaIJc/zb2nA97DH1nFO3S7b0oO7aK6FilHMl m+tNxAPK4jNZvXPKBmExOzM999w2R1f1jFAj7Mnk7gonuJE53nkiwhys33X3FXEbXhMS TnIw== 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=c6s1o0/tKrgJ5/rgCDTrhJ440px5Ud09QTssoKTEFOo=; b=twm1EdF/u6+E7pdSL5pCbvSJ2g3Ej92EPdTeODY8hOCHKOR49NWu5PdBRrjS0nAhz/ aLlUBvgItwSv3WM41EWfvtCRByatwXCTNu9Q9AX9DQgK6G6cnJssPbb1P7eY1Is3FsLY 93K3Bjpg8mZ4HKB13IcFlXLcKu+8HSj1JzVEvTfdz0QFzRgXrUlco7Z6/b4WfIKLa0ge mAFr61MfU3uLSkTS6Y7hXc9dcsdjxO4dOt67hfS+XvBgJwpnxYNAGeJ8IJ+C01b2EiTy 6LxcWyKve9GSOI8j4z/GMYyPBNXcizIQdAKhlTxolIS7nInz9149DnSqCjtTbppRqcaw Lbsg== X-Gm-Message-State: AHQUAuZXX7GaoZZTqktM5GddjtDjHpvuITjaE9/LWfqZ6YckegPlYcSe HdcBYmncji/uhgoGToCnyRdSwtfgPoA= X-Google-Smtp-Source: AHgI3IbSOjglO13YNpggSN3kWn+abrBGefgMB5L4Z4tCiyzg5vZhLbPfVBpcX5NGSk1i29BswTJm8Q== X-Received: by 2002:a17:902:9a95:: with SMTP id w21mr6059802plp.118.1551331486510; Wed, 27 Feb 2019 21:24:46 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 27 Feb 2019 21:24:32 -0800 Message-Id: <20190228052432.32571-9-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190228052432.32571-1-richard.henderson@linaro.org> References: <20190228052432.32571-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::642 Subject: [Qemu-devel] [PATCH v2 8/8] 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: , Cc: kbastian@mail.uni-paderborn.de, f4bug@amsat.org 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 4596a9da02..68979b73a0 100755 --- a/scripts/decodetree.py +++ b/scripts/decodetree.py @@ -980,7 +980,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: @@ -991,6 +992,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