attach to a socket in localhost:8787
Michael Snyder
Michael.Snyder@palmsource.com
Thu Sep 28 18:26:00 GMT 2006
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.
More information about the Gdb
mailing list