clear

This command deletes a breakpoint at a specific location.

Show/hideSyntax

clear [ [filename:]location | *address]

Where:

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.

If no arguments are specified then the breakpoint at the current PC is deleted.

Show/hideExample

Example 13. clear

clear *0x8000        # Clear breakpoint at address 0x8000
clear main           # Clear breakpoint at address of main()
clear SVC_Handler    # Clear breakpoint at address of label SVC_Handler
clear +1             # Clear breakpoint at address of next source line
clear my_File.c:main # Clear breakpoint at address of main() in my_File.c
clear my_File.c:10   # Clear breakpoint at address of line 10 in my_File.c

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0452D
Non-ConfidentialID011411