Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] DSF: reading another service's I/O

This should work:
IGdbBackend fGDBBackend = fTracker.getService(IGDBBackend.class);

On 20 Feb 2014, at 15:10, John Moule <john.m@xxxxxxxxxxxxxxx> wrote:


I am using the brilliant GNU ARM Eclipse Plug-ins for embedded debug. It includes a step to launch a gdb server which facilitates a debug session on the target.

I would like to add my own dsf step to monitor the messages from the gdb server after a certain point in the FLS (stepLoadImage) and then terminate the debug session.

I have added a stub of my own step to the FLS which gets called in the correct place. In my step I have access to the tracker:

  DsfServicesTracker tracker = new DsfServicesTracker(Activator.getBundleContext(), fSession.getId());

But I don't know how to get a reference to the backend gdb server so I can monitor the getMIOutputStream.  
Any help gratefully received. I'm still on quite a learning curve in DSF so simple instructions would be appreciated please.

rgds john
cdt-dev mailing list

Back to the top