Skip to main content

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

Hi,

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.

  ilg.gnuarmeclipse.debug.gdbjtag.jlink.Backend.GdbServerStep

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

Back to the top