Semihosting output on ARM7TDMI

Joel Brenner
2001-08-14T04:51:00Z

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