[glib] gobject.py: Remove old hack for stripping IA__ symbols
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gobject.py: Remove old hack for stripping IA__ symbols
- Date: Tue, 31 Dec 2013 20:40:35 +0000 (UTC)
commit 4e512a1af8ecba7c2fa23945a524f91926026103
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Sep 19 14:59:44 2013 -0400
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 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/gobject/gobject.py b/gobject/gobject.py
index ffc25f1..065bf60 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]