This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: attach to a socket in localhost:8787
- From: Michael Snyder <Michael dot Snyder at palmsource dot com>
- To: op132650c at mail dot telepac dot pt
- Cc: gdb at sourceware dot org
- Date: Thu, 28 Sep 2006 11:26:00 -0700
- Subject: Re: attach to a socket in localhost:8787
- References: <1159431247.1wjx69rdmmgw@webmail.telepac.pt>
On Thu, 2006-09-28 at 09:14 +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.
If it's really the localhost, ie. the same IP that gdb is running on,
then you just say "target remote :8787".
Or I think you can say "target remote localhost:8787", but I'm not sure.
The first syntax should work.