From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28443 invoked by alias); 23 Feb 2004 13:10:44 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 28436 invoked from network); 23 Feb 2004 13:10:42 -0000 Received: from unknown (HELO mail.pune.nevisnetworks.com) (203.124.166.179) by sources.redhat.com with SMTP; 23 Feb 2004 13:10:42 -0000 Received: from nevis_pune_xchg.pune.nevisnetworks.com (nevis_pune_xchg.pune.nevisnetworks.com [192.168.2.7]) by mail.pune.nevisnetworks.com (8.12.5/8.12.5) with ESMTP id i1NDFC9G024510 for ; Mon, 23 Feb 2004 18:45:13 +0530 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Problems: Remote debugging over UDP. Date: Mon, 23 Feb 2004 13:10:00 -0000 Message-ID: <36993D449C7FA647BF43568E0793AB3E4C860C@nevis_pune_xchg.pune.nevisnetworks.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Atul Talesara" To: X-SW-Source: 2004-02/txt/msg00314.txt.bz2 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=3D2135 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 ------------------------------------------------------------------