1.3.146 set os

Controls Operating System (OS) settings in the debugger. An OS-aware connection must be established before you can use this command.

Syntax

set os option

Where:

option

Specifies additional options:

enabled
auto

Automatically stops the target and enables OS support when an OS image is loaded into the debugger. For example, Linux kernel images are detected by reading the members for the structure returned by the expression init_nsproxy.uts_ns->name. Unloading the image disables OS support.

This is the default for Linux kernel connections.

deferred

Automatically enables OS support when an OS image is loaded into the debugger, but only when the target next stops. Unloading the image disables OS support.

This is the default for Real-Time Operating System (RTOS) aware connections.

off

Disables OS support.

on

Enables OS support. Use this option when the OS image is already loaded into the debugger and the target is stopped.

kernel-stack-size bytes

Specifies the number of bytes to use for the stack size.

log-capture
off

Disables OS log capture and printing of Linux kernel dmesg logs to the console. This is the default.

on

Enables OS log capture and printing to the console.

Note:

This option automatically checks the connection state and, if required, stops the target before changing this setting.

physical-address

Specifies the physical address of where the kernel is loaded.

read-all-threads-on-stop
off

Disables OS reading of threads when the target is stopped. This is the default.

on

Enables OS reading of threads when the target is stopped.

Example 1-149 Examples

set os log-capture on               # Enable OS log capture and printing to the console
set os enabled off                  # Disable OS support in the debugger
set os physical-address 0x80080000  # Specifies the physical address 
                                    # of where the kernel is loaded as 0x80080000.
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.