This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/9160] breakpoints in template functions


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]