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]

Re: c++/375: debug problems when there are multiple expansions ofsame template


The following reply was made to PR c++/375; it has been noted by GNATS.

From: Petr4 <petr.bug@gmail.com>
To: gdb-gnats@sources.redhat.com
Cc:  
Subject: Re: c++/375: debug problems when there are multiple expansions of
	same template
Date: Sun, 20 Apr 2008 16:55:22 +0200

 This bug was probably fixed in GDB 6.8.
 Announcement (http://sourceware.org/gdb/download/ANNOUNCEMENT) for 6.8
 says:
 * GDB now supports breakpoints with multiple locations,
 including breakpoints on C++ constructors, inside C++ templates,
 and in inlined functions.
 
 In gdb 6.8-debian:
 (gdb) break 15
 Breakpoint 1 at 0x804897f: file tt.cpp, line 15. (2 locations)
 (gdb) info breakpoints 
 Num     Type           Disp Enb Address    What
 1       breakpoint     keep y   <MULTIPLE> 0x0804897f
 1.1                         y     0x0804897f in void func<5>(sc_uint<5>
 const&) at tt.cpp:15
 1.2                         y     0x080489e9 in void func<6>(sc_uint<6>
 const&) at tt.cpp:15
 
 Reproducible in gdb 6.6-debian.
 
 I suggest to close this bug with resolution FIXED.
 


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