GNOME Bugzilla – Bug 613732
[PATCH] gobject.py: Don't install frame filters when GDB does not support them
Last modified: 2014-02-25 19:27:08 UTC
Created attachment 156912 [details] [review] Don't install frame filters when GDB does not support them Stock GDB (both versions 7.0 and 7.1) does not come with the new backtrace code and python API. To prevent an ugly python backtrace when auto-loading gobject.py, let's catch the exception and not register the FrameWrapper and the FrameFilter.
Could someone review this?
Review of attachment 156912 [details] [review]: Sounds fine to me.
BTW Iain, since I know you're an experienced developer, I would say you should feel free to review/commit patches to GLib like this one yourself too. Particularly if you've tested it already.
Thanks Colin; I don't have a git account though. I've always had people commit stuff for me. :-)
Can this one go into glib-2-38?
See bug #623552 for a more complete fix.