public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* remote failure reply
@ 2005-11-03 18:49 Efim Monjak
  2005-11-03 21:19 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Efim Monjak @ 2005-11-03 18:49 UTC (permalink / raw)
  To: gdb

Hi all,

I try to debug a relatively big programm with arm-elf-gdb 6.3.50. After 
a couple of steps I receive a failure message from GDB
about register message. But later the GDB has receive an other register 
message withother failure.
Can you tell me what is hier a problem? As I used GDB 6.1 I have had a 
problem with remote target
depend on Walues in Registers. In this case GDB sent +---+--- .... In 
snapshort 6.3.50 it is fixed.
Possibly it is now a similar problem.

hier is a part of protocoll:

Sending packet: $m40003dd4,4#c0...Ack
Packet received: A8FE0280
Sending packet: $g#67...Ack
Packet received: 
E03D004032000000D13C004002000000800000003CFEFF7F2C01004000000000DC813F28F26AC140F03B0040EC3D0040703C0040C83C0040F00F0080F40B0080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005F000020
Remote failure reply: 
E03D004032000000D13C004002000000800000003CFEFF7F2C01004000000000DC813F28F26AC140F03B0040EC3D0040703C0040C83C0040F00F0080F40B0080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005F000020
Sending packet: $Z0,80000c24,4#d7...Ack
Packet received: OK
[snip]
Sending packet: $m80000b30,4#8a...Ack
Packet received: 0030A0E1
Sending packet: $g#67...Ack
Packet received: 
0000000070110380000400000000000090FA028098EE028098F2028000000000DC813F28F26AC140F03B00406C3C0040703C0040603C00403C0F0080C4460080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005F000060
Sending packet: $m800046ac,4#c3...Ack
Packet received: 0DC0A0E1

thanks

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

* Re: remote failure reply
  2005-11-03 18:49 remote failure reply Efim Monjak
@ 2005-11-03 21:19 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2005-11-03 21:19 UTC (permalink / raw)
  To: Efim Monjak; +Cc: gdb

On Thu, Nov 03, 2005 at 07:49:04PM +0100, Efim Monjak wrote:
> Hi all,
> 
> I try to debug a relatively big programm with arm-elf-gdb 6.3.50. After 
> a couple of steps I receive a failure message from GDB
> about register message. But later the GDB has receive an other register 
> message withother failure.
> Can you tell me what is hier a problem? As I used GDB 6.1 I have had a 
> problem with remote target
> depend on Walues in Registers. In this case GDB sent +---+--- .... In 
> snapshort 6.3.50 it is fixed.
> Possibly it is now a similar problem.

This is why it's traditional to use lowercase hex, not uppercase, in
remote replies.

> Packet received: 
> E03D004032000000D13C004002000000800000003CFEFF7F2C01004000000000DC813F28F26AC140F03B0040EC3D0040703C0040C83C0040F00F0080F40B0080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005F000020

This is interpreted as an error because it begins with 'E'.

Perhaps it shouldn't be, but for compatibility, I recommend fixing the
stub.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

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

end of thread, other threads:[~2005-11-03 21:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-03 18:49 remote failure reply Efim Monjak
2005-11-03 21:19 ` 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).