This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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]

gdb does not stops inside a template function


Hi.
I have the following problem with gdb6.3 :
If I put a breakpoint on a line inside a function template,
the gdb not always stops there.

Please see attached ".cpp" file and the gdb session transcript
(file: "templ_dbg.1.output").
It can be seen that gdb stops on first call to "f",
but not on second.

Regards and thank you,
 Dima.

P.S.
I use various versions of gcc compiler (3.3.6, 4.0.0),
the result was the same.

Attachment: templ_dbg.lines_numbered.cpp
Description: Text document

Attachment: templ_dbg.1.output
Description: Text document

Attachment: gdb.version
Description: Text document


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