show semihosting

This command displays the current semihosting settings in the debugger. You can use the set semihosting commands to modify these settings.

Show/hideSyntax

show semihosting option

Where:

option

Specifies additional options:

args

Displays the command-line arguments that are passed to the main() function in the application.

enabled

Displays the semihosting enabled setting.

file-base

Displays the setting for the file-base directory.

stdin

Displays the stdin settings.

stdout

Displays the stdout settings.

stderr

Displays the stderr settings.

top-of-memory

Displays the address for the top of memory.

stack-base

Displays the address for the stack base.

stack-limit

Displays the address for the stack limit.

heap-base

Displays the address for the heap base.

heap-limit

Displays the address for the heap limit.

Show/hideExample

Example 136. show semihosting

show semihosting args                # Display command-line arguments
show semihosting enabled             # Display semihosting enabled setting
show semihosting top-of-memory       # Display the top of memory address

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0452H
Non-ConfidentialID111711