From: Joel Brenner <\x03joel.brenner@tchip.com>
To: gdb@sourceware.cygnus.com
Subject: Semihosting output on ARM7TDMI
Date: Tue, 14 Aug 2001 04:51:00 -0000 [thread overview]
Message-ID: <3B791E3D.A993411F@tchip.com> (raw)
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
next reply other threads:[~2001-08-14 4:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-14 4:51 Joel Brenner [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B791E3D.A993411F@tchip.com \
--to=gdb@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox