A-42
Cisco Broadband Cable Command Reference Guide
OL-1581-07
Appendix A Using the ROM Monitor
stack
stack
To display a stack trace, use the
stack
command in ROM monitor mode.
stack
[
number
]
Syntax Description
Defaults
Displays 5 stack frames
Command Modes
ROM monitor
Command History
Usage Guidelines
The
stack
command displays a stack trace of the most recently booted software image. This trace
includes the value of the program counter and the selected number of frames from the kernel stack and
process stack (if available) from that software image.
Tip
To display details for an individual frame stack, use the
frame
command.
Examples
The following example shows how to display a stack trace with 6 frames:
rommon 5 >
stack 6
Stack trace:
PC = 0x02004adc
Frame 00: FP = 0x02003938 RA = 0x02005f2a
Frame 01: FP = 0x02003948 RA = 0x02005df0
Frame 02: FP = 0x02003960 RA = 0x020050ee
Frame 03: FP = 0x02003994 RA = 0x02004034
Frame 04: FP = 0x02003b00 RA = 0x00012ca6
Frame 04: FP = 0x02003b34 RA = 0x020a703c
rommon 6 >
number
(Optional) Number of stack frames to display. The default is 5 frames.
Release
Modification
11.3 NA
This command was introduced on Cisco uBR7200 series routers.
12.1(5)EC
Support was added for Cisco uBR7100 series routers.
12.2(4)BC1
Support was added for the Cisco uBR10012 router. Changes were also made
to the boot procedure after breaking into ROMMON to ensure that all
hardware and software registers are in a known state before loading the new
image.