See
https://codereview.qt-project.org/c/qt/qtbase/+/645568/9/src/testlib/
qtestcrashhandler_unix.cpp

I've looked at the definitions of the mcontext_t inside glibc and tried to 
write the correct code for other platforms. But I've left it disabled because 
I don't want to break the build and don't want to spend time on anything 
except x86.

If you have a machine or OS that isn't one of those I've already enabled and 
you have the time to test the code to see if running the "crashes" test does 
print the correct Program Counter and backtrace, post a comment in the change 
above with the code that worked.

For all the platforms that don't respond before change integrates, feel free 
to submit changes later.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCAI Platform & System Engineering

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to