Commit df4b9340 authored by Fawzi Mohamed's avatar Fawzi Mohamed
Browse files

gdb: workaround to lookup anonymous namespaces

work around for

Change-Id: Ibfaf409d48146bbed09c0e563c140a1b7a712d4f
Reviewed-by: default avatarhjk <>

Reviewed-by: default avatarFawzi Mohamed <>
Sanity-Review: Qt Sanity Bot <>
parent 918f5a0e
......@@ -147,6 +147,11 @@ def lookupType(typestring):
type = gdb.lookup_type(ts)
except RuntimeError, error:
#warn("LOOKING UP '%s': %s" % (ts, error))
if type is None:
pos = typestring.find("<unnamed>")
if pos != -1:
# See
return lookupType(typestring.replace("<unnamed>", "(anonymous namespace)"))
# See
exp = "(class '%s'*)0" % ts
Supports Markdown
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