gdb problem
Hello,
Probably a little off-topic here, but do anyone have a recipe to get remote debugging with gdb + gdbserver working?
I have gdb-6.3 build for mips64-linux-gnu and when I try to connect the following error appears:
/home/maxim # ./gdbserver 192.168.0.2:5339 /bin/busybox
Process /bin/busybox created; pid = 34
Listening on port 5339
Remote debugging from host 192.168.0.2
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection. Listening on port 5339
(gdb) target remote 192.168.0.10:5339
Remote debugging using 192.168.0.10:5339
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
Googling for similar problem shows, what some people also faced it, but no solution.
Thank you,
Maxim