This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Problems: Remote debugging over UDP.
- From: "Atul Talesara" <atul dot talesara at nevisnetworks dot com>
- To: <gdb at sources dot redhat dot com>
- Date: Mon, 23 Feb 2004 18:40:37 +0530
- Subject: Problems: Remote debugging over UDP.
Hello Everybody,
I have had problems while attempting remote debugging over UDP.
For ease, I used same system as target and host. Also, I'm
logged in as "root" on both the consoles.
On Target I do the following:
------------------------------
gdbserver udp:localhost:9090 ./hello
^^^
I get the following output:
Process ./hello created; pid=2135
On Host I do:
--------------
gdb ./hello
gdb> target remote udp:localhost:9090
^^^
and get the following o/p:
Remote debugging using udp:localhost:9090
Couldn't establish connection to remote target
putpkt: write failed: connection refused.
When I omit the "UDP" part, i.e. use TCP, everything
works smoothly w same steps! Am I missing something important
here because of which GDB over UDP is not working? Can anyone
pl provide some inputs?
Thanks and Regards,
Atul P Talesara
------------------------------------------------------------------
When "Winning" and "Losing" don't have any meaning, that is when
the real game happens, play happens. Otherwise it is war.
War has a significance for Winning or Losing.
-Sri Sri
------------------------------------------------------------------