Commit ac8626aa authored by David Fries's avatar David Fries Committed by David Fries

avoid None.replace in fromNativePath

This is with gdb 7.4.1 linked with python 2.7.3

Change-Id: Idf921afd37d72056874c7179c899f62f791f9282
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent aba62280
......@@ -1633,7 +1633,11 @@ class Dumper(DumperBase):
symtab = sal.symtab
if not symtab is None:
objfile = fromNativePath(symtab.objfile.filename)
fileName = fromNativePath(symtab.fullname())
fullname = symtab.fullname()
if fullname is None:
fileName = ""
else:
fileName = fromNativePath(fullname)
if self.nativeMixed and functionName == "qt_qmlDebugMessageAvailable":
interpreterStack = self.extractInterpreterStack()
......
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