This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: attach to a socket in localhost:8787


I've worked on debugging a remote connection a few weeks ago,
may be you can use that to analyse the problem:

set debug remote 1

It will give you packet exchanged between gdb and the server.

Denis

Daniel Jacobowitz wrote:

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






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]