On Sun, Aug 19, 2012 at 6:58 PM, Nuwan Jayasekara
<[email protected]> wrote:
> Hi All,
> I have tried GDB command execution.at that time it was successfull.but
> when i running it again it wont work.
>
> to execute GDB command is it needed a Target?

You mean a target defined in an openocd config file? I'm not sure it's
needed to be able to connect. But you most definitely need one to be
able to do anything, what else are you going to debug?

> i have openup linux terninal and typed gdb

As a separate reminder, you'll likely want to use a GDB configured for
the target system you intend to debug, and not your host GDB.

> then
> target remote localhost:3333
> command was executed  timeout error occured.
>
> but i can execute following command;
> telnet localhost 4444
>
> what will be the reason ?

There's not nearly enough information in here to be able to figure
that out. For starters, what is your target? How do you invoke openocd
and what are the contents of any custom config files you're using? A
full -d3 debug log may be necessary.

You can also check that:
1. You've not changed the gdb_port from the default in your openocd
config files.
2. You don't have any stale openocd processes running.
3. You don't have any other process listening to port 3333 (netstat
-nlp may help)

/Andreas

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to