Expose unique identifiers for frames and the ability to retrieve a frame's parent frame (issue #450).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@410 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-12-08 11:44:30 +00:00
parent ef64033467
commit 64f91d5d9b
9 changed files with 281 additions and 5 deletions

View File

@ -1074,7 +1074,7 @@ class obj_argument:
parts = string.split(val, ':')
if len(parts) != 2:
raise Exception("Invalid 'count_func' attribute value for "+ \
this.parent.get_qualified_name()+': '+val)
self.parent.get_qualified_name()+': '+val)
if string.strip(parts[0]) == name:
return string.strip(parts[1])
return None
@ -1392,6 +1392,7 @@ class obj_analysis:
'double' : ['double', '0'],
'long' : ['long', '0'],
'unsigned long' : ['unsigned long', '0'],
'long long' : ['long long', '0'],
'size_t' : ['size_t', '0'],
'time_t' : ['time_t', '0'],
'bool' : ['int', '0'],