Small cleanup of GDB pretty printer code

What does this implement/fix?

Small cleanup of pretty printer code for the GNU Debugger (GDB):

  • Rename variable type to avoid conflict with Python function type().
  • Remove import of module that is no longer needed.
  • Use += for better readability.
  • Improve formatting.

Merge request reports

Loading