set os

This command controls Operating System (OS) settings in the debugger.

Note

A Linux kernel connection must be established before you can use this command.

Show/hideSyntax

set os option

Where:

option

Specifies additional options:

log-capture
off

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

on

Enables OS log capture and printing to console.

Note

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

enabled
auto

Automatically enables OS support when a Linux kernel image is loaded into the debugger. 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.

off

Disables OS support.

on

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

Show/hideExample

Example 109. set os

set os log-capture on                 # Enable OS log capture and printing to console
set os enabled off                    # Disable OS support in debugger

Show/hideSee also

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