I hope I'm not just pointing out the obvious, but here goes.

Openocd is a server.  You connect to that server using telnet 4444 as
a default port for human interface.

gdb can be started on the command line.  Then you have to tell gdb how
to connect to the target.  For my system,
once gdb is up I type target remote :3333.  Now gdb is connected to
the target through openocd and gdb acts pretty much the same as it
does under Linux.

gdb has to connect to the target, and openocd provides that
connection.  As long as openocd and gdb support a processor it should
all work.

DaveS



On Thu, Jan 26, 2012 at 11:43 AM, CeDeROM <[email protected]> wrote:
> 2012/1/26 Vaclav Peroutka <[email protected]>:
>>> (...) + pure GDB and/or YAGARTO that gives you integration with
>>> Eclipse. (...)
>
>> I am not sure if one can use pure gdb. I found following page 
>> http://www.ofb.net/gnu/gdb/gdb_136.html
>> But I would still rather prefer mips-sde-elf-gdb from 
>> http://home.comcast.net/~mcatudal/
>
> Hello Vaclav :-) The GDB should be obviously target-architecture
> specific (i.e. arm-gdb, mips-gdb, ...) just all the toolchain for that
> specific target :-) What I mean by "pure" was "straight from the
> shell", but there are also distributions like YAGARTO that somehow
> integrates the build and debug process into nice GUI application such
> as Eclipse which might be a good chioce for start :-)
>
> Best regards (from neighbor Poland)! :-)
> Tomek
>
> --
> CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> OpenOCD-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openocd-devel

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to