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

 
 

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

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

Add a New Comment Rich Markup
   

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

Fixed in Subversion trunk (revisions 7197, 7198).

Peter Wainwright <pwainwright>
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>
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>

 

(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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-758e.
    Corresponding source code