gdb Couldn't establish connection to remote target
I want to use gdb to remote debug but has this problem
target> gdbserver 172.28.0.235:12345 cli
Process cli created; pid = 317
Remote debugging from host 172.28.0.235
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
At the host:
(gdb) set debug remote 1
(gdb) target remote 172.29.1.199:12345
Remote debugging using 172.29.1.199:12345
Sending packet: $Hc-1#09...Ack
Packet received: OK
Sending packet: $qC#b4...Ack
Packet received:
Sending packet: $qOffsets#4b...Ack
Packet received:
Sending packet: $?#3f...Ack
Packet received: T0501:7ffffda0;40:30010a48;
Couldn't establish connection to remote target
Remote sent bad register number 40: 30010a48;
Packet: 'T0501:7ffffda0;40:30010a48;'
Last edited by powah; 03-21-2006 at 04:18 PM.
|