Commit e70665d3 authored by hjk's avatar hjk Committed by hjk

debugger: workaround gdb 7.1

Change-Id: I14ac857af34218457b237798a09224cd6976d282
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 17bd9f4d
......@@ -160,14 +160,16 @@ def lookupType(typestring):
except:
pass
#warn(" RESULT '%s': %s" % (typestring, type))
typeCache[typestring] = type
return None
#warn(" RESULT FOR 7.2: '%s': %s" % (typestring, type))
#typeCache[typestring] = type
#return None
# This part should only trigger for
# gdb 7.1 for types with namespace separators.
ts = typestring
while True:
#WARN("ts: '%s'" % ts)
#warn("TS: '%s'" % ts)
if ts.startswith("class "):
ts = ts[6:]
elif ts.startswith("struct "):
......@@ -883,6 +885,8 @@ def stripForFormat(typeName):
return stripped
def bbsetup(args):
typeInfoCache = {}
typeCache = {}
module = sys.modules[__name__]
for key, value in module.__dict__.items():
if key.startswith("qdump__"):
......
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