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 integrationSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Peter Wainwright <pwainwright>
Open/Closed: ClosedRelease: 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 File(s):
   
   
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
  • -unavailable- added by pwainwright (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 18 Feb 2009 07:09:04 PM UTCpwainwrightOpen/ClosedOpen=>Closed
    Wed 18 Feb 2009 07:09:03 PM UTCpwainwrightStatusIn Progress=>Fixed
    Sat 14 Feb 2009 07:59:19 PM UTCpwainwrightAttached File-=>Added ddd-multi-bp.patch, #17452
    Sat 07 Feb 2009 05:38:42 PM UTCpwainwrightStatusNone=>In Progress
      Assigned toNone=>pwainwright
    Sat 07 Feb 2009 09:03:31 AM UTCpwainwrightCategorySource/Code view=>Gdb integration

    Back to the top


    Powered by Savane 3.1-cleanup1