bugDDD - Bugs: bug #25510, Confusion when gdb sets breakpoint...

 
 

bug #25510: Confusion when gdb sets breakpoint at multiple locations

Submitted by:  Peter Wainwright <pwainwright>
Submitted on:  Sat 07 Feb 2009 09:01:59 AM UTC  
 
Category:  Gdb integration Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Peter Wainwright <pwainwright>
Open/Closed:  Closed Release:  3.3.12-rc2

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 18 Feb 2009 07:09:04 PM UTC, comment #2: 

Fixed in Subversion trunk (revisions 7197, 7198).

Peter Wainwright <pwainwright>In charge of this item.
Sat 14 Feb 2009 07:59:19 PM UTC, comment #1: 

Proposed patch.

I have added a vector of "BreakPointLocn" structures to keep track of the multiple locations for each breakpoint.  This contains a single element by default.

The patch can probably be simplified!

(file #17452)

Peter Wainwright <pwainwright>In charge of this item.
Sat 07 Feb 2009 09:01:59 AM UTC, original submission:  

Using GNU gdb 6.8-debian on Ubuntu 8.04

When setting a breakpoint at a particular source line, by double-clicking or using "Set Breakpoint" from the context menu, sometimes GDB will set multiple breakpoints.  This occurs for example in C++ constructors, because they cause the compiler to generate several functions (in-charge/not-in-charge etc.)  It also occurs for templates.

DDD sometimes loses track of the breakpoint numbers in this case.  Sometimes breakpoint icons do not appear.  Sometimes a breakpoint icon appears, but refers to a breakpoint other than that which was just set.

Peter Wainwright <pwainwright>In charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #17452:  ddd-multi-bp.patch added by pwainwright (28KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pwainwright (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-02-18 pwainwright Open/ClosedOpen => Closed
    2009-02-18 pwainwright StatusIn Progress => Fixed
    2009-02-14 pwainwright Attached File- => Added ddd-multi-bp.patch, #17452
    2009-02-07 pwainwright StatusNone => In Progress
        Assigned toNone => pwainwright
    2009-02-07 pwainwright CategorySource/Code view => Gdb integration

    Back to the top


    Powered by Savane 3.5