[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-debug-dev] Using Eclipse for remote debugging
|
>
> Maybe I've posed the wrong question.
> I'm now running sparc-elf-gdb connected via the extended-remote protocol to
> my
> personal debug-server (located on the same host machine). The debug server is
> connected via a serial cable to a hardware debug unit that I've on a remote
> sparc processor. On top of that I usually I run ddd.
>
> My question is : can Eclipse take the control over gdb like ddd does?
>
> PS:
> in the DebuggerTab I've only GDB as option.
>
> Sorry for the stupid questions but I'm new on Eclipse and GSB interfaces.
>
- Eclipse will do the same as ddd(I think, not knowing ddd), it will connect to
the host:port or serial that the gdbserver is running. This mean that somehow you
will have started gdbserver on the target and uploaded the application
on the target.
- The "GDBServer" debugger launch tab to do this(setting serial or host) is in the
head branch not your snapshot, it is code donated by MontaVista.
- The "auto" error usually comes when Eclipse debug session starts
it tries to do in the GDB/MI protocol:
(gdb) -gdb-set auto-solib-add on
as the first step. Try on your sparc-elf-gdb command line
(gdb) set auto-solib-add on
see if it returns an error. Because even if the "GDBServer" Tab is not in your
snapshot you can still pass some commands in a ".gdbinit" file.