This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb does not stops inside a template function
- From: Daniel Jacobowitz <drow at false dot org>
- To: Dima Sorkin <dima dot sorkin at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Tue, 20 Jun 2006 08:24:32 -0400
- Subject: Re: gdb does not stops inside a template function
- References: <e40293600606200138j7d719a7dq45fe0c9fc229b182@mail.gmail.com>
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