Download EDK Reference Manual
Transcript
Chapter 10: Xilinx Microprocessor Debugger (XMD)
Program Control Options
Table 10-18:
Figure X-Ref Target - Figure 10-5
Program Control Options
Option
Description
xbreakpoint <target id>
{addr | function name} {sw | hw}
Sets a breakpoint at the given address or start of function.
xcontinue <target id> [<Execute Start
Address>] [-block]
Continues from current PC or optionally specified
<Execute Start Address>.
Note: Breakpoints on instructions immediately following
an IMM instruction can lead to undefined results for an
XMDStub target.
If -block option is specified, the command returns when
the Processor stops on breakpoint or watchpoint. The
-block option is useful in scripting.
xcycle_step <target id> [cycles]
Cycle steps through one clock cycle of PowerPC processor
ISS. If cycles is specified, then step cycles number of
clock cycles.a
xlist <target id>
Lists all of the breakpoint addresses.
xremove <target id>
{<addr> | <function name> | <bp id> | all}
Removes one or more breakpoints or watchpoints.
xreset <target id> [reset type]
Resets target. Optionally, provide target-specific reset
types such as the signals mentioned in Table 10-19 on
page 167.
xrun <target id>
Runs program from the program start address.
xstate <target id>
Returns the processor target state; running or stopped.
xstep <target id>
Single steps one MicroBlaze instruction. If the PC is at an
IMM instruction, the next instruction also runs. During a
single step, interrupts are disabled by keeping the BIP flag
set. Use xcontinue with breakpoints to enable interrupts
while debugging.
xstop <target id>
Stops the program execution.
xwatch <target id> {r | w} <address>
[<data value>]
Sets read/write watchpoints at a given <address> and,
optionally, check for <data value>. If <data value> is
not specified, watchpoints match any value. The address
and value can be specified in hex or binary format.
a.This command is for Simulator targets only.
166
www.xilinx.com
Embedded System Tools Reference Manual
UG111 July 6, 2011