* gdb Couldn't establish connection to remote target
@ 2006-03-23 7:59 PoWah Wong
2006-03-23 18:40 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: PoWah Wong @ 2006-03-23 7:59 UTC (permalink / raw)
To: gdb
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;'
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gdb Couldn't establish connection to remote target
2006-03-23 7:59 gdb Couldn't establish connection to remote target PoWah Wong
@ 2006-03-23 18:40 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2006-03-23 18:40 UTC (permalink / raw)
To: PoWah Wong; +Cc: gdb
On Wed, Mar 22, 2006 at 08:31:27PM -0500, PoWah Wong wrote:
> 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;'
Is GDB compiled for the correct architecture (--target)?
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-23 1:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-23 7:59 gdb Couldn't establish connection to remote target PoWah Wong
2006-03-23 18:40 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox