[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.cdt] Re: debugging using gdb on target

Armand Scholtes wrote:

> Does anyone know how to get Eclipse + CDT to login on the target and
> use/run the gdb on the target, instead of using gdb on host connected to
> gdbserver on target. I could not find out if this is possible, not even by
> search on the internet.
> 
> I know this is construction possible with ddd, using a remote login (using
> ssh) onto the target. It would look something like this
>>>>$ ddd -host user@ipaddress /application
> 
> Is something like this possible at all with eclipse + CDT in a fairly
> simple way?

You could of course start eclipse remotely via Secure Shell but not all
hardware supports such a huge (and java based!!!) application:
$ ssh -X user@ipaddress eclipse

PS: IIRC you have to ensure that you have the proper display permissions as
otherwise a part of eclipse is running on the remote host and needs to be
explicitely killed even after getting the error message. (No initial check
for display permissions happens.)

Jens