This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Remote debugging for ARM


	Hello all,

	I am trying to write an interface between the GDB Remote Protocol and a
homebrew JTAG debugger for a homebrew ARM development board.

I already managed to 'startup' (I get the "Successfully connected"
message ;) ).
So now I am trying out the commands 'g', 'G', 'p' and 'P' , Read/Write
(all) registers.

Can someone tell me what's the correct order for them? In the
registermap, you have 15 32-bit registers (OK), then 8 (?) 64-bit
'function' fields and last but not least a cpsr and yet another one. I
know the first 15 and the cpsr register, but how about the rest??

Also, what should be the byte-order??
--> if I fill in 0x01234567, I get the message $Pxx=67452301#yy
No problem for me, but is it correct? (I cannot find anything about it) 

BTW: I am using Insight/GDB 5.2.1

Regards,

   Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]