2.3.43. DOS_resource-list

Displays an RTOS resource list or shows details of one element in that list.

Syntax

DOS_resource-list ,qualifier [=value] [{;windowid | ;fileid}]

where:

resource-list

Specifies the resource list.

qualifier

Specifies what to display, that is all or detail. detail is the default if you specify a value. If you do not specify a value, you must use all.

value

Identifies an object in the specified resource list.

;windowid | ;fileid

Specifies a window or file where the details are to be sent. This must be a user-defined ;windowid or ;fileid. See Window and file numbers for details.

Description

The DOS_resource-list command displays an RTOS resource list or shows details of one element in that list. If you are using the GUI, then these are displayed in the Output pane. It displays the information as shown in the Details area of the Resource Viewer window. The resource-list and qualifier depend on the RTOS you are using.

You can get a list of these commands using the DCOMMANDS command after stopping or halting the RTOS image. To do this, and save the commands to the file commands.txt, enter:


fopen 100,’c:\path\commands.txt’
dcommands all ;100
vclose 100

You can also determine these from the Resource Viewer window:

  • resource-list is determined by the tab you select in the Resource List, with the exception of the Conn tab

  • qualifier is determined by right clicking on an object in the selected tab of the Resource List.

You might want to log your use of the Resource Viewer window to determine the CLI commands you can use with your RTOS. See LOG for details. You can then modify the log file, and use it as a command script, see INCLUDE.

See the RealView Debugger v1.8 Extensions User Guide for details on using the Resource Viewer window.

Examples

The following examples show how to use DOS_resource-list:

fopen 100,’c:\myfiles\threads.txt’ dos_thread_list,all ;100 vclose 100

Copies the details of all thread resources to the file c:\myfiles\threads.txt.

dos_thread_list,detail = thread_4 dos_thread_list,detail = 0x39d8 dos_thread_list = 0x39d8

Displays details about the specified thread.

dos_timer_list,detail = 0x39d8

Displays details about the specified timer.

See also

The following commands provide similar or related functionality:

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0175G
Non-Confidential