1.3.184 show semihosting

Displays the semihosting settings in the debugger. You can use the set semihosting commands to modify these settings.

Syntax

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.

vector

When using a semihosting breakpoint, the address is displayed otherwise a message is displayed indicating that a vector is in use.

Example 1-187 Examples

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.
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.