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

Bug 362274

Summary: "User request" as stop reason after 'step return'
Product: [Tools] CDT Reporter: Vladimir Prus <vladimir.prus>
Component: cdt-debug-dsf-gdbAssignee: Marc Khouzam <marc.khouzam>
Status: RESOLVED FIXED QA Contact: Marc Khouzam <marc.khouzam>
Severity: normal    
Priority: P3 CC: cdtdoug, pawel.1.piech
Version: 8.0   
Target Milestone: 8.0.2   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard:
Attachments:
Description Flags
The fix
cdtdoug: iplog+
Fix to include non-stop case marc.khouzam: iplog-

Description Vladimir Prus CLA 2011-10-28 03:54:49 EDT
Build Identifier: 

Create a project where some function is called, build and debug. Step into a function. Execute the "Step Return" command. Observe that the debug view now say "Suspended: User Request". Expected effect -- it say either "Suspended: Step", or "Suspended: Finish".

Patch is forthcoming.

Reproducible: Always
Comment 1 Vladimir Prus CLA 2011-10-28 04:15:43 EDT
Created attachment 206115 [details]
The fix
Comment 2 Marc Khouzam CLA 2011-11-02 10:45:19 EDT
Created attachment 206335 [details]
Fix to include non-stop case


Attached is the patch I committed to master and cdt_8_0.  I added your copyright notice, included the non-stop case, and fixed a typo in your name that I found in another copyright.


Thanks for the fix!
Comment 3 Marc Khouzam CLA 2011-11-02 10:45:33 EDT
Fixed
Comment 4 CDT Genie CLA 2011-11-02 11:23:04 EDT
*** cdt git genie on behalf of Vladimir Prus ***

    Bug 362274: Use &quot;Step&quot; reason after 'step return' operation

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=09874c7c094e64592e21804830beae69fc3eb95f
Comment 5 CDT Genie CLA 2011-11-02 11:23:12 EDT
*** cdt git genie on behalf of Vladimir Prus ***

    Bug 362274: Use &quot;Step&quot; reason after 'step return' operation

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=140b8ab73eef48fc7caf93c45019e0a573bbcb04
Comment 6 Vladimir Prus CLA 2011-11-02 13:25:01 EDT
Thanks Marc!