SourcePoint AMD Help

Table of Contents

Control Variables

Control variables are predefined debug variables that are always defined in the SourcePoint Command language. ย 

Examples

base ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย // display the base control variable

base=10t ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย // set the display base to decimal

define ord4 svbase=base ย ย ย ย ย ย ย // save the current display base

Control variable names are case insensitive. ย Following is a list of control variables, and their attributes.

Control variable

Type

Read/Write

Options

Default

advanced

bool

rw

true, false

true

asmmode

int2

rw

use16, use32

use16

base

int2

rw

bin, dec, oct, & hex

hex

breakall

bool

rw

true, false

false

cachememory

bool

rw

true, false

false

defaultpath

nstring

rw

n/a

n/a

displayflag

bool

rw

true, false

false

editor

nstring

rw

editor filepath

"notepad.exe"

execution point ($)

ptr

rw

(address)

n/a

first_jtag_device

ord4

r

n/a

n/a

homepath

nstring

r

n/a

n/a

isem64t

bool

r

true, false

n/a

isrunning

bool

r

true, false

n/a

issleeping

bool

r

true, false

n/a

issmm

bool

r

true, false

n/a

last_jtag_device

ord4

r

n/a

n/a

macropath

nstring

r

n/a

n/a

num_activeprocessors

ord4

r

n/a

n/a

num_devices

ord4

r

n/a

n/a

num_jtag_devices

ord4

r

n/a

n/a

num_processors

ord4

r

n/a

n/a

processorcontrol

int2

rw

0 - 2n - 1

2n - 1

processors

int2

r

1...n

n/a

projectpath

nstring

r

n/a

n/a

safemode

bool

rw

true, false

false

tabs

int2

rw

1-8

4

targpower

bool

r

true, false

n/a

targstatus

nstring

r

n/a

n/a

tck

nstring

rw

varies

varies

use

int2

rw

use16, use32

use16

verify

bool

rw

true, false

false

viewpoint (view)

int2

rw

p0...pn

p0

vpalias

nstring

rw

n/a

n/a

yieldflag

bool

rw

true, false

false

n = number of processors in system

ย