gobject.py: Don't install frame filters when GDB does not support them
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 23 Mar 2010 15:18:12 +0000 (15:18 +0000)
committerColin Walters <walters@verbum.org>
Tue, 17 Dec 2013 15:51:48 +0000 (10:51 -0500)
commit91d4659bbf8cf88d8be905c7e0abbedce931b688
tree0afb5404cd19f1c22519cf440c76695146b5c229
parent4846fd923d52108de4243429ada9c3dcab5f83e9
gobject.py: 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.

https://bugzilla.gnome.org/show_bug.cgi?id=613732
gobject/gobject.py