Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdbserver 7.1 unable to read registers
@ 2010-09-23 17:17 William Wagner
  2010-09-24  7:47 ` Jan Kratochvil
  2010-09-24 12:58 ` Ulrich Weigand
  0 siblings, 2 replies; 12+ messages in thread
From: William Wagner @ 2010-09-23 17:17 UTC (permalink / raw)
  To: 'gdb@sourceware.org'

  Hello All,

I have built up a cross toolchain for an arm target with an x64 host. I 
have compiled gdb/gdbserver 7.1.

When I try to debug my application I can connect to gdbserver fine but I 
get an error when gdb tries to read the registers:

Remote 'g' packet reply is too long: 
00000000b07edbbe0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c07ddbbe00000000a007004010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

As far as I can tell the error is because the target and the host 
disagree as to how many registers there are on the target, however I 
compiled gdb and gdbserver with the same options.

How can I tell what register information gdb is expecting? Is there some 
either a compile time or runtime option I need to set with gdb so they 
agree on numbers of registers?

Thanks
Will

-- 
------------------------------------------------------------------------
Will Wagner                                     will_wagner@carallon.com
Development Manager                      Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------



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

end of thread, other threads:[~2010-10-07 17:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-23 17:17 gdbserver 7.1 unable to read registers William Wagner
2010-09-24  7:47 ` Jan Kratochvil
2010-09-24  7:54   ` William Wagner
2010-09-24 13:30   ` Jon Smirl
2010-09-24 12:58 ` Ulrich Weigand
2010-09-24 13:36   ` Pedro Alves
2010-09-24 13:44     ` William Wagner
2010-09-24 14:05     ` Ulrich Weigand
2010-09-24 14:39       ` Pedro Alves
2010-09-27 10:25         ` Steffen Dettmer
2010-09-27 14:44           ` Daniel Jacobowitz
2010-10-07 17:16         ` Ulrich Weigand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox