This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/49951] [4.5/4.6/4.7 Regression] Debug stepping behavior regarding g++ Class destructor has changed for the worse starting at gcc 4.5.0
- From: "asmwarrior at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 29 Oct 2011 14:06:53 +0000
- Subject: [Bug debug/49951] [4.5/4.6/4.7 Regression] Debug stepping behavior regarding g++ Class destructor has changed for the worse starting at gcc 4.5.0
- Auto-submitted: auto-generated
- References: <bug-49951-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49951
--- Comment #5 from asmwarrior <asmwarrior at gmail dot com> 2011-10-29 14:06:53 UTC ---
Hi, all, I think this bug happened about more than one years, I have test in
both gcc 4.5 and gcc 4.6.x under Windows.
I have both post an issue in GDB maillist and GCC-help maillist. see:
http://gcc.gnu.org/ml/gcc-help/2011-10/msg00239.html
and
http://sourceware.org/ml/gdb/2011-10/msg00209.html
The GDB guys thoughts that this is a bug in GCC, and GCC emit wrong debug_line
information.
When I use GDB under Codeblocks, it will always do some extra jump to variable
declaration, and quite unfriendly.
asmwarrior
ollydbg from codeblocks' forum