forked from Imagelibrary/binutils-gdb
[gdb/python] Run black on gdb/gdbarch_components.py
The sourceware buildbot reported "python black formatter ( failure )" at
commit b034bb3877 ("[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*/*
...
This commit is contained in:
@@ -837,10 +837,7 @@ register as defined by the ABI.
|
|||||||
""",
|
""",
|
||||||
type="ULONGEST",
|
type="ULONGEST",
|
||||||
name="dwarf2_reg_piece_offset",
|
name="dwarf2_reg_piece_offset",
|
||||||
params=[
|
params=[("int", "regnum"), ("ULONGEST", "size")],
|
||||||
("int", "regnum"),
|
|
||||||
("ULONGEST", "size")
|
|
||||||
],
|
|
||||||
predefault="default_dwarf2_reg_piece_offset",
|
predefault="default_dwarf2_reg_piece_offset",
|
||||||
invalid=False,
|
invalid=False,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user