Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] Raodmap - remote debugging?

Just a FYI, 

the original gdb/MI development started as remote only.  In case
someone wants to start adding remote debugging to the plugin, the
command to invoke in gdb is "target async" or "target extended-async".
These targets are the asynchronous versions of the usual "target
remote" and "target extended-remote", and return to the gdb prompt
immediately after an execution command is issued, instead of waiting
for the inferior to stop again.

Elena Zannoni
GDB developer
Red Hat, Inc.


David Inglis writes:
 > There is currently nothing planed within the cdt.debug.core framework
 > for remote debugging, it is currently left up to the implementor of
 > the CDI debugger to support it. You could implement your own MI debugger
 > with remote capabilities which uses the core mi plugin but bootstraps
 > the startup to select a target, uploads binaries, setup remote 
 > environment, etc.
 > 
 > A starting point would to look at the CDebugger and CDebuggerPage
 > extension points defined in cdt.debug.core/ui and then look at
 > the local launch tab group, tabs and delegate to see how everything
 > is launched and create a remote launch delegate.
 > 
 > 
 > 
 > 
 > Robb, Sam wrote:
 > > Folks,
 > > 
 > >   Looking at the CDT roadmap, it doesn't appear that support for remote
 > > debugging using GDB is planned for any time in the near future.  The current
 > > cvs source seems to confirm this, as there are MI commands for -target-select
 > > and -target-detach are defined, for example, but not much else.
 > > 
 > >   Are there any plans to introduce support for remote C/C++ debugging?
 > > 
 > > -Samrobb
 > > 
 > > 
 > > 
 > > _______________________________________________
 > > cdt-debug-dev mailing list
 > > cdt-debug-dev@xxxxxxxxxxx
 > > http://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
 > 
 > 
 > _______________________________________________
 > cdt-debug-dev mailing list
 > cdt-debug-dev@xxxxxxxxxxx
 > http://dev.eclipse.org/mailman/listinfo/cdt-debug-dev


Back to the top