6.6.68. setwatchprops

The setwatchprops command enables you to set watchpoint properties. The watchpoint must already exist. Issue the command once for each watchpoint property to be set.

The shorthand form of the setwatchprops command is swp.

Syntax

swp watchpoint propid value

where:

watchpoint

Identifies the watchpoint that is to have a property set.

propid

Identifies the property to be set. You can identify a watchpoint property by its name, as shown in Table 6.3.

Table 6.3. Watchpoint properties

Property nameType
stateFlag (enable or disable)
processorProcessor
conditionString or value
log_textString
valueValue
break_sizeASM
watch_sizeInteger
countInteger

Specify the name exactly as shown in the table, using lowercase characters.

value

Specifies the setting you want the property to have. Each property takes its own type of setting as shown in the table.

Examples

swp #3 state enable

Enables watchpoint number 3.

swp #2 value 17

Set the value that is watched for by watchpoint number 2 to 17.

swp #2 watch_size 32

Force the size of watchpoint number 2 to 32 bits.

Copyright © 1999-2004 ARM Limited. All rights reserved.ARM DUI 0066F
Non-Confidential