ARM® DS-5™ Debugger Command Reference

Version 5.3


List of Topics

Conventions and feedback
DS-5 Debugger commands
General syntax and usage of DS-5 Debugger commands
Using special characters and environment variables in paths
Using expressions
Using wildcards
Using regular expressions in the C expression parser
Using the C++ scoping resolution operator
DS-5 Debugger commands listed in groups
Breakpoints and watchpoints
Execution control
Scripts
Call stack
Operating system
Files
Data
Memory
Registers
Display
Supporting commands
DS-5 Debugger commands listed in alphabetical order
add-symbol-file
advance
append
awatch
backtrace
break
break-script
break-stop-on-threads
cd
clear
clearwatch
condition
continue
define
delete breakpoints
delete memory
directory
disable breakpoints
disable memory
disassemble
discard-symbol-file
down
down-silently
dump
echo
enable breakpoints
enable memory
end
exit
file, symbol-file
finish
flash
flash list
flash register
flash unregister
frame
handle
hbreak
help
if
ignore
info
info address
info all-registers
info breakpoints, info watchpoints
info capabilities
info classes
info files, info target
info frame
info functions
info handle
info locals
info members
info memory
info os-log
info os-modules
info os-version
info processes
info registers
info semihosting
info sharedlibrary
info signals, info handle
info sources
info stack, backtrace, where
info symbol
info target
info threads
info variables
info watchpoints
inspect
interrupt, stop
list
load
loadfile
log
log config
log file
memory
memory auto
memory debug-cache
memory flash
memory set
next
nexti
nexts
nosharedlibrary
output
pause
print, inspect
pwd
quit, exit
reset
resolve
restore
run
rwatch
select-frame
set
set arm
set auto-solib-add
set backtrace
set breakpoint
set debug-from
set endian
set escapes-in-filenames
set flash-buffer
set listsize
set os
set print
set semihosting
set solib-absolute-prefix
set solib-search-path
set step-mode
set stop-on-solib-events
set substitute-path
set sysroot, set solib-absolute-prefix
set variable
set wildcard-style
sharedlibrary
shell
show
show architecture
show arm
show auto-solib-add
show backtrace
show breakpoint
show debug-from
show directories
show endian
show escapes-in-filenames
show flash-buffer
show listsize
show os
show print
show semihosting
show solib-absolute-prefix
show solib-search-path
show step-mode
show stop-on-solib-events
show substitute-path
show sysroot, show solib-absolute-prefix
show version
show wildcard-style
source
start
stdin
step
stepi
steps
stop
symbol-file
tbreak
thbreak
thread
unset
up
up-silently
wait
watch
whatis
where
while
x
CMM-style commands supported by the debugger
General syntax and usage of CMM-style commands
Using expressions
CMM-style commands listed in groups
Controlling breakpoints
Controlling data and display settings
Controlling images, symbols, and libraries
Controlling target execution and connections
Displaying the call stack and associated variables
Controlling the debugger and program information
Supporting commands
CMM-style commands listed in alphabetical order
break
break.delete
break.disable
break.enable
break.set
data.dump
data.load.binary
data.load.elf
data.set
go
help
print
register.set
system.down
system.up
var.frame
var.global
var.local
var.new
var.print
var.set
wait
GNU Free Documentation License
ADDENDUM: How to use this License for your documents

Proprietary Notice

Words and logos marked with ® or ™ are registered trademarks or trademarks of ARM in the EU and other countries, except as otherwise stated below in this proprietary notice. Other brands and names mentioned herein may be the trademarks of their respective owners.

Except as provided herein, neither the whole nor any part of the information contained in, or the product described in, this document may be adapted or reproduced in any material form except with the prior written permission of the copyright holder.

The product described in this document is subject to continuous developments and improvements. All particulars of the product and its use contained in this document are given by ARM in good faith. However, all warranties implied or expressed, including but not limited to implied warranties of merchantability, or fitness for purpose, are excluded.

This document is intended only to assist the reader in the use of the product. ARM shall not be liable for any loss or damage arising from the use of any information in this document, or any error or omission in such information, or any incorrect use of the product.

Where the term ARM is used it means "ARM or any of its subsidiaries as appropriate".

Copyright © 2009 ARM. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

Confidentiality Status

This document is Non-Confidential. The right to use, copy and disclose this document may be subject to license restrictions in accordance with the terms of the agreement entered into by ARM and the party that ARM delivered this document to.

Product Status

The information in this document is final, that is for a developed product.

Revision History
Revision AJune 2010First release for DS-5
Revision BSeptember 2010Update for DS-5
Revision CNovember 2010Update for DS-5 version 5.3
Copyright © 2010 ARM. All rights reserved.ARM DUI 0452C
Non-ConfidentialID112910