advance

This command sets a temporary breakpoint and calls the debugger continue command. The temporary breakpoint is subsequently deleted when it is hit.

Note

Control is returned as soon as the target is running. You can use the wait command to block the debugger from returning control until either the application completes or a breakpoint is hit.

Show/hideSyntax

advance [-p] [filename:]location | *address

Where:

p

Specifies whether or not the resolution of an unrecognized breakpoint location results in a pending breakpoint being created.

filename

Specifies the file.

location

Specifies the location:

line_num

is a line number

function

is a function name.

label

is a label name.

+offset | -offset

Specifies the line offset from the current location.

address

Specifies the address. This can be either an address or an expression that evaluates to an address.

Show/hideExample

Example 7. advance

advance func1        # Sets a temporary breakpoint at func1 and continues
                     # running the target
advance -p lib.c:20  # Sets a pendable temporary breakpoint at line 20 in lib.c
                     # and continues running the target

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0452I
Non-ConfidentialID022212