From 4e512a1af8ecba7c2fa23945a524f91926026103 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 19 Sep 2013 14:59:44 -0400 Subject: [PATCH] gobject.py: Remove old hack for stripping IA__ symbols We don't use IA__ symbols anymore; they've been replaced with -Bsymbolic --- gobject/gobject.py | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/gobject/gobject.py b/gobject/gobject.py index ffc25f184..065bf60cb 100644 --- a/gobject/gobject.py +++ b/gobject/gobject.py @@ -106,29 +106,6 @@ def get_signal_name (id): return val[id]["name"].string() return None -class GFrameWrapper: - def __init__ (self, frame): - self.frame = frame - - def name (self): - name = self.frame.name() - if name and name.startswith("IA__"): - return name[4:] - return name - - def __getattr__ (self, name): - return getattr (self.frame, name) - -# Monkey patch FrameWrapper to avoid IA__ in symbol names -if HAVE_GDB_BACKTRACE: - old__init__ = gdb.command.backtrace.FrameWrapper.__init__ - def monkey_patched_init(self, frame): - name = frame.name() - if name and name.startswith("IA__"): - frame = GFrameWrapper(frame) - old__init__(self,frame) - gdb.command.backtrace.FrameWrapper.__init__ = monkey_patched_init - class DummyFrame: def __init__ (self, frame): self.frame = frame