On Monday 08 of February 2016 11:22:38 Stephen Kitt wrote:
> Hi Jan,
>
> Le 08/02/2016 10:07, Jan Hudec a écrit :
> > On one terminal I start the program to debug under wine and gdbserver:
> > $ wine /usr/share/win32/gdbserver.exe localhost:5555
> >
> > path/to/something.exe
> >
> > and it prints
> >
> > Process path/to/something.exe created; pid = 41
> > Listening on port 5555
> > Remote debugging from host 127.0.0.1
>
> Do you get the third line immediately? It's only printed when a remote
> debugger connects, so you shouldn't get it then unless something else is
> connecting to port 5555 (which would explain your other symptoms).
Hm, yes, I do.
And this is the culprit:
$ netstat -ptn | grep 5555
tcp 0 0 127.0.0.1:47022 127.0.0.1:5555
ESTABLISHED 5510/adb
tcp 0 0 127.0.0.1:5555 127.0.0.1:47022
ESTABLISHED 17476/gdbserver.exe
So I need to retrain my muscle memory to use different port (yes, it turned
out to work). Thank you for help.
I am somewhat surprised that it just stopped working sometime last week
though, because I've been using adb quite long.
--
- Jan Hudec <[email protected]>