Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dsdp-dd-dev] Programmatically adding breakpoint on target.

Hi Janees,
There is actually a little more to this story: there are two breakpoint related services.  One is the lower level interface that Francois pointed out, the other is a breakpoint manager synchronization service which synchronizes the target breakpoints with the eclipse breakpoint database.  It is up to the implementation of the services to make sure that if a client accesses the IBreakpoints interface directly, the synchronization takes care to synchronize the Eclipse breakpoint database with the corresponding changes.  I know that with the example PDA debugger I did not add support for this, but I can't remember whether the GDB debugger implementation has it.

Cheers,
Pawel

Francois Chouinard wrote:
Hi,

DSF provides a generic interface (IBreakpoint) that should then be implemented by a Breakpoint Service specific to the integrated debugger. That I/F specifies the minimal set of functions that the service should implement (add/remove, enable/disable, ...).

The GDB/MI reference implementation provides an example.

Hope this answers your question.

Best Regards,
/fc

On Wed, Nov 12, 2008 at 12:02 PM, Janees Elamkulam <janees.ek@xxxxxxxxxx> wrote:

Hello,

Is there a common interface to programmatically add breakpoint on the
target using DSF framework that work for all C/C++ Debuggers integrated to
eclipse using DSF ?


- Janees


_______________________________________________
dsdp-dd-dev mailing list
dsdp-dd-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dsdp-dd-dev


_______________________________________________ dsdp-dd-dev mailing list dsdp-dd-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/dsdp-dd-dev


Back to the top