Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: op132650c@mail.telepac.pt
To: Michael Snyder <Michael.Snyder@palmsource.com>
Cc: Daniel Jacobowitz <drow@false.org>, gdb@sourceware.org
Subject: Re: attach to a socket in localhost:8787
Date: Thu, 28 Sep 2006 20:25:00 -0000	[thread overview]
Message-ID: <1159475113.njescx5idv4@w2.webmail.telepac.pt> (raw)
In-Reply-To: <1159468313.9768.183.camel@localhost.localdomain>

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 <Michael.Snyder@palmsource.com>:

> 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.
>
>


  reply	other threads:[~2006-09-28 20:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-28  8:14 op132650c
2006-09-28 12:53 ` Daniel Jacobowitz
2006-09-28 13:29   ` Denis PILAT
2006-09-28 14:21   ` op132650c
2006-09-28 15:01     ` Daniel Jacobowitz
2006-09-28 18:32       ` Michael Snyder
2006-09-28 20:25         ` op132650c [this message]
2006-09-28 22:25           ` Michael Snyder
2006-09-28 22:25           ` Michael Snyder
2006-09-28 18:26 ` Michael Snyder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1159475113.njescx5idv4@w2.webmail.telepac.pt \
    --to=op132650c@mail.telepac.pt \
    --cc=Michael.Snyder@palmsource.com \
    --cc=drow@false.org \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox