Working with semihosting

Semihosting is supported by the debugger in both the command-line console and in Eclipse.

Command-line console

By default all semihosting messages (stdout and stderr) are output to the console. When using this console interactively with debugger commands you must use the stdin command to send input messages (stdin) to the application.

Alternatively, you can disable semihosting in the console and use a separate telnet session to interact directly with the application. During start up, the debugger creates a semihosting server socket and displays the port number to use for the telnet session.

Eclipse

The App Console view within the DS-5 Debug perspective controls all the semihosting input/output requests (stdin, stdout, and stderr) between the application code and the debugger.

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0446K
Non-ConfidentialID071912