mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-12 06:12:46 -06:00
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
This commit is contained in:
parent
3bb6114fd2
commit
6be69ebb10
1 changed files with 2 additions and 2 deletions
|
|
@ -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 '<value inspectors not supported>'
|
||||
if magic != 0xdeadbeef:
|
||||
if magic[0] != 0xc436d851 or magic[1] != 0x72f67c76 or magic[2] != 0x3e5e10fd or magic[3] != 0xc90d370b:
|
||||
return '<value not initialized>'
|
||||
typeId = Upp_Value_GetType(self.val)
|
||||
if typeId == 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue