Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 283156 - [breakpoints] Failed breakpoint marker get added multiple time with multiple launches
Summary: [breakpoints] Failed breakpoint marker get added multiple time with multiple ...
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 6.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 6.0.1   Edit
Assignee: Marc Khouzam CLA
QA Contact: Marc Khouzam CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-10 11:50 EDT by Marc Khouzam CLA
Modified: 2009-09-14 13:24 EDT (History)
2 users (show)

See Also:
marc.khouzam: iplog-
fchouinard: review+


Attachments
Fix (2.34 KB, patch)
2009-07-10 13:32 EDT, Marc Khouzam CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Khouzam CLA 2009-07-10 11:50:28 EDT
When a launch tries and fails to install a breakpoint, it will add a problem marker.  If another launch is triggered, the first launch will re-attempt to install the breakpoint and will add a second problem marker.  This second problem marker is not needed (and would not be removed properly).
Comment 1 Marc Khouzam CLA 2009-07-10 13:32:58 EDT
Created attachment 141320 [details]
Fix

This patch remove a problem marker before adding a new one.

Also, it clears all problem markers when GDB shutsdown. This fixes bug 272077.  I needed this fix to properly test the fix to the current bug.
Comment 2 Marc Khouzam CLA 2009-07-10 13:35:52 EDT
committed to 7.0
Comment 3 Marc Khouzam CLA 2009-07-10 13:56:25 EDT
Committed to 6.0.1
Comment 4 Marc Khouzam CLA 2009-07-10 14:44:01 EDT
Francois can you review?