This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/65821] [4.8.2 regression] incorrect debug line # info for main
- From: "chihin.ko at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Apr 2015 03:24:14 +0000
- Subject: [Bug debug/65821] [4.8.2 regression] incorrect debug line # info for main
- Auto-submitted: auto-generated
- References: <bug-65821-4 at http dot gcc dot gnu dot org/bugzilla/>
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.