| |||
| Home > RealView Debugger Commands > Alphabetical command reference > DOS_resource-list | |||
Displays an RTOS resource list or shows details of one element in that list.
DOS_ resource-list ,qualifier [=value]
[{;windowid | ;fileid}]
where:
resource-listSpecifies the resource list.
qualifierSpecifies what to display, that is all or detail. detail is
the default if you specify a .
If you do not specify a value,
you must use valueall.
valueIdentifies an object in the specified resource list.
;windowid | ;fileidSpecifies a window or file where the details are
to be sent. This must be a user-defined ; or windowid;.
See Window and file numbers for details.fileid
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 and resource-list depend
on the RTOS you are using.qualifier
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:
is
determined by the tab you select in the Resource List, with the exception
of the Conn tabresource-list
is
determined by right clicking on an object in the selected tab of
the Resource List.qualifier
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.
The following examples show how to use DOS_resource-list:
fopen
100,’c:\myfiles\threads.txt’ dos_thread_list,all ;100 vclose 100Copies 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 = 0x39d8Displays details about the specified thread.
dos_timer_list,detail
= 0x39d8Displays details about the specified timer.
The following commands provide similar or related functionality: