This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]