pyclewn version: 1.5
tracker id: 3193389
mercurial changeset: 6bbb053c4c6f

Description:

    When setting a breakpoint in a template function, pyclewn does not
    set a sign in the source file.

Solution:

    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 "pathname: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.

    Use the "original-location" attribute for function template
    breakpoints in pyclewn breakpoints list.

Files:

    gdbmi.py

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

Reply via email to