Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] Using Eclipse for remote debugging

> 
> Hi all,
>     I've just downloaded "eclipse-SDK-RC3b-linux-motif" +CDT 1.0.1. I 
> need to use it for cross compiling and debug a remote target (sparc-elf).
> Compiling works fine but I can't yet debug my programs. I've installed 
> sparc-elf-gdb 5.3 but I don't now if eclipse already supports remote 
> debugging.
> 
> I don't' now exactly what I have to do in order to remote debug my 
> programs on sparc-elf target.
> 
> 
> My questions are :
>     - does Eclipse/cdt supports remote debugging ?
>     - how have I to configure eclipse in order to use sparc-elf-gdb?
> 

Some work from Monta Vista was integrated in the head branch, it provides
a "GDBServer" debugger in the combo box of the debugger Tab.  You will
have to look at gdb manual for gdbserver information but basically

you dowload somehow (ftp/rcp/..) the executable on the target then start
gdb server

target> gdbserver localhost:9999 foobar

On the host side of the IDE, choose the "GDBServer" debugger
and fill the gdb path, the host and port number and "apply/Debug"




Back to the top