SourcePoint AMD Help

Table of Contents

cpubreak, cpuremove, cpudisable, cpuenable

Set, clear, display, enable and disable processor breakpoints.

Syntax

cpubreak

cpubreak = [sts,] type [, name] [, processor-spec]

ย 

cpuremove [all]

cpuremove = {type | proc} [ ,... ]

ย 

cpuenable = {type | name | proc} [ ,... ]

ย 

ย 

cpudisable [all]

cpudisable = {type | proc} [ ,... ]

Where:

sts

{ e[nabled] | d[isabled] }

proc

p[rocessor] = { P0 | P1 | P2 | ... }

type

{smm entry | smm exit | power cycle | machine check}

name

n[ame] = breakpoint name

Discussion

The cpubreak command sets and displays processor breaks. Cpubreak with no arguments displays a list of the current processor breakpoints.

The cpuremove command removes any or all of the processor breaks. Arguments to this command qualify which processor breakpoints are to be removed. For instance, cpuremove = p=P0 removes all processor breakpoints associated with processor 0. Cpuremove with no arguments removes all processor breakpoints.

The cpuenable command selectively enables processor breakpoints. Arguments to this command qualify which processor breakpoints are to be affected. For instance, cpuenable = p=P1 enables only processor breakpoints associated with processor 1.

The cpudisable command selectively disables processor breakpoints. Arguments to this command qualify which processor breakpoints are to be affected. For instance, cpudisable = smm entry, disables only processor breakpoints with the type set to smm entry. If no arguments are specified, all processor breakpoints are disabled.

Processor breakpoints can also be set, displayed, etc. from the Breakpoints Window.

Examples

To display all processor breaks:

cpubreak

To break when a processor enters smm:

cpubreak = smm entry

To break when processor 1 exits smm:

cpubreak = smm exit, p=P1

To remove all processor breaks:

cpuremove

To remove the smm entry catch break:

cpuremove = smm entry

To remove all breaks associated with processor 1:

cpuremove = p=P1

To disable all processor breaks:

cpudisable

Related Topics: