diff options
author | Tom de Vries <tdevries@suse.de> | 2025-01-16 09:30:58 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-01-16 09:30:58 +0100 |
commit | a3735a6e3dc20b4902a79290c2885ae362b591cf (patch) | |
tree | 213fb5c01cc291cd24003190ba5e87379ff31b72 /gdb/gdbarch_components.py | |
parent | 823b5bbe05471c4222e98355b01802b490db0a0e (diff) | |
download | gdb-a3735a6e3dc20b4902a79290c2885ae362b591cf.zip gdb-a3735a6e3dc20b4902a79290c2885ae362b591cf.tar.gz gdb-a3735a6e3dc20b4902a79290c2885ae362b591cf.tar.bz2 |
[gdb/python] Run black on gdb/gdbarch_components.py
The sourceware buildbot reported "python black formatter ( failure )" at
commit b034bb38772 ("[gdb] Add gdbarch_dwarf2_reg_piece_offset hook").
Fix this by running the precommit hooks in a container with Python 3.11 using:
...
$ pre-commit run --files gdb*/*
...
Diffstat (limited to 'gdb/gdbarch_components.py')
-rw-r--r-- | gdb/gdbarch_components.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/gdbarch_components.py b/gdb/gdbarch_components.py index 2d528de..e0fd74e 100644 --- a/gdb/gdbarch_components.py +++ b/gdb/gdbarch_components.py @@ -837,10 +837,7 @@ register as defined by the ABI. """, type="ULONGEST", name="dwarf2_reg_piece_offset", - params=[ - ("int", "regnum"), - ("ULONGEST", "size") - ], + params=[("int", "regnum"), ("ULONGEST", "size")], predefault="default_dwarf2_reg_piece_offset", invalid=False, ) |