Skip to content

NULLs in SWO output #7373

Closed
Closed
@RobMeades

Description

@RobMeades

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions