4.13.5. Automatic operations performed by a project

A RealView Debugger project enables various operations to be performed automatically. To enable these operations to be performed automatically, RealView Debugger associates the project with a connection using a mechanism called binding. However, RealView Debugger only binds a project to a connection in the following circumstances:

If you are working with multiple projects, there are specific rules that RealView Debugger uses to determine which project to bind to a connection. This might involve displaying a prompt to which you must respond.

If you do not restrict image loading to a specific device (see Table 4.4), then the binding mechanism is called default binding.

In addition to invoking these automatic operations, project binding has other effects when you are working with projects. See the chapter on managing projects in the RealView Developer Kit v2.2 Debugger User Guide for full details on project binding.

Setting up the automatic operations for a project

You set up the operations in the Project Properties (see Project properties). Table 4.5 lists these operations and shows you where to find the information to implement them.

Table 4.5. Project-related operations

OperationReference

Load the image associated with a project, if it exists.

See the description of the Open_load setting in the RealView Developer Kit v2.2 Debugger User Guide

Set the initial load state of the image, which is one of:

  • register image name only

  • load symbols and image

  • load symbols only.

See the description of the Open_load setting in the RealView Developer Kit v2.2 Debugger User Guide

Set any image-related controls. For example, set the program counter (PC) to the image entry point.

See the descriptions of the settings in the Image_load group in the RealView Developer Kit v2.2 Debugger User Guide

Set various runtime controls, such as top of memory, and command-line arguments if the image accepts these.

See the descriptions of the settings in the Runtime_Control group in the RealView Developer Kit v2.2 Debugger User Guide

Set one or more predefined breakpoints.

See the descriptions of the settings in the Auto_Set_Breaks and Named_Breaks groups in the RealView Developer Kit v2.2 Debugger User Guide

Run one or more RealView Debugger CLI commands.

See the descriptions of the settings in the Command_Open_Close group in the RealView Developer Kit v2.2 Debugger User Guide

Copyright © 2005, 2006 ARM Limited. All rights reserved.ARM DUI 0276B
Non-Confidential