forked from qt-creator/qt-creator
avoid None.replace in fromNativePath
This is with gdb 7.4.1 linked with python 2.7.3 Change-Id: Idf921afd37d72056874c7179c899f62f791f9282 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user