https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65821
--- Comment #2 from chihin ko <chihin.ko at oracle dot com> --- (In reply to Andrew Pinski from comment #1) > It is doing (b+3) first which is from :5 which seems correct to me. Default > arguments should have a line information right? Then gdb should stop at line 30 first and when I step into foo(), it stop at line 5. line 5 should belongs to foo(). Current behavior is confusing to user.