From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2906 invoked by alias); 28 Sep 2006 12:53:56 -0000 Received: (qmail 2888 invoked by uid 22791); 28 Sep 2006 12:53:54 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 28 Sep 2006 12:53:48 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GSvOb-0000dW-Po; Thu, 28 Sep 2006 08:53:45 -0400 Date: Thu, 28 Sep 2006 12:53:00 -0000 From: Daniel Jacobowitz To: op132650c@mail.telepac.pt Cc: gdb@sourceware.org Subject: Re: attach to a socket in localhost:8787 Message-ID: <20060928125344.GA2415@nevyn.them.org> Mail-Followup-To: op132650c@mail.telepac.pt, gdb@sourceware.org References: <1159431247.1wjx69rdmmgw@webmail.telepac.pt> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1159431247.1wjx69rdmmgw@webmail.telepac.pt> User-Agent: Mutt/1.5.13 (2006-08-11) 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/msg00175.txt.bz2 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...? -- Daniel Jacobowitz CodeSourcery