Bug 230274

Summary: [tcf][api] Runcontrol Service. Reverse resume modes
Product: [Tools] TCF Reporter: Sidharth Kodikal <sidharth>
Component: CoreAssignee: Eugene Tarassov <eugene>
Status: RESOLVED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: enhancement    
Priority: P3 CC: cdtdoug, eugene, felix.burton, sidharth
Version: unspecifiedKeywords: api, contributed
Target Milestone: 0.1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Runcontrol spec update mober.at+eclipse: iplog+

Description Sidharth Kodikal CLA 2008-05-05 14:57:55 EDT
Added the following "reverse resume modes" to accomodate targets that support it:

RM_REVERSE_RESUME = 6 - reverse of RM_RESUME; resume backward execution. Execution will continue until suspended by command or breakpoint. 

RM_REVERSE_STEP_OVER = 7 - reverse of RM_STEP_OVER; reverse step over a single instruction. This effectively "un-executes" the previous instruction. 

RM_REVERSE_STEP_INTO = 8 - reverse of RM_STEP_INTO; reverse step into a single instruction in the given context. 

RM_REVERSE_STEP_OVER_LINE = 9 - reverse of RM_STEP_OVER_LINE; resume backward execution of given context until control reaches the beginning of the code block corresponding to a different source line. Error is returned if line number information not available. 

RM_REVERSE_STEP_INTO_LINE = 10 - reverse of RM_STEP_INTO_LINE; resume backward execution of given context until control reaches an instruction that belongs to a different line of source code. If a function is called, stop at the beginning of the last line of the function code. Error is returned if line number information not available. 

RM_REVERSE_STEP_OUT = 11 - reverse of RM_STEP_OUT; resume backward execution of the given context until control reaches the point where the function was called.
Comment 1 Sidharth Kodikal CLA 2008-05-05 14:58:23 EDT
Created attachment 98689 [details]
Runcontrol spec update
Comment 2 Eugene Tarassov CLA 2008-05-06 22:21:49 EDT
Contributed. I also added reverse resume modes to IRunControl.java.
Comment 3 Martin Oberhuber CLA 2008-10-07 05:11:23 EDT
Sidharth - I just noticed that you never explicitly mentioned that you license
your spec contribution under the EPL, and actually have the right doing so.
Could you please add a comment here on bugzilla, based on the template at

http://www.eclipse.org/dsdp/tm/development/committer_howto.php#external_contrib
Comment 4 Sidharth Kodikal CLA 2009-03-09 12:16:40 EDT
 Legal Message: I, Sidharth Kodikal, declare that I developed attached code from scratch, without referencing any 3rd party materials except material licensed under the EPL. {I am authorized by my employer to make this contribution under the EPL.}
Comment 5 Doug Schaefer CLA 2011-05-17 10:48:35 EDT
Moving bugs to new home for IP log.
Comment 6 Martin Oberhuber CLA 2013-06-05 06:35:46 EDT
Bulk update: Marking all bugs from the TM era (before June 2011) target 0.3