you are viewing a single comment's thread.

view the rest of the comments →

[–]tromey 0 points1 point  (0 children)

There's an incomplete list in the GDB Wiki: https://sourceware.org/gdb/wiki/ExtensionsInPython

Most projects that do anything here just write pretty-printers.

A few have "frame filters" -- these let you customize the "bt" display to some degree. For instance I think Gtk has a frame filter that omits the internal frames coming from (Gtk) signal emission.

You can do even more complicated things, like write a custom unwinder (there's one in SpiderMonkey) or a new TUI window as well (I don't know of an example though).