Skip to content

NULLs in SWO output #7373

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
RobMeades opened this issue Jun 29, 2018 · 1 comment
Closed

NULLs in SWO output #7373

RobMeades opened this issue Jun 29, 2018 · 1 comment

Comments

@RobMeades
Copy link
Contributor

Description

With the introduction of #5571, it is now possible to redirect stdio to SWO really easily, which is very sweet indeed. There is an issue, though, which is that one character of output is written as an ITM 32-bit word. The two clients I have used (GDB and JLinkSWOViewer) interpret each byte of the 32-bit word as an individual character and so either emit three white-space characters (GDB) or, seeing NULL, terminate the string and print nothing more (JLinkSWOViewer), which is not really usable.

@kjbracey-arm is fixing this in #7371.

Issue request type

[ ] Question
[ ] Enhancement
[x] Bug

@ciarmcom
Copy link
Member

ARM Internal Ref: MBOTRIAGE-982

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants