From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.polymtl.ca (smtp.polymtl.ca [132.207.4.11]) by sourceware.org (Postfix) with ESMTPS id 525AD3857C45 for ; Sat, 25 Feb 2023 03:30:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 525AD3857C45 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=polymtl.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=polymtl.ca Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 31P3Un1s028178 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 Feb 2023 22:30:54 -0500 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 31P3Un1s028178 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1677295854; bh=raOAEW8TQe8Hb5gsKCnbVFoec6C5zR9xHf7lphLNmOY=; h=From:To:Cc:Subject:Date:From; b=Nth8uRzvzNSJbsS1J2JUM1lZfPQQj5tCd/RqpsJUNDrcjh3fFQAiAgD007/Kh2One wavGfKuAcIio2+hzfIZBv5WaxHUAmVd3iw0Hfl2KS07dgG3Kbg0+HcOXaK9SXoL2i0 Pb9KQH2xzs7MxpdyXDh2EeemcfwC7dEWTIncyfGM= Received: from simark.localdomain (unknown [217.28.27.60]) (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 ESMTPSA id 708C01E110; Fri, 24 Feb 2023 22:30:49 -0500 (EST) From: Simon Marchi To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH v2 00/10] Add typing annotations to gdbarch*.py and make-target-delegates.py Date: Fri, 24 Feb 2023 22:30:37 -0500 Message-Id: <20230225033047.373899-1-simon.marchi@polymtl.ca> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Sat, 25 Feb 2023 03:30:49 +0000 X-Spam-Status: No, score=-3183.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: v2 of: https://inbox.sourceware.org/gdb-patches/877cw6hma2.fsf@tromey.com/T/#t Patch "gdb: gdbarch.py: remove Info.__init__" is new, the rest hasn't changed. Simon Marchi (10): gdb: remove invalid / dead code from gdbarch.py gdb: reformat Python files with black 23.1.0 gdb: gdbarch.py: spell out parameters of _Component.__init__ gdb: gdbarch.py: remove Info.__init__ gdb: pyproject.toml: set pyright typeCheckingMode = "strict" gdb: split gdbarch component types to gdbarch_types.py gdb: gdbarch*.py, copyright.py: add type annotations gdb: make-target-delegates.py: make one string raw gdb: make-target-delegates.py: add Entry type gdb: make-target-delegates.py: add type annotations gdb/gdbarch.py | 161 +-------------- ...ch-components.py => gdbarch_components.py} | 7 +- gdb/gdbarch_types.py | 184 ++++++++++++++++++ gdb/gdbcopyright.py | 2 +- gdb/make-target-delegates.py | 104 +++++++--- gdb/pyproject.toml | 3 + gdb/python/lib/gdb/FrameDecorator.py | 1 - gdb/python/lib/gdb/command/frame_filters.py | 1 + gdb/python/lib/gdb/dap/server.py | 2 +- gdb/python/lib/gdb/printing.py | 2 +- .../gdb.multi/multi-target-info-inferiors.py | 1 + gdb/testsuite/gdb.perf/backtrace.py | 1 - .../gdb.python/py-framefilter-addr.py | 1 + gdb/testsuite/gdb.python/py-framefilter.py | 1 + gdb/testsuite/gdb.python/py-inferior-leak.py | 2 + gdb/testsuite/gdb.python/py-prettyprint.py | 1 + gdb/testsuite/gdb.python/py-recurse-unwind.py | 5 - gdb/testsuite/gdb.python/py-send-packet.py | 1 + gdb/testsuite/gdb.python/tui-window.py | 1 + 19 files changed, 285 insertions(+), 196 deletions(-) rename gdb/{gdbarch-components.py => gdbarch_components.py} (99%) create mode 100755 gdb/gdbarch_types.py base-commit: 95ebc6fdec5780bf59685739cdd55cd41d0f55ac -- 2.39.2