forked from qt-creator/qt-creator
Debugger: Disable parts of QDate* dumper for GDB on 32 bit
Older versions of GDB (~GDB 7.4 on 32 bit) will cause segmentation faults in inferior calls due to misaligned %ebx values in an SSE call in qstring.cpp:findChar. Change-Id: I44492106080f12e645f9d57828438ec70fd66ca6 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -1792,6 +1792,11 @@ class DumperBase:
|
||||
return True
|
||||
return functionName.startswith(self.qtNamespace() + "QV4::")
|
||||
|
||||
# Hack to avoid QDate* dumper timeouts with GDB 7.4 on 32 bit
|
||||
# due to misaligned %ebx in SSE calls (qstring.cpp:findChar)
|
||||
def canCallLocale(self):
|
||||
return True
|
||||
|
||||
def isReportableQmlFrame(self, functionName):
|
||||
return functionName and functionName.find("QV4::Moth::VME::exec") >= 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user