gdb: re-format Python files with black 24.1.1

New year, new black version.

Change-Id: I664601e6dd255358063e15f6d73bc5f02c8f2b9d
This commit is contained in:
Simon Marchi
2024-02-12 11:47:27 -05:00
parent d86205c3ec
commit b9885796f8
3 changed files with 12 additions and 14 deletions

View File

@@ -251,7 +251,6 @@ class SymValueWrapper(object):
class FrameVars(object):
"""Utility class to fetch and store frame local variables, or
frame arguments."""

View File

@@ -21,7 +21,6 @@ import gdb.prompt
class _ExtendedPrompt(gdb.Parameter):
"""Set the extended prompt.
Usage: set extended-prompt VALUE

View File

@@ -386,18 +386,18 @@ def register_pretty_printers():
pretty_printers_dict[re.compile("^container$")] = ContainerPrinter
pretty_printers_dict[re.compile("^justchildren$")] = NoStringContainerPrinter
pretty_printers_dict[
re.compile("^struct to_string_returns_value_inner$")
] = ToStringReturnsValueInner
pretty_printers_dict[
re.compile("^to_string_returns_value_inner$")
] = ToStringReturnsValueInner
pretty_printers_dict[
re.compile("^struct to_string_returns_value_wrapper$")
] = ToStringReturnsValueWrapper
pretty_printers_dict[
re.compile("^to_string_returns_value_wrapper$")
] = ToStringReturnsValueWrapper
pretty_printers_dict[re.compile("^struct to_string_returns_value_inner$")] = (
ToStringReturnsValueInner
)
pretty_printers_dict[re.compile("^to_string_returns_value_inner$")] = (
ToStringReturnsValueInner
)
pretty_printers_dict[re.compile("^struct to_string_returns_value_wrapper$")] = (
ToStringReturnsValueWrapper
)
pretty_printers_dict[re.compile("^to_string_returns_value_wrapper$")] = (
ToStringReturnsValueWrapper
)
pretty_printers_dict[re.compile("^struct ns$")] = pp_ns
pretty_printers_dict[re.compile("^ns$")] = pp_ns