Phil Weir added the comment:
Many thanks, Victor - python-gdb does work for GDB 7 (after a little confusion
with python/python3.6dm naming and auto-load). That is very helpful. For
reference, can confirm the error described above for GDB 6.8 and Python 3.6
(with DWARF-2 flags
New submission from Phil Weir:
When using the sample .gdbinit, use of the _PyUnicode_AsString macro gives "No
symbol "_PyUnicode_AsString" in current context." from GDB.
This was first noticed when using downstream (Ubuntu) CPython 3.4/3.5 with
debug symbols, and was re