[Bug debug/84550] [8 Regression] stepping through gcc does not work with gdb 8.0.1

palves at redhat dot com gcc-bugzilla@gcc.gnu.org
Tue Mar 6 22:24:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84550

--- Comment #10 from Pedro Alves <palves at redhat dot com> ---
It sounds that way, but I haven't verified, e.g., by trying older versions of
gdb, and/or bisecting.

Kevin, in addition to trying older versions of gdb with
freorder-blocks-and-partition, I'm curious about why gdb finds different ends
of prologue when stepping vs when setting a breakpoint.  It may be that making
both spots use the same logic (e.g., it may one is skipping instructions
manually using the heuristic unwinders and another is using the line tables)
will be good enough of a stopgap to unblock this bug.


More information about the Gcc-bugs mailing list