Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tcf-dev] [Bug 245386] [tcf] Provide a generic breakpoint set API

https://bugs.eclipse.org/bugs/show_bug.cgi?id=245386
Product/Component: TCF / Core

Eugene Tarassov <eugene.tarassov@xxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Eugene Tarassov <eugene.tarassov@xxxxxxxxxxxxx> 2011-06-03 10:40:21 EDT ---
Context API now includes new functions to set/unset breakpoints:
  int context_plant_breakpoint(ContextBreakpoint * bp)
  int context_unplant_breakpoint(ContextBreakpoint * bp)
The functions also allow implementation of hardware breakpoints.

The agent now calls context_plant_breakpoint() first, but if it returns
ERR_UNSUPPORTED, the agent falls back to original method of planting - using
context_write_mem(). This gives back-end implementation full control over
breakpoints planting.

-- 
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


Back to the top