diff options
author | Andy Postnikov <apostnikov@gmail.com> | 2021-12-03 22:45:34 +0200 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2021-12-03 22:38:38 +0000 |
commit | b22ddc847548d91e670dc2296fe04d05c99677b2 (patch) | |
tree | 6dede2d25dc5131e1494d2aa7cd1c2c45fcaab06 /testing/qt-creator/fix-execinfo.patch | |
parent | eb22c8d7389b4ec5159bcfefcd4043084075ce2b (diff) | |
download | aports-b22ddc847548d91e670dc2296fe04d05c99677b2.tar.gz aports-b22ddc847548d91e670dc2296fe04d05c99677b2.tar.bz2 aports-b22ddc847548d91e670dc2296fe04d05c99677b2.tar.xz |
testing/qt-creator: upgrade to 6.0.0
Diffstat (limited to 'testing/qt-creator/fix-execinfo.patch')
-rw-r--r-- | testing/qt-creator/fix-execinfo.patch | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/testing/qt-creator/fix-execinfo.patch b/testing/qt-creator/fix-execinfo.patch index b409a30afd..f9bf566222 100644 --- a/testing/qt-creator/fix-execinfo.patch +++ b/testing/qt-creator/fix-execinfo.patch @@ -1,6 +1,6 @@ ---- a/src/plugins/debugger/shared/backtrace.cpp -+++ b/src/plugins/debugger/shared/backtrace.cpp -@@ -30,8 +30,10 @@ +--- a/src/libs/utils/qtcassert.cpp ++++ b/src/libs/utils/qtcassert.cpp +@@ -31,8 +31,10 @@ #if defined(Q_OS_LINUX) #include <stdio.h> #include <signal.h> @@ -8,18 +8,18 @@ #include <execinfo.h> #endif +#endif - - namespace Debugger { - namespace Internal { + + namespace Utils { + @@ -40,7 +42,7 @@ void dumpBacktrace(int maxdepth) { if (maxdepth == -1) - maxdepth = 200; --#if defined(Q_OS_LINUX) -+#if defined(Q_OS_LINUX) && defined(__GLIBC__) - void *bt[200] = {nullptr}; - qDebug() << "BACKTRACE:"; + maxdepth = 1000; +-#if defined(Q_OS_UNIX) ++#if defined(Q_OS_UNIX) && defined(__GLIBC__) + void *bt[1000] = {nullptr}; int size = backtrace(bt, sizeof(bt) / sizeof(bt[0])); + char **lines = backtrace_symbols(bt, size); diff --git a/src/plugins/qmldesigner/designercore/exceptions/exception.cpp b/src/plugins/qmldesigner/designercore/exceptions/exception.cpp index a3a9806f7e..c369e681ab 100644 --- a/src/plugins/qmldesigner/designercore/exceptions/exception.cpp |