[Bug debug/95360] inconsistent behaviors at -O0
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 27 15:53:07 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95360
--- Comment #7 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #4)
> So, it seems gdb ignores the "recommended breakpoint location" at 0x4004cb,
> because there's an earlier one on the same line at 0x4004bc.
>
> The gdb approach is reasonable, but it could do better.
>
I found how to disable this behaviour in gdb, and then we do step from line 5
to line 6.
Filed gdb PR https://sourceware.org/bugzilla/show_bug.cgi?id=26054 .
More information about the Gcc-bugs
mailing list