From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id A3A113858D28 for ; Tue, 18 Apr 2023 16:27:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A3A113858D28 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=efficios.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=efficios.com Received: from localhost.localdomain (unknown [167.248.160.41]) (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 58C191E0D5; Tue, 18 Apr 2023 12:27:23 -0400 (EDT) From: Simon Marchi To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [pushed] gdb: re-format Python code with black 23 Date: Tue, 18 Apr 2023 12:27:22 -0400 Message-Id: <20230418162722.69512-1-simon.marchi@efficios.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1173.3 required=5.0 tests=BAYES_00,GIT_PATCH_0,KAM_DMARC_NONE,KAM_DMARC_STATUS,KAM_NUMSUBJECT,SPF_HELO_PASS,SPF_SOFTFAIL,TXREP,T_SCC_BODY_TEXT_LINE 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: Change-Id: I849d10d69c254342bf01e955ffe62a2b60f9de4b --- gdb/gdbarch_components.py | 7 +++++-- gdb/testsuite/gdb.python/py-unwind.py | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/gdbarch_components.py b/gdb/gdbarch_components.py index a0e35b8b5e81..62cd430cbae0 100644 --- a/gdb/gdbarch_components.py +++ b/gdb/gdbarch_components.py @@ -918,8 +918,11 @@ Return true if the typedef record needs to be replaced.". Return 0 by default""", type="bool", name="dwarf2_omit_typedef_p", - params=[("struct type *", "target_type"), ("const char *", "producer"), - ("const char *", "name")], + params=[ + ("struct type *", "target_type"), + ("const char *", "producer"), + ("const char *", "name"), + ], predefault="default_dwarf2_omit_typedef_p", invalid=False, ) diff --git a/gdb/testsuite/gdb.python/py-unwind.py b/gdb/testsuite/gdb.python/py-unwind.py index 201b629f9fe8..8e24a3190c7b 100644 --- a/gdb/testsuite/gdb.python/py-unwind.py +++ b/gdb/testsuite/gdb.python/py-unwind.py @@ -198,6 +198,7 @@ def capture_frame_information(frame): # capture_all_frame_information. all_frame_information = [] + # Fill in the global ALL_FRAME_INFORMATION list. def capture_all_frame_information(): global all_frame_information -- 2.40.0