From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32305 invoked by alias); 28 Sep 2006 13:29:43 -0000 Received: (qmail 32297 invoked by uid 22791); 28 Sep 2006 13:29:42 -0000 X-Spam-Check-By: sourceware.org Received: from fra-del-01.spheriq.net (HELO fra-del-01.spheriq.net) (195.46.51.97) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 28 Sep 2006 13:29:38 +0000 Received: from fra-out-02.spheriq.net (fra-out-02.spheriq.net [195.46.51.130]) by fra-del-01.spheriq.net with ESMTP id k8SDTZVg015290 for ; Thu, 28 Sep 2006 13:29:35 GMT Received: from fra-cus-01.spheriq.net (fra-cus-01.spheriq.net [195.46.51.37]) by fra-out-02.spheriq.net with ESMTP id k8SDTYKE004879 for ; Thu, 28 Sep 2006 13:29:35 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by fra-cus-01.spheriq.net with ESMTP id k8SDTVlH008264 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 28 Sep 2006 13:29:34 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0038DDA45; Thu, 28 Sep 2006 13:29:26 +0000 (GMT) Received: from mail1.cro.st.com (mail1.cro.st.com [164.129.40.131]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id BE73047419; Thu, 28 Sep 2006 13:29:26 +0000 (GMT) Received: from st.com (crx1177.cro.st.com [164.129.47.77]) by mail1.cro.st.com (MOS 3.5.8-GR) with ESMTP id CIO09938 (AUTH "denis pilat"); Thu, 28 Sep 2006 15:29:26 +0200 (CEST) Message-ID: <451BCE35.9010803@st.com> Date: Thu, 28 Sep 2006 13:29:00 -0000 From: Denis PILAT User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0 MIME-Version: 1.0 To: op132650c@mail.telepac.pt Cc: gdb@sourceware.org Subject: Re: attach to a socket in localhost:8787 References: <1159431247.1wjx69rdmmgw@webmail.telepac.pt> <20060928125344.GA2415@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/msg00176.txt.bz2 I've worked on debugging a remote connection a few weeks ago, may be you can use that to analyse the problem: set debug remote 1 It will give you packet exchanged between gdb and the server. Denis Daniel Jacobowitz wrote: >On Thu, Sep 28, 2006 at 09:14:07AM +0100, op132650c@mail.telepac.pt wrote: > > >>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. >> >> > >Sorry, but we need a lot more information about what you're doing to >help. What's running on that port - is it gdbserver? Does it abort >when you connect or when you try to step or...? > > >