public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* mips n64 gdbserver
@ 2005-06-17 16:46 Maxim Osipov
  2005-06-17 17:17 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Maxim Osipov @ 2005-06-17 16:46 UTC (permalink / raw)
  To: gdb

Hello,

I'm trying to debug using gdb/gdbserver on my mips64 -mabi=64 target,
but fail to connect. Below are the protocol logs:

GDB:

Remote debugging using 192.168.0.10:9658
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: T0525:00000055;1d:000000ff;
Couldn't establish connection to remote target
Reply contains invalid hex digit 59

gdbserver:

Listening on port 9658
Remote debugging from host 192.168.0.2
[getpkt: discarding char '+']
getpkt ("Hc-1");  [sending ack]
[sent ack]
putpkt ("$OK#9a"); [looking for ack]
[received '+' (0x2b)]
getpkt ("qC");  [sending ack]
[sent ack]
putpkt ("$#00"); [looking for ack]
[received '+' (0x2b)]
getpkt ("qOffsets");  [sending ack]
[sent ack]
putpkt ("$#00"); [looking for ack]
[received '+' (0x2b)]
getpkt ("?");  [sending ack]
[sent ack]
putpkt ("$T0525:00000055;1d:000000ff;#15"); [looking for ack]
[received '+' (0x2b)]
readchar: Got EOF
[getpkt: discarding char 'ÿ']
Remote side has terminated connection.  GDBserver will reopen the connection.
Listening on port 9658

So, the question - is N64 ABI supported by gdbserver? If so, could you
give me a hint, what this problem could be?

Best regards,
Maxim

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mips n64 gdbserver
  2005-06-17 16:46 mips n64 gdbserver Maxim Osipov
@ 2005-06-17 17:17 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2005-06-17 17:17 UTC (permalink / raw)
  To: maxim; +Cc: gdb

On Fri, Jun 17, 2005 at 08:46:06PM +0400, Maxim Osipov wrote:
> So, the question - is N64 ABI supported by gdbserver? If so, could you
> give me a hint, what this problem could be?

No, it isn't (yet).  To get this right I need to return to the "target
properties" / "available registers" proposal, which you can find some
discussion of on this list earlier this year.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-17 17:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-17 16:46 mips n64 gdbserver Maxim Osipov
2005-06-17 17:17 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).