From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10482 invoked by alias); 28 Sep 2006 08:14:15 -0000 Received: (qmail 10470 invoked by uid 22791); 28 Sep 2006 08:14:14 -0000 X-Spam-Check-By: sourceware.org Received: from relay3.ptmail.sapo.pt (HELO sapo.pt) (212.55.154.23) by sourceware.org (qpsmtpd/0.31) with SMTP; Thu, 28 Sep 2006 08:14:12 +0000 Received: (qmail 1796 invoked from network); 28 Sep 2006 08:14:07 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.148) by relay3 with SMTP; 28 Sep 2006 08:14:07 -0000 Received: (qmail 9176 invoked by uid 64140); 28 Sep 2006 08:14:07 -0000 Received: from 192.168.25.49 (192.168.25.49 [192.168.25.49]) by webmail.telepac.pt (Horde) with HTTP for ; Thu, 28 Sep 2006 09:14:07 +0100 Message-ID: <1159431247.1wjx69rdmmgw@webmail.telepac.pt> Date: Thu, 28 Sep 2006 08:14:00 -0000 From: op132650c@mail.telepac.pt To: gdb@sourceware.org Subject: attach to a socket in localhost:8787 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: PTMail Webmail v2.0.13 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-09/txt/msg00174.txt.bz2 Hi, i would like to debug my program remotely, attaching my the gdb to a socket on localhost:8787. How can i do that? I've tried target remote 127.0.0.1:8787 and it doesn't work. Ie, the Jboss application server aborts. Thanks, Pedro