On 2 January 2018 at 17:31, Paolo Bonzini <pbonz...@redhat.com> wrote: > 2) I think removing -O2 from --enable-debug should be removed at the > same time. That pretty much guarantees that nobody will use > --enable-debug, and optimized builds are decently debuggable nowadays. > The best would be to detect -Og, and add either -Og or -O1 depending on > presence.
Hmm. I use --enable-debug all the time and one of the reasons I use it is that the optimized build is usually more pain to debug with... thanks -- PMM