[debug] System debugger commands

Use [debug] commands to debug a TX board-based task. To use [debug], download the debug task (debug.elf) to the board. By default, debug.elf is commented out in the ss7load script. Uncomment the line and run the modified ss7load to boot the board and download the task.

The following table lists the [debug] commands:

[debug] commands

Description

asm

Displays area indicated as PowerPC ASM instructions.

break

Sets a breakpoint at the indicated symbol location or address.

breaks

Lists all of the currently defined breakpoints for the selected task.

clear

Removes a breakpoint at the indicated symbol location or address.

clearall

Removes all breakpoints for a particular task.

clrmon

Clears the selected area for monitoring.

dstack

Dumps the stack of the currently selected task as raw hexadecimal data.

info

Displays information about the debug session.

kdstack

Dumps the kernel stack as raw hexadecimal data.

kregs

Displays the kernel registers.

kstack

Dumps the kernel call stack.

ksym

Displays kernel symbol information.

mon

Monitors the indicated area for changes.

regs

Displays registers for the currently selected task or live registers.

regset

Sets the given register to the specified value.

run

Runs the currently selected task.

stack

Dumps the selected task call stack.

s

Steps through the currently selected task (default is step over).

si

Steps into every instruction.

stop

Stops the currently selected task.

sym

Displays symbol information (name, address).

symset

Sets the value of memory at the symbol location indicated.

symshow

Displays the value of memory at the symbol location indicated.

task

Sets the current debug task.