http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32998
--- Comment #13 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2011-04-22 18:49:06 UTC --- CU specific -O flag indication is needed for proper prologue skipping: http://sourceware.org/bugzilla/show_bug.cgi?id=12573 [rfc, 7.3?] -O2 -g breakpoints internal error + prologue skipping http://sourceware.org/ml/gdb-patches/2011-04/msg00229.html Currently a loclist reference heuristic is implemented which occasionally fails.