gdb does not stops inside a template function
Daniel Jacobowitz
drow@false.org
Tue Jun 20 12:27:00 GMT 2006
On Tue, Jun 20, 2006 at 10:38:01AM +0200, Dima Sorkin wrote:
> 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.
Yes, this is a known bug; it's basically the same bug as not stopping
in constructor functions using g++. Sorry. No one has had time to do
the major changes needed to fix it.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list