Commit 213f2930 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger: Fix expanding objects for Symbian (gdb 6.8).

Handle older Python bindings as well.

Reviewed-by: hjk
Task-number: QTCREATORBUG-2801
parent e7a6bae1
......@@ -1660,7 +1660,13 @@ class Dumper:
#warn("FIELD NAME: %s" % field.name)
#warn("FIELD TYPE: %s" % field.type)
if field.is_base_class:
# The 'field.is_base_class' attribute exists in gdb 7.0.X and later only.
# Symbian gdb is 6.8 as of 20.10.2010. TODO: Remove once Symbian gdb is up to date.
if hasattr(field, 'is_base_class'):
isBaseClass = field.is_base_class
else:
isBaseClass = field.name == stripClassTag(str(field.type))
if isBaseClass:
# Field is base type. We cannot use field.name as part
# of the iname as it might contain spaces and other
# strange characters.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment