Re: gdb breakpoint issue with C++ templates
On Jul 14, 6:03 pm, jacob navia <ja...@nospam.org> wrote:
Ajay 0x007 wrote:
On Jul 14, 7:36 pm, Victor Bazarov <v.Abaza...@comAcast.net> wrote:
Ajay 0x007 wrote:
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)
Please ask about tools and utilities in 'gnu.utils.help' or maybe
'gnu.gdb.bug' (at least they talk gdb). Here we talk C++ *language* a=
nd
not tools or how to use them.
I posted same query on that forum but nobody seam to be replying.
I apologize for spamming but its really urgent for me so if anybody
have any idea regarding the sam please mail me @ ajay.0x...@gmail.com
In general all the groups of the gnu.*.* type are almost inactive. The
only posts I see are people asking questions, but there is never
any answer. Maybe because:
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE PROGRAM,
[snip]
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
NECESSARY SERVICING, REPAIR OR CORRECTION.
Or maybe simply because they've shifted their support to mailing
lists. I don't know about gdb, but I've always gotten prompt
and helpful answers from most of the other mailing lists (e.g.
GNU make).
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34