bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdb breakpoint issue with C++ templates Options


From: Ajay 0x007
Subject: gdb breakpoint issue with C++ templates Options
Date: Tue, 14 Jul 2009 07:38:25 -0700 (PDT)
User-agent: G2/1.0

Hi

While debugging ina templated class, when I put a breakpoint using
file_name:line_number
syntax, my simulation does not hit the breakpoint.


So to avoid that problem,  I provided complete exact template
arguments while putting the breakpoint, i.e.
class_name<T1, T2, T3>::func_name(arg1, arg2)


and it start working as expected (start hitting the function)


But I am still not able to put a breakpoint on a line number, Can
somebody provied me the syntax.


I am using gcc 3.2.3 and gdb v GNU gdb Red Hat Linux
(6.3.0.0-1.138.el3rh)


Regards




reply via email to

[Prev in Thread] Current Thread [Next in Thread]