beautypg.com

AMD SimNow Simulator 4.4.4 User Manual

Page 161

background image

AMD Confidential

User Manual

September 12

th

, 2008

Chapter 10: CPU Debugger

149

Debugger Command

Definition

bm

[r | w]

count> [v[b|w|d] ]

Creates and enables a breakpoint for the
indicated memory address. Sets the pass count
to [count], or 0 if not specified. Defaults to read
or write, but can be set to read-only or write-
only using the [r] or [w] options. [v] enables the
data check capability for [b]yte, [w]ord,
or [d]ouble word memory accesses. For
example, “bm 1000 w vb c0” stands for break
when byte 0xC0 is written to memory address
0x1000.

bs

Creates and enables a breakpoint for the
indicated software interrupt vector. Sets the
pass count to [count], or 0 if not specified.

bx

Creates and enables a breakpoint for the
indicated code fetch address. Sets the pass
count to [count], or 0 if not specified. Sets the
pass count to [count], or 0 if not specified.

c[r|w]

[data]

Performs a PCI configuration [r]ead or [w]rite.

d[b|w|d|q]

range>[,[l|p]

Displays the contents of [p]hysical (default) or
[l]inear memory as [b]ytes, [w]ords, [d]ouble
words, or [q]uad words, or in the previous
format if not specified.

e[b|w|d|q]

...>[,[l|p]

Allows the modification of [p]hysical (default)
or [l]inear memory, in [b]ytes, [w]ords,
[d]ouble words, or [q]uad words, or in the
previous format, if not specified. Data values
are entered immediately after the address,
separated by spaces.

f[b|w|d|q]

[,[l|p]

Fills the given [p]hysical (default) or [l]inear
memory-range with the indicated value.

g [address]

Begins or will resume CPU execution, setting a
temporary execution breakpoint on the given
address.

h [on | off | clear |

]

Controls history-trace collection. [ON] enables
trace collection and clears the current trace
buffer; [OFF] disables trace collection, and
[CLEAR] clears the current trace buffer.
Specifying

no

arguments,

or

a

value,

disassembles

the

most

recent

instructions executed.

i[b|w|d]

Input a [b]yte, [w]ord, or [d]ouble word from
the indicated port.

o[b|w|d]

Output a [b]yte, [w]ord, or [d]ouble word to the
indicated port.