Author vstinner
Recipients pablogsal, pitrou, serhiy.storchaka, vstinner
Date 2019-10-02.16:56:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570035416.22.0.207101919996.issue38350@roundup.psfhosted.org>
In-reply-to
Content
My use case is to debug a crash using a Python compiled in debug module, like python3-debug program in Fedora. Since the debug ABI is now compatible with the release build, the idea is to attempt to reproduce a crash in gdb using python3-debug instead of python3, and then use gdb to see what's going on.

With -Og, the call stack is wrong sometimes, and some function arguments and local variables cannot be read (displayed as <optimized out>).

On Travis CI, a few months ago, Python was built in debug mode using -O3. But it was a side effect of OpenSSL flags if I recall correctly.

With my PR 16544, Travis CI now uses -O0.
History
Date User Action Args
2019-10-02 16:56:56vstinnersetrecipients: + vstinner, pitrou, serhiy.storchaka, pablogsal
2019-10-02 16:56:56vstinnersetmessageid: <1570035416.22.0.207101919996.issue38350@roundup.psfhosted.org>
2019-10-02 16:56:56vstinnerlinkissue38350 messages
2019-10-02 16:56:56vstinnercreate