From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27329 invoked by alias); 28 Sep 2006 20:25:23 -0000 Received: (qmail 27277 invoked by uid 22791); 28 Sep 2006 20:25:22 -0000 X-Spam-Check-By: sourceware.org Received: from relay5.ptmail.sapo.pt (HELO sapo.pt) (212.55.154.25) by sourceware.org (qpsmtpd/0.31) with SMTP; Thu, 28 Sep 2006 20:25:20 +0000 Received: (qmail 24965 invoked from network); 28 Sep 2006 20:25:15 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.142) by relay6 with SMTP; 28 Sep 2006 20:25:15 -0000 Received: (qmail 28861 invoked by uid 64140); 28 Sep 2006 20:25:13 -0000 Received: from 192.168.25.49 (192.168.25.49 [192.168.25.49]) by w2.webmail.telepac.pt (Horde) with HTTP for ; Thu, 28 Sep 2006 21:25:13 +0100 Message-ID: <1159475113.njescx5idv4@w2.webmail.telepac.pt> Date: Thu, 28 Sep 2006 20:25:00 -0000 From: op132650c@mail.telepac.pt To: Michael Snyder Cc: Daniel Jacobowitz , gdb@sourceware.org Subject: Re: attach to a socket in localhost:8787 References: <1159431247.1wjx69rdmmgw@webmail.telepac.pt> <20060928125344.GA2415@nevyn.them.org> <1159453247.3m65oqlx4rpc@w6.webmail.telepac.pt> <20060928150107.GA6844@nevyn.them.org> <1159468313.9768.183.camel@localhost.localdomain> In-Reply-To: <1159468313.9768.183.camel@localhost.localdomain> 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/msg00182.txt.bz2 Yes, you right. I didn't know that it was possible GDB and AS having different protocols. But, since eclipse debugger is working over jdb, this means that jdb can talk with the AS. Right??? I haven't still tried with jdb. Only with eclipse debugger. Why gdb implements a protocol different from jdb? Where can i get more information about gdb protocols? Thanks, Pedro Citando Michael Snyder : > On Thu, 2006-09-28 at 11:01 -0400, Daniel Jacobowitz wrote: > > On Thu, Sep 28, 2006 at 03:20:47PM +0100, op132650c@mail.telepac.pt wrote: > > > Listening for transport dt_socket at address: 8787" > > > > > > I use to debug my ear in Eclipse, creating a remote connection Standard > (Socket > > > Attach) to localhost:8787. > > > > > > Now, i want to debug my ear using gdb. > > > > > > I used to do inside gdb: > > > target remote localhost:8787 > > > > > > but this abort the AS. > > > > I have no idea what sort of server this is, but it is extremely > > unlikely that it speaks the GDB protocol or can communicate with GDB. > > > > I think I see the problem (maybe). Pedro, you're talking about > Java, aren't you? You were using Eclipse in java-debugging mode? > > GDB can't do that -- at least not in the same way. > The gdb socket and the Jboss application server > socket are speaking different languages. > >