This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/9160] breakpoints in template functions
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 2 Sep 2009 18:32:22 -0000
- Subject: [Bug c++/9160] breakpoints in template functions
- References: <20051220120801.9160.gdb@copton.net>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From tromey at redhat dot com 2009-09-02 18:32 -------
This works now.
gdb sets a breakpoint on each instantiation:
(gdb) info b
Num Type Disp Enb Address What
1 breakpoint keep y <MULTIPLE>
breakpoint already hit 2 times
1.1 y 0x080486f0 in void f<int>(int) at test.cpp:4
1.2 y 0x08048727 in void f<double>(double)
at test.cpp:4
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |6.9
http://sourceware.org/bugzilla/show_bug.cgi?id=9160
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.