This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/4966: [3.2/3.3/3.4 regression] g++ generates incorrect debugging information
- From: "Christian Ehrhardt" <ehrhardt at mathematik dot uni-ulm dot de>
- To: gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, meixner at rbg dot informatik dot tu-darmstadt dot de, rodrigc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Sat, 11 Jan 2003 02:38:22 +0100
- Subject: Re: c++/4966: [3.2/3.3/3.4 regression] g++ generates incorrect debugging information
It seems that g++ emits two identical copies of the constructor
for B from the same source lines. When gdb sets the breakpoint
at the specified line it chooses one of those copies but gcc happens
to call the other copy. Thus the breakpoint is never reached.
This means that this is probably a gdb bug (gdb should set two break
points) but someone should verify that the debugging information
is really ok.
regards Christian
--
THAT'S ALL FOLKS!