Returning from the last function call into the upper scope leaves gdb pointing at the last statement in the block, even if that statement's in a branch that wasn't executed. The debug location for the return should point at the end of the body block instead, like gcc and clang do.
Returning from the last function call into the upper scope leaves gdb pointing at the last statement in the block, even if that statement's in a branch that wasn't executed. The debug location for the return should point at the end of the body block instead, like gcc and clang do.