diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-04-18 12:10:54 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-04-18 12:11:03 -0400 |
commit | d7845ddc86a62fa6bcea166b86b43d0dd1e73139 (patch) | |
tree | fac5555ed6e249a5e9dcb6ab2bfe89186ebcb3f2 /gdb | |
parent | c1a398a320f46905eaf6f520dddc441791861dcb (diff) | |
download | binutils-d7845ddc86a62fa6bcea166b86b43d0dd1e73139.zip binutils-d7845ddc86a62fa6bcea166b86b43d0dd1e73139.tar.gz binutils-d7845ddc86a62fa6bcea166b86b43d0dd1e73139.tar.bz2 |
gdb: re-format Python code with black 23
Change-Id: I849d10d69c254342bf01e955ffe62a2b60f9de4b
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/gdbarch_components.py | 7 | ||||
-rw-r--r-- | 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 a0e35b8..62cd430 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 201b629..8e24a31 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 |