forked from qt-creator/qt-creator
Dumper: raise exception in gdbbridge callHelper on Windows
Gdb from MinGW 7.3.0 and 5.3.0 crashes on Windows when we try to evaluate expressions that result in a function call. At least prevent evaluating such expressions from within the dumper. Task-number: QTCREATORBUG-23477 Change-Id: Ic14148a43b95aa1b52c1d4488958fa66eccdc0b5 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -744,6 +744,8 @@ class Dumper(DumperBase):
|
||||
return None
|
||||
|
||||
def callHelper(self, rettype, value, function, args):
|
||||
if self.isWindowsTarget():
|
||||
raise Exception("gdb crashes when calling functions on Windows")
|
||||
# args is a tuple.
|
||||
arg = ''
|
||||
for i in range(len(args)):
|
||||
|
||||
Reference in New Issue
Block a user