Re: GDB variants accepting plugins (to the debugger) ?
Eli Zaretskii via Gdb <[email protected]> Fri, 30 Jan 2026 15:33:30 +0200
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
> From: Basile Starynkevitch <[email protected]> > Cc: [email protected] > Date: Fri, 30 Jan 2026 14:13:51 +0100 > > I am using GDB-17.1 on Linux/Debian/x86-64 to debug a C++ coded, GPL licensed, inference engine > > > Is there any GDB variant accepting plugins to the debugger process > (these could be definitely useful to display C++ data in a nice way, std::vector or std::map instances come to mind immediately). > > I do know that GDB accept eg Guile or Python scripts. > But coding manually a Python or Guile function for every important C++ classes of a software is very time consuming Did you read the node "Auto-loading extensions" in the GDB manual? GDB installs such an auto-loaded extension for standard C++ classes, which actually uses printers.py provided by GCC/libstdc++ distribution. But you can use the same mechanism to provide extensions for your classes, if needed.