From 6be69ebb109bdfd108e8519d122c1d31452fd6e8 Mon Sep 17 00:00:00 2001 From: micio Date: Sun, 20 May 2012 17:05:33 +0000 Subject: [PATCH] Ide/Debuggers/Gdb_MI2 : adapted python Value inspectors to Core changes git-svn-id: svn://ultimatepp.org/upp/trunk@4978 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/ide/Debuggers/PrettyPrinters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uppsrc/ide/Debuggers/PrettyPrinters.py b/uppsrc/ide/Debuggers/PrettyPrinters.py index ef9c16814..6be3463a4 100644 --- a/uppsrc/ide/Debuggers/PrettyPrinters.py +++ b/uppsrc/ide/Debuggers/PrettyPrinters.py @@ -182,10 +182,10 @@ class UppValuePrinter(object): def to_string(self): try: - magic = self.val['MAGIC'] + magic = self.val['magic'] except Exception as inst: return '' - if magic != 0xdeadbeef: + if magic[0] != 0xc436d851 or magic[1] != 0x72f67c76 or magic[2] != 0x3e5e10fd or magic[3] != 0xc90d370b: return '' typeId = Upp_Value_GetType(self.val) if typeId == 0: