GDB pretty printers are coming to offset_ptr π:
https://github.com/decodeless/offset_ptr/pull/6
No more fumbling in the dark when hovering over variables in a debugger on Linux. It just looks like a regular pointer.
It nearly just works out of the box. The only setup is setting auto-load safe-path so the printer will run. The secret is embedding the script in debug sections.
There's a quick write up here:
https://www.heuristic42.com/blog/64/embedding-gdb-pretty-printers-just-like-natvis/