Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Semihosting output on ARM7TDMI
@ 2001-08-14  4:51 Joel Brenner
  2001-08-14  7:56 ` Grant Edwards
  0 siblings, 1 reply; 8+ messages in thread
From: Joel Brenner @ 2001-08-14  4:51 UTC (permalink / raw)
  To: gdb

Hi I'm using JEENI debug module wich supports semihosting (libc) on a
ARM7TDMI target. I'make use of function printf() from newlib wich seems
to work.
I've tried to execute  "printf("abc\n\n");" and I've logged the ADP
communication:
....
R=0001000d H->T CI_HADP:  ADP_Execute 00000000
rx: [T=0 L=24] 01 d1 d1 01 0d 00 01 80 00 00 00 00 ff ff ff ff ff ff ff
ff 00 00 00 00
R=8001000d H<-T CI_HADP:  ADP_Execute 00000000
rx: [T=0 L=36] 05 d2 d1 01 69 00 00 80 00 00 00 00 ff ff ff ff ff ff ff
ff 00 00 00 00 04 00 00 00 04 00 00 00 61 62 63 0a
R=80000069 H<-T CI_CLIB:  CL_Write 00000000 00000004 00000004 0a636261
tx: [T=0 L=28] 05 d2 d2 01 69 00 00 00 00 00 00 00 ff ff ff ff ff ff ff
ff 01 00 00 00 04 00 00 00
R=00000069 H->T CI_CLIB:  CL_Write 00000001 00000004
rx: [T=0 L=33] 05 d3 d2 01 69 00 00 80 00 00 00 00 ff ff ff ff ff ff ff
ff 00 00 00 00 01 00 00 00 01 00 00 00 0a
R=80000069 H<-T CI_CLIB:  CL_Write 00000000 00000001 00000001 0000000a
tx: [T=0 L=28] 05 d3 d3 01 69 00 00 00 00 00 00 00 ff ff ff ff ff ff ff
ff 01 00 00 00 01 00 00 00
R=00000069 H->T CI_CLIB:  CL_Write 00000001 00000001
rx: [T=0 L=28] 02 d4 d3 01 01 00 02 80 00 00 00 00 ff ff ff ff ff ff ff
ff 20 00 02 00 00 00 00 00
R=80020001 H<-T CI_TADP:  ADP_Stopped 00020020 00000000
...

but no message are printed to gdb console. Are the above messages
correct?
Whath is the command to enable semihosting? Where GDB puts the receved
strings ?

tanks Brenner Joel


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

end of thread, other threads:[~2001-08-14 11:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-14  4:51 Semihosting output on ARM7TDMI Joel Brenner
2001-08-14  7:56 ` Grant Edwards
2001-08-14  8:33   ` Andrew Cagney
2001-08-14  8:46     ` Grant Edwards
2001-08-14  9:11       ` Andrew Cagney
2001-08-14  9:24         ` Grant Edwards
2001-08-14  9:31           ` Keith Seitz
2001-08-14 11:43             ` Grant Edwards

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