From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id HW7WL8X9KWJ+EgAAWB0awg (envelope-from ) for ; Thu, 10 Mar 2022 08:31:49 -0500 Received: by simark.ca (Postfix, from userid 112) id B8AF01F3CA; Thu, 10 Mar 2022 08:31:49 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 405E01EDF0 for ; Thu, 10 Mar 2022 08:31:49 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CA5773858429 for ; Thu, 10 Mar 2022 13:31:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CA5773858429 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1646919108; bh=icdCTao0vMvOSKi0pNVFECpieK9HsAhkEP3145tj/Wk=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=hSzYmSI/EK2PMC64sLX4Vk8+cqHFQgFD7IBFb1h8hXswyn6mDkZuumT4qIxpf9zqm I7Fhpl0cQFUHlj40lZT4kWTIeNUhAgxh8VgeMCd6Nqe6wnevN0KxEjD5K3y9j4x8Ah soGVjvyBmsLjhNRK/4sShDh8BLnViB9t8oJ4MFZo= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 05A2E3858404 for ; Thu, 10 Mar 2022 13:31:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 05A2E3858404 Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-287-dUsWf4_UNfOPmDVGpyyOUw-1; Thu, 10 Mar 2022 08:31:28 -0500 X-MC-Unique: dUsWf4_UNfOPmDVGpyyOUw-1 Received: by mail-wm1-f70.google.com with SMTP id f189-20020a1c38c6000000b0037d1bee4847so4062497wma.9 for ; Thu, 10 Mar 2022 05:31:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=icdCTao0vMvOSKi0pNVFECpieK9HsAhkEP3145tj/Wk=; b=1G3+jO6SGstfPcJjiZZ2E2CXHY4I6hNe3n/hCIiwTPtKPDdzhoL6MXWoMEquRvC2l1 ou3ZJD/2blTKu8Vy2BoMWFUjsC7ngVxRLagCDeAFOwJZryTvbdlP0dw+W5kwyd9e5GXy VnLzx5jTeup6K0B+/VFJnNOVLTx2Xv9D2233Ug1CzWCVU3DZU/3LVGbLNaS3pCg8Mfw4 X7/KgBB18CkTOsvxI/n0HVMJwnicRLaSVKqqEvhw4o224fw/yn63A5NrOMKSxqgqy7LT MWgTh22UU52RrUGMtLWYtMZH/mwxQEaPZtORJisw6PEQwdQ5HI96C1of/mVMkpQcIC5j 1oZw== X-Gm-Message-State: AOAM530HfGIEfhnsJsY6wBSndEPuDmp8Mvqbwkq6Kggo7G3AeuUVL4EK bIoq1fAqqjK7MShR/bH/+vfGmKgmp+YfDavzladOY0poZSCCvBIfwFJ3ByJn/qQcGTEB8LiMDgn 1mkyWFa1QYoUdIPOkVplvih19HezIPyX8mXJXMuOsTuUed27dpqEwXrIXAaiugmYnjhVaS2QDGw == X-Received: by 2002:a5d:6a47:0:b0:1f1:e562:bef9 with SMTP id t7-20020a5d6a47000000b001f1e562bef9mr3502438wrw.445.1646919087111; Thu, 10 Mar 2022 05:31:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJyAiseuJkhB+7vHCGAeQQu24zCzIu0qBRTDgKHkg29Lkkzo8Kn8tXkaMoIiDpukTxfL6b4Bxw== X-Received: by 2002:a5d:6a47:0:b0:1f1:e562:bef9 with SMTP id t7-20020a5d6a47000000b001f1e562bef9mr3502416wrw.445.1646919086791; Thu, 10 Mar 2022 05:31:26 -0800 (PST) Received: from localhost (host86-134-151-205.range86-134.btcentralplus.com. [86.134.151.205]) by smtp.gmail.com with ESMTPSA id i186-20020a1c3bc3000000b00382b25f6c9fsm4880226wma.42.2022.03.10.05.31.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 05:31:26 -0800 (PST) To: gdb-patches@sourceware.org Subject: [PATCH 0/2] Some changes to the gdbarch*.py scripts Date: Thu, 10 Mar 2022 13:31:22 +0000 Message-Id: X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrew Burgess via Gdb-patches Reply-To: Andrew Burgess Cc: Andrew Burgess Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" A couple of changes to the gdb/gdbarch*.py script: #1: Remove an unused predicate function, and #2: Extend the verify_gdbarch function to cover more cases. Thanks, Andrew --- Andrew Burgess (2): gdb/gdbarch: remove the predicate function for gdbarch_register_type gdb/gdbarch: compare some fields against 0 verify_gdbarch gdb/gdbarch-components.py | 13 ++++++------- gdb/gdbarch-gen.h | 2 -- gdb/gdbarch.c | 22 +++++++++++----------- gdb/gdbarch.py | 10 ++++++++++ 4 files changed, 27 insertions(+), 20 deletions(-) -- 2.25.4