[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-debug-dev] Using Eclipse for remote debugging
|
Alain Magloire wrote:
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"
_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
Thanks but I've still two questions.
- is gdb started from eclipse or have I to run it outside with some particular
arguments (to enable it as a server)?
- when i try to debug an executable there is always the message "Failed Launching
CDI Debugger": No symbol "auto" in current context". Where is the problem?
(Until now I've used ddd connected to gdb, which was connected to an extended-remote
target monitor on the host)
best regards joel
--
Joel Brenner -- Designer
E-mail: joel.brenner@xxxxxxxxxxx
Phone: +41 91 612 46 00 -- Fax : +41 91 612 47 01
Direct: +41 91 612 47 12
www.nemerix.com
NemeriX SA Stabile Gerre 2000
PO Box 425 6928 Manno, Switzerland
----------