On Thu, Feb 24, 2011 at 5:25 PM, Rob wrote: > > I have noticed if I set a breakpoint in a template function, gdb > will set multiple locations but pyclewn won't set a sign in the > source file (single location):
Hi Rob, Thanks for the bug report. Function templates do not have a "line" and "file" or "fullname" attribute in the BreakpointTable output by the gdb/MI command break-list. They do have an "original-location" attribute where the breakpoint location is recorded as "filename:lineno" (not as "function_name" since it is not possible to break into a function template using the function name). http://sourceware.org/ml/gdb-patches/2008-04/msg00272.html explains the specification of original-location for a breakpoint. Using this attribute for function templates should fix the bug. I will work on it shortly. -- Xavier Les Chemins de Lokoti: http://lokoti.alwaysdata.net ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Pyclewn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyclewn-general
