Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 344694

Summary: Send full path of source file to gdb while inserting breakpoint in dsf
Product: [Tools] CDT Reporter: Abeer Bagul <abeerbagul>
Component: cdt-debug-dsf-gdbAssignee: Project Inbox <cdt-debug-dsf-gdb-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: minor    
Priority: P3 CC: cdtdoug, pawel.1.piech
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch to allow sub-service of MIBreakpointsManager to override adjustDebuggerPath none

Description Abeer Bagul CLA 2011-05-04 08:13:12 EDT
Build Identifier: I20110310-1119

The method MIBreakpointsManager.adjustDebuggerPath(...) has been added to fix
DSF bug 232415.
This DSF bug reports that mingw-gdb has problems accepting windows style paths
while inserting breakpoints, hence the method truncates the path to only
filename. This has the downside of not being able to resolve duplicate
filenames.

Our gdb is able to accept windows style paths, hence it should be possible to override this method in a subclass of MIBreakpointsManager and make it a noop.


Reproducible: Always
Comment 1 Abeer Bagul CLA 2011-05-04 08:14:36 EDT
Created attachment 194702 [details]
Patch to allow sub-service of MIBreakpointsManager to override adjustDebuggerPath
Comment 2 Marc Khouzam CLA 2011-05-04 09:15:09 EDT
Do you need this for this release?  We are past API freeze, so I would prefer to wait until the next release.  Is that ok for you?
Comment 3 Abeer Bagul CLA 2011-05-05 02:35:11 EDT
Sure, we already have added the same patch in our copy of CDT, so this can wait.
Comment 4 Marc Khouzam CLA 2011-05-05 10:34:06 EDT
(In reply to comment #3)
> Sure, we already have added the same patch in our copy of CDT, so this can
> wait.

Thanks.  You'll probably have to remind me to get back to this once we have the branch for the next release.