ARM® DS-5™ Using the Debugger


List of Topics

Conventions and feedback
Getting started with the debugger
About the debugger
Debugger concepts
Launching the debugger from Eclipse
Launching the debugger from the command-line console
DS-5 Debug perspective keyboard shortcuts
DS-5 Debugger command-line console keyboard shortcuts
Configuring and connecting to a target
Types of target connections
Configuring and connecting to a model
Configuring and connecting to a target using gdbserver
Disconnecting from a target
Controlling execution
About loading debug information into the debugger
Running an image
About breakpoints and watchpoints
Setting an execution breakpoint
Setting a data watchpoint
Setting a conditional breakpoint
Pending breakpoints
Stepping through an application
Handling Unix signals
Configuring the debugger path substitution rules
Examining the target
Examining the target execution environment
Examining the call stack
Debugging embedded applications
About debugging multi-threaded applications
Setting breakpoints on a specific thread
Debugging shared libraries
Debugging with command scripts
Creating a debugger script file
Running a debugger script file in Eclipse
Controlling runtime messages
About semihosting and top of memory
Working with semihosting
Controlling semihosting messages using the command-line console
Controlling the output of logging messages
About Log4j configuration files
Customizing the output of logging messages from the debugger
Working with the Snapshot Viewer
Creating a Snapshot Viewer initialization file
About the Snapshot Viewer
Connecting to the Snapshot Viewer
Considerations when creating debugger scripts for the Snapshot Viewer
DS-5 Debug perspective and views
Breakpoints view
Breakpoint properties dialog box
C/C++ editor
Commands view
Debug Control view
Disassembly view
Expressions view
History view
Memory view
Registers view
Screen view
Scripts view
Semihosting view
Manage Signals dialog box
Target view
Variables view
Debug Configurations - Connection tab
Debug Configurations - Files tab
Debug Configurations - Debugger tab
Debug Configurations - Arguments tab
Debug Configurations - Environment tab
DS-5 Debugger menu and toolbar icons
Troubleshooting
ARM Linux problems and solutions
Enabling internal logging from the debugger
Target connection problems and solutions

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.

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".

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
Copyright © 2010 ARM. All rights reserved.ARM DUI 0446A
Non-ConfidentialID070310